I've been looking at various sources, and from my understanding the whole 64kB physical memory space is seen as RAM, except for the top 1kB which by default contains the system ROM, MMIO, etc. So to make use of the code/data on your cart I guess you'll first have to load it into RAM through the RCART registers(?).
That's fine I suppose, but I don't see how my code in an .LNX files actually starts running at boot. When I look at a disassembled system ROM (lynxboot.img) I only see it loading 50 bytes from the cart to $AA-$DB, and when I take a look at what those 50 bytes actually are in e.g. Lynxopoly they don't seem to contain anything meaningful (unless the data is encrypted).
Ok. So is the encrypted loader standard? I.e. could I just take the first 256 bytes after the LNX header from whatever game and put it in my own ROM? And is there a disassembly of a decrypted loader somewhere that I could look at?
It is a bare minimum boot loader that doesn't use a complicated file system or anything. It just sets a few registers and then loads a secondary loader that is more complex. The micro loader just gets you past the decryption step with minimal work.
HLAKit is still a work in progress and not usable but I link to it here because the full source code for my latest micro loader and secondary loader can be found in the examples/6502/lynx directory in the source repo. The source files contain verbose comments that explain everything that the code does and how the boot process works.
I'm currently consolidating all of my old Lynx files onto one computer (right now it is spread to 4 different computers) and I'd like to get everything all together and write myself a 'how-to guide' so I can quit forgetting how I did this stuff in the past.
this works only for roms where the directory starts after 410. this might not be the case for all roms, esp if you have protos, as epyx changed the position of the directory from 512 to 410 at some point.
for the second solution you would need to call a few programs after each other. i have script for that, but i do not want to put this to public as it depends on a few things where the licence is not clear.
I put the bios file (lynxboot.img) both in the rom folder and in the emulator folder. I put it also in the firmware folder But i continue to have this strange issue. I'm not able to run evey game... Can you help me?
I've switched from Handy to Mednafen until things ran too fast on my projector setup. I switched to MAME, and some games work better both on and off projector while some cause MAME to freeze up. Like all versions of Pinball Jam are so buggy through MAME to where the ball leaves the table and floats off into a black void and freezes up to a pink and purple static on some versions. Seems also on MAME some Prototypes refuse to work through it as well. Like I guess when it comes to the whole Lynx collection you may have to use various Emulators for each title and hope they all work out. I'm noticing about the same when I made to switch with Atari 7800 from ProSystem to MAME where some games are better and some end up buggier than before.
Is there a game on your desktop called Chip's Challenge (USA, Europe)? Because that's where Hyperspin is looking for it. Also, I find it odd the game has .zip and .ips extensions. Which is it supposed to be? And which extension did you put in HyperHQ?
lynxboot.img is in the firmware folder and mednafen launches games from the command line fine without unzipping the roms. Mednafen version is 0.9.36.5. Module version is 2.0.9. TurboGrafx 16 is setup to use Mednafen and works fine through HyperLaunch.
b37509886e