So, I built my own MSX...
category: general [glöplog]
Well, sort of. The MSX was never big here in the US, but I've built my own homebrew Z80 computer with a TMS9918A and YM2149, and it runs Bold (almost) unmodified. The only change to the code was to swap the YM2149 address and data ports since my sound card has them backwards.
Check out my project for pictures and more details.
Check out my project for pictures and more details.
Cool!
Nice! Just one thought on the sound port stuff though. What about just changing the out (c), a to out (0xa8), a? Those instructions are both two bytes. It makes the whole code both smaller and faster.
Code:
ld c, #0xa0
ld hl, #0x07f9
loop:
out (0xa8), a
outi
inc a
cp #0x0d
jr nz, loop
out (0xa8), a
ld a, (hl)
and a
ret m
out (c), a
ret
awesome. so this is built around an rc2014 and you made tm and ym boards for it?
thumb up
neon: good idea... that didn't occur to me. I will give it a try.
evilpaul: yes it's an RC2014. I designed and manufactured the TMS board myself. The YM board is by Ed Brindley (https://github.com/electrified/rc2014-ym2149). I'm considering making my own revision though that will support MSX port mappings.
I'm also using the z80ctrl board I designed (https://hackaday.io/project/158338-z80ctrl), which is an AVR-based bootloader that replaces the compact flash, ROM, clock, and Serial boards in a standard RC2014. It emulates an Altair floppy drive using an SD card and provides single-step debugging and bus monitoring, and memory examination among other things. It's compatible with unmodified Altair CP/M disks as well as disk images from the SIMH emulation project.
For Bold, I didn't actually get MSX-DOS running; I just extracted the COM files from the disk image and loaded them directly into memory using my z80ctrl board.
evilpaul: yes it's an RC2014. I designed and manufactured the TMS board myself. The YM board is by Ed Brindley (https://github.com/electrified/rc2014-ym2149). I'm considering making my own revision though that will support MSX port mappings.
I'm also using the z80ctrl board I designed (https://hackaday.io/project/158338-z80ctrl), which is an AVR-based bootloader that replaces the compact flash, ROM, clock, and Serial boards in a standard RC2014. It emulates an Altair floppy drive using an SD card and provides single-step debugging and bus monitoring, and memory examination among other things. It's compatible with unmodified Altair CP/M disks as well as disk images from the SIMH emulation project.
For Bold, I didn't actually get MSX-DOS running; I just extracted the COM files from the disk image and loaded them directly into memory using my z80ctrl board.
I just love it that you connected it to a Commodore 1702 monitor. Commodore rules over MSX anyday and today again. ;)
lol nice!
Great!
neon: I confirmed that out (addr),a works. Now I can get rid of the jumper wire. Thanks for the suggestion. I had it in my head that out (c),a was a 1 byte instruction. Didn’t realize it was an extension.