src/mess/includes/trs80.h
| r4464 | r4465 | |
| 27 | 27 | MACHINE_RESET( trs80 ); |
| 28 | 28 | MACHINE_RESET( lnw80 ); |
| 29 | 29 | |
| 30 | | WRITE8_HANDLER ( lnw80_w ); |
| 31 | 30 | WRITE8_HANDLER ( trs80_ff_w ); |
| 32 | 31 | WRITE8_HANDLER ( lnw80_fe_w ); |
| 33 | 32 | WRITE8_HANDLER ( sys80_fe_w ); |
| r4464 | r4465 | |
| 44 | 43 | WRITE8_HANDLER ( trs80m4_90_w ); |
| 45 | 44 | WRITE8_HANDLER ( trs80m4_88_w ); |
| 46 | 45 | WRITE8_HANDLER ( trs80m4_84_w ); |
| 47 | | READ8_HANDLER ( lnw80_r ); |
| 48 | 46 | READ8_HANDLER ( lnw80_fe_r ); |
| 49 | 47 | READ8_HANDLER ( trs80_ff_r ); |
| 50 | 48 | READ8_HANDLER ( trs80_fe_r ); |
src/mess/drivers/trs80.c
| r4464 | r4465 | |
| 107 | 107 | The ht1080z is identical to the System 80, apart from the character rom. |
| 108 | 108 | The ht1080z2 has a modified extension rom and character generator. |
| 109 | 109 | |
| 110 | About the RTC - The time is incremented while ever the cursor is flashing. It is stored in a series |
| 111 | of bytes in the computer's work area. The bytes are in a certain order, this is: |
| 112 | seconds, minutes, hours, year, day, month. On a model 1, the seconds are stored at |
| 113 | 0x4041, while on the model 4 it is 0x4217. A reboot always sets the time to zero. |
| 114 | |
| 110 | 115 | *************************************************************************** |
| 111 | 116 | |
| 112 | 117 | Not dumped (to our knowledge): |
| r4464 | r4465 | |
| 122 | 127 | TRS80 Model III/4 Hard drive, Graphics board, Alternate Character set |
| 123 | 128 | LNW80 1.77 / 4.0 MHz switch (this is a physical switch) |
| 124 | 129 | |
| 130 | Virtual floppy disk formats are JV1, JV3, and DMK. Only the JV1 is emulated. |
| 131 | There don't seem to be any JV1 boot disks for Model III/4. |
| 132 | |
| 125 | 133 | ***************************************************************************/ |
| 126 | 134 | |
| 127 | 135 | /* Core includes */ |
| r4464 | r4465 | |
| 139 | 147 | |
| 140 | 148 | /* Devices */ |
| 141 | 149 | #include "devices/basicdsk.h" |
| 142 | | #include "devices/mflopimg.h" |
| 143 | 150 | #include "devices/cassette.h" |
| 144 | 151 | #include "formats/trs_cas.h" |
| 145 | | #include "formats/trs_dsk.h" |
| 146 | 152 | |
| 147 | 153 | UINT8 *gfxram; |
| 148 | 154 | UINT8 trs80_model4; |
| r4464 | r4465 | |
| 662 | 668 | case MESS_DEVINFO_PTR_LOAD: info->load = DEVICE_IMAGE_LOAD_NAME(trs80_floppy); break; |
| 663 | 669 | |
| 664 | 670 | /* --- the following bits of info are returned as NULL-terminated strings --- */ |
| 665 | | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk,dmk"); break; |
| 671 | case MESS_DEVINFO_STR_FILE_EXTENSIONS: strcpy(info->s = device_temp_str(), "dsk"); break; |
| 666 | 672 | |
| 667 | | // case MESS_DEVINFO_PTR_FLOPPY_OPTIONS: info->p = (void *) floppyoptions_trs80; break; |
| 668 | | |
| 669 | 673 | default: legacybasicdsk_device_getinfo(devclass, state, info); break; |
| 670 | 674 | } |
| 671 | 675 | } |