trunk/src/mess/drivers/trs80.c
| r242625 | r242626 | |
| 5 | 5 | |
| 6 | 6 | 0000-2fff ROM R D0-D7 |
| 7 | 7 | 3000-37ff ROM on Model III R D0-D7 |
| 8 | | unused on Model I |
| 8 | unused on Model I |
| 9 | 9 | 37de UART status R/W D0-D7 |
| 10 | 10 | 37df UART data R/W D0-D7 |
| 11 | 11 | 37e0 interrupt latch address (lnw80 = for the realtime clock) |
| r242625 | r242626 | |
| 16 | 16 | 37e5 select disk drive 2 W |
| 17 | 17 | 37e7 select disk drive 3 W |
| 18 | 18 | 37e0-37e3 floppy motor W D0-D3 |
| 19 | | or floppy head select W D3 |
| 19 | or floppy head select W D3 |
| 20 | 20 | 37e8 send a byte to printer W D0-D7 |
| 21 | 21 | 37e8 read printer status R D7 |
| 22 | 22 | 37ec-37ef FDC WD179x R/W D0-D7 |
| r242625 | r242626 | |
| 42 | 42 | Due to the above, the only working emulated UART is for the Model 3. |
| 43 | 43 | |
| 44 | 44 | Cassette baud rates: Model I level I - 250 baud |
| 45 | | Model I level II and all clones - 500 baud |
| 46 | | Model III/4 - 500 and 1500 baud selectable at boot time |
| 47 | | - When it says "Cass?" press L for 500 baud, or Enter otherwise. |
| 48 | | LNW-80 - 500 baud @1.77MHz and 1000 baud @4MHz. |
| 45 | Model I level II and all clones - 500 baud |
| 46 | Model III/4 - 500 and 1500 baud selectable at boot time |
| 47 | - When it says "Cass?" press L for 500 baud, or Enter otherwise. |
| 48 | LNW-80 - 500 baud @1.77MHz and 1000 baud @4MHz. |
| 49 | 49 | |
| 50 | 50 | I/O ports |
| 51 | 51 | FF: |
| r242625 | r242626 | |
| 92 | 92 | - 80-8F hires graphics (optional) |
| 93 | 93 | |
| 94 | 94 | About the ht1080z - This was made for schools in Hungary. Each comes with a BASIC extension roms |
| 95 | | which activated Hungarian features. To activate - start emulation - enter SYSTEM |
| 96 | | Enter /12288 and the extensions will be installed and you are returned to READY. |
| 97 | | The ht1080z is identical to the System 80, apart from the character rom. |
| 98 | | The ht1080z2 has a modified extension rom and character generator. |
| 95 | which activated Hungarian features. To activate - start emulation - enter SYSTEM |
| 96 | Enter /12288 and the extensions will be installed and you are returned to READY. |
| 97 | The ht1080z is identical to the System 80, apart from the character rom. |
| 98 | The ht1080z2 has a modified extension rom and character generator. |
| 99 | 99 | |
| 100 | 100 | About the RTC - The time is incremented while ever the cursor is flashing. It is stored in a series |
| 101 | | of bytes in the computer's work area. The bytes are in a certain order, this is: |
| 102 | | seconds, minutes, hours, year, day, month. On a model 1, the seconds are stored at |
| 103 | | 0x4041, while on the model 4 it is 0x4217. A reboot always sets the time to zero. |
| 101 | of bytes in the computer's work area. The bytes are in a certain order, this is: |
| 102 | seconds, minutes, hours, year, day, month. On a model 1, the seconds are stored at |
| 103 | 0x4041, while on the model 4 it is 0x4217. A reboot always sets the time to zero. |
| 104 | 104 | |
| 105 | 105 | Model 4 memory organisation - |
| 106 | | Mode 0: ROM=0-37E7 and 37EA-3FFF; Printer=37E8-37E9; Keyboard=3800-3BFF; Video=3C00-3FFF |
| 107 | | Mode 1: Keyboard and Video as above; 0-3FFF read=ROM and write=RAM |
| 108 | | Mode 2: Keyboard=F400-F7FF; Video=F800-FFFF; the rest is RAM |
| 109 | | Mode 3: All RAM |
| 110 | | In the "maincpu" memory map, the first 64k is given to the ROM, keyboard, printer and video, |
| 111 | | while the second 64k is RAM that is switched in as needed. The area from 4800-FFFF |
| 112 | | is considered a "black hole", any writes to there will disappear. |
| 113 | | The video is organised as 2 banks of 0x400 bytes, except in Mode 2 where it becomes contiguous. |
| 106 | Mode 0: ROM=0-37E7 and 37EA-3FFF; Printer=37E8-37E9; Keyboard=3800-3BFF; Video=3C00-3FFF |
| 107 | Mode 1: Keyboard and Video as above; 0-3FFF read=ROM and write=RAM |
| 108 | Mode 2: Keyboard=F400-F7FF; Video=F800-FFFF; the rest is RAM |
| 109 | Mode 3: All RAM |
| 110 | In the "maincpu" memory map, the first 64k is given to the ROM, keyboard, printer and video, |
| 111 | while the second 64k is RAM that is switched in as needed. The area from 4800-FFFF |
| 112 | is considered a "black hole", any writes to there will disappear. |
| 113 | The video is organised as 2 banks of 0x400 bytes, except in Mode 2 where it becomes contiguous. |
| 114 | 114 | |
| 115 | 115 | Model 4P - is the same as Model 4 except: |
| 116 | | - ROM is only 0000-0FFF, while 1000-37FF is given over to RAM |
| 117 | | - There is no cassette support in hardware. |
| 116 | - ROM is only 0000-0FFF, while 1000-37FF is given over to RAM |
| 117 | - There is no cassette support in hardware. |
| 118 | 118 | |
| 119 | 119 | *************************************************************************** |
| 120 | 120 | |