Turbo Everdrive UI program - anybody got a disassembly ? Feb 14, 2019 6:07:33 GMT
Post by elmer on Feb 14, 2019 6:07:33 GMT
I now have the following:
- font location (offset $0179-$0478)
- text constants/display messages (roughly offset $5C8D - $5F5A)
- bios.s (offset $7C00 onward)
- joypad read function, and some clues about where/how it is used - note, the nybbles are reversed compared to how the system card stores/accesses them.
Cool stuff, excellent!
I *really* hope that you'll find and document the USB communication sequence with KRIKzz's "turbo-usb2.exe" downloader program so that we can recreate-or-rewrite it in any new TED OS, and make the downloader available on platforms other than Windows.
Yep, when I really started looking at CC65's code-generation, I was pretty horrified.
Given that both CC65 and HuC started off with Ron Cain's Small C source, the CC65 developers have done a lot more work on ANSI standards-compliance than is in HuC, and they have done a lot more work on their code-sequence-optimization pass too, but their basic code-generation scheme itself is ugly.
IMHO, HuC is a lot more elegant in its foundation design, and you guys put some really smart stuff in there.
That's why I abandoned CC65 and started working on improving HuC instead.
I've had some success with my own TED2 code.
I can now parse the FAT32 directory structure, and handle long filenames.
Here's the code running on a CoreGrafx and reading the root directory of my SD card, showing each of the volume/directory/file entries, together with their associated long filenames.
It's still some way in the distance, but its not too horribly far from here to actually being able to select and run cartridge images.