Changes between Version 4 and Version 5 of TeradriveHardwareNotes


Ignore:
Timestamp:
08/04/2024 02:37:48 AM (9 months ago)
Author:
Mike Pavone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TeradriveHardwareNotes

    v4 v5  
    4040Key: X = writeable by both CPUS, M = writeable by M68K only, R = read-only, 1 = read-only, always 1, 0 = read only, always 0
    4141
    42 {{{
    43 1160: XXXXXXXX
    44 1161: 11111111
    45 1162: 110XXXX0
    46 1163: XXRRXXXX
    47 1164: MXXXXXXX
    48 1165: 0000RR0R
    49 1166: XXXXXXX0
    50 1167: 0000XXXX
    51 }}}
    52 
    53 1160:
     421160: `XXXXXXXX`
    5443      Selects an 8 KiB page from kanji/romdisk/MD ROM (note only the upper 4 KiB of the page is visible on the MD side when MD firmware is enabled)\\
    5544      Set to 21h when unlocking MD side and in BIOS boot\\
    5645      Set to 0 by BIOS after initial 68K boot\\
    57 1162:
     461161: `11111111`\\
     471162: `110XXXX0`
    5848      Controls address of memory window in 286 address space\\
    5949      Effectively top byte of real mode segment address or physical address >> 12\\
     
    6151      Set to CE if value in CMOS is invalid\\
    6252      Window is 8KiB in size and is used for both PC-side access to MD hardware and the Kanji/romdisk ROM\\
    63 1163:
     531163: `XXRRXXXX`
    6454      bit 0: Enables auxilliary ROM on 68K side\\
    6555      bit 1: Enable 286 memory window into 68K addres space (must be clear when booting 68K)\\
     56      bit 2: unknown\\
     57      bit 3: unknown\\
     58      bit 4: Returns value written by 68K to AE0001 bit 0\\
     59      bit 5: Returns value written by 68K to AE0001 bit 1\\
     60      bit 6: Value written here is readable by 68K at AE0001 bit 2\\
     61      bit 7: Value written here is readable by 68K at AE0001 bit 3\\
    6662      Set to 1 by BIOS and during MD unlock procedure\\
    67 
     631164: `MXXXXXXX`
     64      bit 0: Setting bit from 286 side pauses the 286 and releases 68K from reset\\
     65             Clearing bit from 68K side puts 68K into reset and releases 286\\
     66             Making certain other reg changes seems to make clearing this bit have no effect\\
     67      bit 1: 0 = Tera drive boot ROM mapped at 0 on 68K, 1 = cart mapped at 0\\
     68      bit 2: Controls video switch - 0 = PC video, 1 = MD video\\
     69      bit 3: Dual boot bit. When both this and bit 1 are set, bit 0 is ignored and both CPUs run independently.\\
     70      bit 4: Unclear function. When set bits 4 & 5 become 10 in AE0003 and 1165 returns a fixed sequence (D5,7F,00,AA,55,FF,80,2A)\\
     71      bit 5: Unknown\\
     72      bit 6: Set on TMSS failure immediately before wedging 68K by reading from VDP while configured for writes\\
     73      bit 7: Seems to start as 1, clearable on 68K but not on 286\\
     741165: `0000RR0R`
     75      bit 0: Indicates PC/MD switch setting, 0 = MD boot, 1 = PC boot\\
     76      bit 2: Indicates video switch setting, 0 = "Video", 1 = "RGB"\\
     77      bit 3: 1 indicates bus timeout on 286 access to 68K bus, cleared on read\\
     78      bit 5: indicates MD hardware has been "unlocked" ('SEGA' has been written to $A14000)\\
     791166: `XXXXXXX0`
     80      low bits of selected 8K page for access to 68K memory from 286\\
     811167: `0000XXXX`
     82      high bits of selected 8K page for acces to 68K memory form 286\\
     83      when taken together with 1166, holds `68K address >> 12`\\
     84      Also used along with 1166 for passing params from PC side to MD-side firmware\\
    6885
    6986== IC List