Autor
| 'international' turbo r bios
|
Philip msx novice Mensajes: 24 | Publicado: Mayo 31 2004, 17:08   |
I have been busy to create a international msx turbo r bios. This isn't very usefull on a real turbo r, but I think it is for emulation.
I already changed the font and the keyboard layout, but now it is time for stuff like graph and code keys.
Before I start disassembling the entire bios, perhaps somebody has some pointers on how this works ? Perhaps there is some magic poke or something ?
Or perhaps somebody already made a international bios ?
Any pointers are welcome !
|
|
NYYRIKKI online msx master Mensajes: 1534 | Publicado: Mayo 31 2004, 18:13   |
This might be usefull also in real MSX tR, if you change CHCPU routine so, that Z80 ROM mode is Z80 DRAM and R800 ROM is R800 DRAM mode. You can do that by using following routine:
CALL #183
PUSH AF
LD A,1
CALL #180
LD A,#FC
OUT (#FE),A
LD HL,#2020
LD (#84E3),HL
LD HL,0
LD (#84E5),HL
LD (#84E7),HL
XOR A
LD (#84B3),A
OUT (#FE),A
LD A,2
CALL #180
POP AF
CALL #180
What comes to the actual question, I've done Finnish keyboard driver for A1ST. It anyway worked so, that you could use KANA to switch between original and Finnish keyboard.
In A1ST you can use free space in #1A31 for additional code. In A1GT this space contains MIDI interrupt handler. (If I remember correctly the font was right after this free space)
I just checked the routine and it seems to links it self to address: #E58 It also updates font tables in #1BBF and #101D At end it refreshes the screen font by using routine in #717
If you want to localize your BIOS, you can probably disassemble some other ROM and rip ready made code, but note, that all the keys may not be physically in same place.
To take a look at your BIOS, I recommend you to use SUPER-X. It is simply the best MSX program for this purpose.
~NYYRIKKI
|
|
NYYRIKKI online msx master Mensajes: 1534 | Publicado: Mayo 31 2004, 18:22   |
Quote:
|
Perhaps there is some magic poke or something ?
|
Oh, I forgot... Actually there is one related trick for MSX1 and up. You can change font by defining new address of font in following way:
#F91F (B) Font SlotID
#F920 (W) Font address
... font changes after next SCREEN command.
~NYYRIKKI
|
|
flyguille msx master Mensajes: 1237 | Publicado: Mayo 31 2004, 20:33   |
don't forgot the DEAD key, when you made the keyboard routines...
and the CTRL+A plus a letter, on the CRT printing chrs routines...
|
|
Philip msx novice Mensajes: 24 | Publicado: Mayo 31 2004, 21:02   |
Nyyrikki, do you still have the english manual for super-x ?
|
|
NYYRIKKI online msx master Mensajes: 1534 | Publicado: Junio 01 2004, 12:27   |
Quote:
| Nyyrikki, do you still have the english manual for super-x ?
|
Yes, send me a mail, and I'll send it to you. |
|
Philip msx novice Mensajes: 24 | Publicado: Junio 01 2004, 12:33   |
It looks like I figured it all out.
I just copied the following from my vg8325 rom:
#002B - #002C Landcode etc.
#0D89 - #1101 Keyboard routines and layout tables
#1BBF - #23BE Font
#1B96 - 1BAA Some keyboard routine lookup table which I moved to #1A85
And I changed the routine on #1021 so it looks at the moved table on #1A85
For those who want to try it out, you can download it (in openMSX format) here:
www.xs4all.nl/~phoeven/msx/fs-a1gt_firmware_int.zip
|
|
Latok msx master Mensajes: 1735 | Publicado: Junio 01 2004, 13:02   |
Philip, please check the link? It doesn't work here  |
|
Philip msx novice Mensajes: 24 | Publicado: Junio 01 2004, 13:59   |
Didn't work here either. I hope the rom works better ;-)
Anyway, fixed the permissions, please try again.
|
|
Latok msx master Mensajes: 1735 | Publicado: Junio 01 2004, 14:04   |
Cheers  |
|
Philip msx novice Mensajes: 24 | Publicado: Junio 01 2004, 15:17   |
|
|
BiFi msx guru Mensajes: 3142 | Publicado: Junio 03 2004, 13:08   |
I suggest you release a patch for the ROM image in stead of the full one.
|
|
BiFi msx guru Mensajes: 3142 | Publicado: Junio 03 2004, 17:10   |
I wonder if you have corrected the PRINT USING too.
|
|
BiFi msx guru Mensajes: 3142 | Publicado: Junio 03 2004, 17:37   |
It uses a different character for one of the format methods...
|
|
Philip msx novice Mensajes: 24 | Publicado: Junio 03 2004, 18:03   |
Originally I was thinking about making a patch, mainly for legal reasons.
But since I copied the code from a rom that is just as legal as the turbo r rom, I figured it didn't matter anymore.
I just looked at the print using. &, $$ and **$ don't work correctly yet.
Lets see if I can fix that.
|
|
|
|
|