Permalink
Browse files

v1.0

  • Loading branch information...
jkotlinski committed Sep 13, 2013
0 parents commit 50142a375c25ad22d4b318b650c126c5baacce0d
Showing with 1,304 additions and 0 deletions.
  1. +7 −0 .hgignore
  2. +2 −0 META-INF/MANIFEST.MF
  3. +46 −0 changelog.txt
  4. +5 −0 make.sh
  5. +43 −0 src/CharConv.java
  6. +483 −0 src/Frame.java
  7. +56 −0 src/LSDManager.java
  8. +542 −0 src/LSDSavFile.java
  9. +60 −0 src/LsdSngFilter.java
  10. +60 −0 src/SAVFilter.java
@@ -0,0 +1,7 @@
syntax: glob
*.jar
*.class
tags
*~
*.orig
.DS_Store
@@ -0,0 +1,2 @@
Manifest-Version: 1.0
Main-Class: com.littlesounddj.lsdmanager.LSDManager
@@ -0,0 +1,46 @@
0.1a: initial

0.2a

* added: export work memory to 32kByte v2 .sav

0.3a

* made file mem usage indicator more understandable
* fixed bug with "Add .lsdsng..." button
* replaced showOpenDialog with showSaveDialog where appropriate

0.4a

* fixed bug when adding .lsdsng 's...

2006-12-19: v0.5

* bugfix in .lsdsng export

2007-02-01: v0.6

* Another bugfix for .lsdsng add. Thanx Rabato!

2007-02-03: v0.7

* Fix for Japanese white Nintendo Power cartridges. Thanx Xinon!

2011-04-03: v0.8

* LSD-Manager will now try to open v3 .sav files even if they are smaller than
128kB. This may be necessary since some emulators/backup devices seem to
truncate the .sav files if there is unused space at the end...

2012-01-09: v0.9

* Added checks so that it is only possible to "clear slot" or "export .lsdsng"
when a song is selected.

2013-09-13: v1.0

* A number of improvements done by Craphazzard:
- remember directories from last run
- import + export multiple songs in one go
- native look & feel
* Tidy up song list
@@ -0,0 +1,5 @@
javac -Xlint:unchecked src/*.java
mkdir -p com/littlesounddj/lsdmanager
mv src/*.class com/littlesounddj/lsdmanager
jar -cfm lsdmanager.jar META-INF/MANIFEST.MF com/littlesounddj/lsdmanager/*.class
rm -r com
@@ -0,0 +1,43 @@
/** Copyright (c) 2005-2011, Johan Kotlinski
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. */

package com.littlesounddj.lsdmanager;

public class CharConv
{
static int convertLsdCharToAscii ( int a_char )
{
if ( a_char >= 65 && a_char <= (65+25) )
{
//char
return 'A' + a_char - 65;
}
if ( a_char >= 48 && a_char < 58 )
{
//decimal number
return '0' + a_char - 48;
}
if ( 0 == a_char )
{
return 0;
}
return ' ';
}
}
Oops, something went wrong.

0 comments on commit 50142a3

Please sign in to comment.