peterw8102 / Z80-Retro

Tools and code snippets I'm playing with while building my own Z80 SBC
MIT License
15 stars 3 forks source link

Fuzix on the Z80 Retro #5

Open EtchedPixels opened 1 year ago

EtchedPixels commented 1 year ago

So I wrote an emulator for the machine and then I ported Fuzix to it. Not tried it on a real board yet.

https://github.com/EtchedPixels/EmulatorKit as z80retro

At the moment it boots from ROM because the current ROM arrangement is incompatible with a PC style partition table as Fuzix wants. Might be worth thinking about shrinking the table of 32 byte boot entries and checksum so it fits in the 380 bytes allowed before the partition data ?

peterw8102 commented 1 year ago

Thank you! Fuzix was something I really wanted to get running. I'm also quite interested in the emulated version of the system.

I can look into the the boot table size. It's only set to that size so that it uses a complete 512 SDCard sector, there's no practical reason it needs to be that big.

Would another option to be to have Fuzix boot from the second SDCard?

EtchedPixels commented 1 year ago

It might be. Fuzix basically wants to see PC style partitioning. It doesn't have to but it makes it much easier if as many systems as possible expect the same disk layout except for booting.

peterw8102 commented 1 year ago

I've changed the boot menu structure a little and it now uses the first 370 bytes on the SDCard. That's in the new release (2.0.1), which is quite a restructure. I'm assuming Fuzix is standalone though and just needs to be loaded?

EtchedPixels commented 1 year ago

Will take a look see what tweaks I need to get it to boot on the 2.0 change

Yes Fuzix basically just needs to be loaded.

EtchedPixels commented 1 year ago

Not gotten around to this one yet but I took a slight detour and ROMWBW dev branch should now work on the Retro - need to sort my board back out to do a final check I got things like the uart baud rates correct

peterw8102 commented 11 months ago

Not sure how to contact you @EtchedPixels - I've been playing around with your emulator (https://github.com/EtchedPixels/EmulatorKit), specifically the emulation of my system. It's great, really useful. I've found a couple of bugs in my own code using it. Are you open to pull requests for improvements? So far I've:

EtchedPixels commented 11 months ago

I'd e delighted to receive patches