issue number: | STN-47 | ||||||
---|---|---|---|---|---|---|---|
date of issue: | 96/10/01 | ||||||
media: | ○Common | ○CD-ROM | ○Cartridge | ○Others | |||
connection: | ○Program | ○Hard | ○Manual | ○Tools | ○Game | ○ Bug | ○Others |
Information distinction: | ○New | ○Change | ○Addition | ||||
importance: | ○Strict observance | ○Recommended | ○Reference | ○Others | |||
attached file: | ○No | ○ Yes | |||||
Subject supplement: |
<Table 1 Memory map> 8Mbit 32Mbit 22400000h┏━━━━━━━┓──┏━━━━━━━┓ ┃ DRAM0 ┃ ┃ DRAM0 ┃ 2247FFFFh┗━━━━━━━┛ ┃ ┃ │ │ ┃ ┃ │ │ ┃ ┃ │ │ ┃ ┃ 22600000h┏━━━━━━━┓──┣━━━━━━━┫ ┃ DRAM1 ┃ ┃ DRAM1 ┃ 2267FFFFh┗━━━━━━━┛ ┃ ┃ │ │ ┃ ┃ │ │ ┃ ┃ │ │ ┃ ┃ 227FFFFFh└───────┘──┗━━━━━━━┛
Note | Address: Be sure to set "1" to 257EFFFEh. If you write any other data, it will not work properly. |
---|
Address = 24FFFFFFh(R/O) | |
---|---|
Cartridge capacity | Extended ram cartridge ID |
8Mbit | 5 Ah |
32Mbit | 5Ch (reservation) |
“JW△△△△△△△△△△△△△△” “△” = Space (20H)
For the A-Bus refresh register, set the valid bit to "1" and the internal wait number to "3".
Settings are prohibited for CS2 space and reserve space.
(The value set in BOOT ROM is used, so the user is prohibited from setting it.)
A-Bus setting register address → | 25FE00B0h | 25FE00B4h | ||
---|---|---|---|---|
Setting details↓ | CS0 space | CS1 space | CS2 space | spare space |
Precharge insertion bit after writing | OFF(0) | OFF(0) | Setting prohibited | Setting prohibited |
Precharge insertion bit after read | ON(1) | OFF(0) | ||
External wait enable bit | OFF(0) | ON(1) | ||
Burst cycle wait number setting bit | 0011 | 1111 | ||
Normal cycle wait number setting bit | 0011 | 1111 | ||
Burst length setting bit | 00 | 0 | ||
Bus size setting bit | 0 (16bit) | 0 (16bit) |
Check the cartridge ID. ("5Ah" for 8Mbit)
→Please also consider support for 32Mbit (ID=5Ch). If you check only with 8Mbit (ID=5Ah), this application will no longer work when a 32Mbit expansion ram cartridge is released in the future.
If the cartridge ID is not recognized, display a message prompting you to connect the cartridge.
---message---
Expansion ram cartridge is not inserted correctly.
Turn off the power and reinsert the expansion ram cartridge.
Write "1" in word size to initialization address 257EFFFEh (W/O).
→Please be sure to set the word size to "1". (Strictly observed)
Set the A-Bus setting register and A-Bus refresh register.
See above ( ●Register setting value )
Connection completed.
Access to the expansion ram cartridge is possible.
→Please refer to the above ( ■About available modes ) to read/write data.
Note | Please use this program with a debugger and do not include it in a commercial version. |
---|