257 lines
11 KiB
JSON
Executable File
Vendored
257 lines
11 KiB
JSON
Executable File
Vendored
/* picoZ80 JSON Configuration
|
|
Target: Vanilla Z80
|
|
|
|
Initialisation Order:
|
|
1. Default: All Physical
|
|
2. Apply Core Configuration.
|
|
3. Apply Driver Configuration.
|
|
3a. Apply default Driver Configuration.
|
|
3b. Apply Interface Configuration.
|
|
4. Apply Memory Configuration.
|
|
5. Apply IO Configuration.
|
|
*/
|
|
|
|
{
|
|
/* -------------------------------------------
|
|
RP2350 Configuration Block
|
|
------------------------------------------- */
|
|
"rp2350": {
|
|
"core": {
|
|
"voltage": 1.15,
|
|
"cpufreq": 240000000,
|
|
"psramfreq": 133000000
|
|
},
|
|
"z80": [
|
|
/* -------------------------------------
|
|
Bootloader Configuration
|
|
------------------------------------- */
|
|
/* Currently not used. */
|
|
{
|
|
},
|
|
|
|
/* -------------------------------------
|
|
RP2350 Partition 1 Configuration
|
|
------------------------------------- */
|
|
{
|
|
"core": {
|
|
"voltage": 1.20,
|
|
"cpufreq": 300000000,
|
|
"psramfreq": 133000000
|
|
},
|
|
"memory": [ {
|
|
"enable": 0,
|
|
"addr": 0x0000,
|
|
"size": 0x1000,
|
|
"type": "PHYSICAL",
|
|
"func": "",
|
|
"tcycwait": 0,
|
|
"tcycsync": 0,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "",
|
|
"fileofs": 0
|
|
},
|
|
{
|
|
"enable": 0,
|
|
"addr": 0x1000,
|
|
"size": 0xC000,
|
|
"type": "RAM",
|
|
"func": "",
|
|
"tcycwait": 0,
|
|
"tcycsync": 0,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "",
|
|
"fileofs": 0
|
|
},
|
|
{
|
|
"enable": 0,
|
|
"addr": 0xD000,
|
|
"size": 0x1000,
|
|
"type": "PHYSICAL",
|
|
"func": "",
|
|
"tcycwait": 0,
|
|
"tcycsync": 0,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "",
|
|
"fileofs": 0
|
|
},
|
|
{
|
|
"enable": 0,
|
|
"addr": 0xE000,
|
|
"size": 0x0800,
|
|
"type": "PHYSICAL",
|
|
"func": "",
|
|
"tcycwait": 0,
|
|
"tcycsync": 0,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "",
|
|
"fileofs": 0
|
|
},
|
|
{
|
|
"enable": 0,
|
|
"addr": 0xE800,
|
|
"size": 0x0800,
|
|
"type": "ROM",
|
|
"func": "",
|
|
"tcycwait": 1,
|
|
"tcycsync": 1,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "MZ-1E14.bin",
|
|
"fileofs": 0
|
|
},
|
|
{
|
|
"enable": 0,
|
|
"addr": 0xF000,
|
|
"size": 0x1000,
|
|
"type": "PHYSICAL",
|
|
"func": "",
|
|
"tcycwait": 0,
|
|
"tcycsync": 0,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "",
|
|
"fileofs": 0
|
|
}
|
|
],
|
|
"io": [ {
|
|
"enable": 0,
|
|
"addr": 0x0000,
|
|
"size": 0x10000,
|
|
"type": "PHYSICAL",
|
|
"func": ""
|
|
}
|
|
],
|
|
"drivers":[
|
|
]
|
|
},
|
|
|
|
/* -------------------------------------
|
|
RP2350 Partition 2 Configuration
|
|
------------------------------------- */
|
|
{
|
|
"core": {
|
|
"voltage": 1.20,
|
|
"cpufreq": 300000000,
|
|
"psramfreq": 133000000
|
|
},
|
|
"memory": [ {
|
|
"enable": 0,
|
|
"addr": 0x0000,
|
|
"size": 0x1000,
|
|
"type": "PHYSICAL",
|
|
"func": "",
|
|
"tcycwait": 0,
|
|
"tcycsync": 0,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "",
|
|
"fileofs": 0
|
|
},
|
|
{
|
|
"enable": 0,
|
|
"addr": 0x1000,
|
|
"size": 0xC000,
|
|
"type": "RAM",
|
|
"func": "",
|
|
"tcycwait": 0,
|
|
"tcycsync": 0,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "",
|
|
"fileofs": 0
|
|
},
|
|
{
|
|
"enable": 0,
|
|
"addr": 0xD000,
|
|
"size": 0x1000,
|
|
"type": "PHYSICAL",
|
|
"func": "",
|
|
"tcycwait": 0,
|
|
"tcycsync": 0,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "",
|
|
"fileofs": 0
|
|
},
|
|
{
|
|
"enable": 0,
|
|
"addr": 0xE000,
|
|
"size": 0x0800,
|
|
"type": "PHYSICAL",
|
|
"func": "",
|
|
"tcycwait": 0,
|
|
"tcycsync": 0,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "",
|
|
"fileofs": 0
|
|
},
|
|
{
|
|
"enable": 0,
|
|
"addr": 0xE800,
|
|
"size": 0x0800,
|
|
"type": "ROM",
|
|
"func": "",
|
|
"tcycwait": 1,
|
|
"tcycsync": 1,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "MZ-1E14.bin",
|
|
"fileofs": 0
|
|
},
|
|
{
|
|
"enable": 0,
|
|
"addr": 0xF000,
|
|
"size": 0x1000,
|
|
"type": "PHYSICAL",
|
|
"func": "",
|
|
"tcycwait": 0,
|
|
"tcycsync": 0,
|
|
"bank": 0,
|
|
"task": "",
|
|
"file": "",
|
|
"fileofs": 0
|
|
}
|
|
],
|
|
"io": [ {
|
|
"enable": 0,
|
|
"addr": 0x0000,
|
|
"size": 0x10000,
|
|
"type": "PHYSICAL",
|
|
"func": ""
|
|
}
|
|
],
|
|
"drivers":[
|
|
]
|
|
}
|
|
]
|
|
},
|
|
|
|
/* -------------------------------------
|
|
ESP32 Configuration Block
|
|
------------------------------------- */
|
|
"esp32": {
|
|
"core": {
|
|
"device": "Z80",
|
|
"mode": 0
|
|
},
|
|
"wifi": {
|
|
"ssid": "<your SSID>",
|
|
"password": "<your PWD",
|
|
"ip": "192.168.4.4",
|
|
"netmask": "255.255.255.0",
|
|
"gateway": "192.168.4.1",
|
|
"wifimode": "ap",
|
|
"dhcp": 1,
|
|
"override": 1,
|
|
"webfs": "webfs",
|
|
"persist": 0
|
|
}
|
|
}
|
|
}
|
|
|