mgkaiser wrote: ↑Mon Mar 17, 2025 8:18 pm
Is there an emulator?
The current X16 emulator emulates the Dev board, including the Wavetable MIDI chip.
The emulator will need to be updated to include the GS features: flat memory mapping, FPGA commands, and ESP32 networking.
I'm working on extending the emulator. I am assuming the first 64k remains exactly the same and that it uses the exact same ROM as it currently does. Until some announcements are made about how the upper 16MB will be useful I'm simply ignoring it. I am not trying to emulate the new sound chip yet. I am just extending the 65816 emulation to be able to use the entire 16MB address space.
I hope that a means of mapping the extra ram into the "ROM" address space will be announced, but until it is, the emulator already supports emulating cartridges with RAM on them so I can use that for now. I expect we will eventually be able to take the upper RAM and replace the ROM or map it into the "cartridge" space and flip the mapped pages using $01 as if it were an add on board. Bonus points if pages can be selectively RW or RO.
mgkaiser wrote: ↑Mon Mar 17, 2025 8:18 pm
Is there an emulator?
The current X16 emulator emulates the Dev board, including the Wavetable MIDI chip.
The emulator will need to be updated to include the GS features: flat memory mapping, FPGA commands, and ESP32 networking.
I'm working on extending the emulator. I am assuming the first 64k remains exactly the same and that it uses the exact same ROM as it currently does. Until some announcements are made about how the upper 16MB will be useful I'm simply ignoring it. I am not trying to emulate the new sound chip yet. I am just extending the 65816 emulation to be able to use the entire 16MB address space.
I hope that a means of mapping the extra ram into the "ROM" address space will be announced, but until it is, the emulator already supports emulating cartridges with RAM on them so I can use that for now. I expect we will eventually be able to take the upper RAM and replace the ROM or map it into the "cartridge" space and flip the mapped pages using $01 as if it were an add on board. Bonus points if pages can be selectively RW or RO.
You will want to coordinate with @Fulgen and @MooingLemur on Discord. ML is the official emulator developer, and @Fulgen did a lot of work on the 65C816 code.
The current X16 emulator emulates the Dev board, including the Wavetable MIDI chip.
The emulator will need to be updated to include the GS features: flat memory mapping, FPGA commands, and ESP32 networking.
I'm working on extending the emulator. I am assuming the first 64k remains exactly the same and that it uses the exact same ROM as it currently does. Until some announcements are made about how the upper 16MB will be useful I'm simply ignoring it. I am not trying to emulate the new sound chip yet. I am just extending the 65816 emulation to be able to use the entire 16MB address space.
I hope that a means of mapping the extra ram into the "ROM" address space will be announced, but until it is, the emulator already supports emulating cartridges with RAM on them so I can use that for now. I expect we will eventually be able to take the upper RAM and replace the ROM or map it into the "cartridge" space and flip the mapped pages using $01 as if it were an add on board. Bonus points if pages can be selectively RW or RO.
You will want to coordinate with @Fulgen and @MooingLemur on Discord. ML is the official emulator developer, and @Fulgen did a lot of work on the 65C816 code.
I forked the repo and made the changes. I'm not 100% done with writing unit tests, but so far it looks solid. I don't currently have discord but will reach out the the guys there for guidance and to see if they like the work: https://github.com/mgkaiser/x16-emulator
mgkaiser wrote: ↑Fri Mar 21, 2025 1:15 am
I forked the repo and made the changes. I'm not 100% done with writing unit tests, but so far it looks solid. I don't currently have discord but will reach out the the guys there for guidance and to see if they like the work: https://github.com/mgkaiser/x16-emulator
The good news is, you can just run in the browser, if you don't want to use the app. I'll point them here, too.
(Actually, I'm going to fork this thread off to a new topic, so everyone can stay up to date. Thanks!)