5 This will be rather exciting when I do get to native code generation. I can
6 potentially target this TI89 Titanium I have, which I obtained for 20 USD from
7 a garage sale. It has a m68k processor, so that means I can easily target
8 older m68k Palm PDAs along with this calculator and have similar code
9 generation. I could also potentially target m68k Macs, although I am not too
10 sure of that one since I do not have such devices. There are also Amiga based
11 m68k systems too, which I also do not have. There are however emulators for
12 such systems however, so I suppose that will have to be good enough.
16 Ok, so the main thing I must figure out is how to actually read ZIP files.
17 There is an offset to the start of the central directory, however it is a bit
18 off. I suppose I can figure something out how to handle the offset. The main
19 confusion is the central directory and file headers. I suppose the central
20 directory points to file headers based on reading the specification.
24 I should allow delegation for the Main-Class so that if a package lacks it but
25 a dependency has a main, then that can be used instead.
29 And with these tests that I have, it should be far easier to determine if my
30 interpreter is working correctly by having actual tests instead of just running
31 hairball as the interpreter test. In the future, these tests can be used to
32 make sure that the target compiled code works correctly. Then in another
33 future it can be used to test if the Java compiler generates code correctly.
37 I suppose for a graphical GUI a PalmOS like interface could work out well. One
38 that is a mix of PalmOS and Mac OS. The list of applications could essentially
39 just be a set of icons that could be launched for example in the virtual
44 I suppose for ZIP files since I currently see that I am going to rather
45 duplicated code between the 32-bit and 64-bit format. I would like it so that
46 I can completely drop the directory table when it is not used (i.e. a weak
47 reference) and then initialize it again as required. And one thing I just
48 noticed is that Java ME has `WeakHashMap`.