Skip to content

Commit

Permalink
JTTRACK/JTROADF: adds save support on Pocket
Browse files Browse the repository at this point in the history
  • Loading branch information
jotego committed Oct 20, 2023
1 parent f4cb634 commit c2a9f1a
Show file tree
Hide file tree
Showing 20 changed files with 90 additions and 16 deletions.
7 changes: 5 additions & 2 deletions mister/roadf/releases/Road Fighter (set 1).mra
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,15 @@
<part name="c12_d20.bin" crc="5e0cf994" map="10"/>
</interleave>
<!-- OBJ_START -->
<!-- sprites - starts at 0x20000 - length 0x12000 (17 bits) -->
<!-- sprites - starts at 0x20000 - length 0x10000 (16 bits) -->
<interleave output="16">
<part name="j19_e14.bin" crc="16d2bcff" map="01"/>
<part name="g19_e18.bin" crc="490685ff" map="10"/>
</interleave>
<part repeat="0xA000"> FF</part>
<part repeat="0x8000"> FF</part>
<!-- PCM_START -->
<!-- vlm - starts at 0x30000 - length 0x2000 (13 bits) -->
<part repeat="0x2000"> FF</part>
<!-- JTFRAME_PROM_START -->
<!-- proms - starts at 0x32000 - length 0x220 (10 bits) -->
<part name="c03_c27.bin" crc="45d5e352"/>
Expand Down
7 changes: 5 additions & 2 deletions mra/Road Fighter (set 1).mra
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,15 @@
<part name="c12_d20.bin" crc="5e0cf994" map="10"/>
</interleave>
<!-- OBJ_START -->
<!-- sprites - starts at 0x20000 - length 0x12000 (17 bits) -->
<!-- sprites - starts at 0x20000 - length 0x10000 (16 bits) -->
<interleave output="16">
<part name="j19_e14.bin" crc="16d2bcff" map="01"/>
<part name="g19_e18.bin" crc="490685ff" map="10"/>
</interleave>
<part repeat="0xA000"> FF</part>
<part repeat="0x8000"> FF</part>
<!-- PCM_START -->
<!-- vlm - starts at 0x30000 - length 0x2000 (13 bits) -->
<part repeat="0x2000"> FF</part>
<!-- JTFRAME_PROM_START -->
<!-- proms - starts at 0x32000 - length 0x220 (10 bits) -->
<part name="c03_c27.bin" crc="45d5e352"/>
Expand Down
7 changes: 5 additions & 2 deletions mra/_alternatives/_Road Fighter/Road Fighter (set 2).mra
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,15 @@
<part name="c12_d20.bin" crc="5e0cf994" map="10"/>
</interleave>
<!-- OBJ_START -->
<!-- sprites - starts at 0x20000 - length 0x12000 (17 bits) -->
<!-- sprites - starts at 0x20000 - length 0x10000 (16 bits) -->
<interleave output="16">
<part name="j19_e14.bin" crc="16d2bcff" map="01"/>
<part name="g19_e18.bin" crc="490685ff" map="10"/>
</interleave>
<part repeat="0xA000"> FF</part>
<part repeat="0x8000"> FF</part>
<!-- PCM_START -->
<!-- vlm - starts at 0x30000 - length 0x2000 (13 bits) -->
<part repeat="0x2000"> FF</part>
<!-- JTFRAME_PROM_START -->
<!-- proms - starts at 0x32000 - length 0x220 (10 bits) -->
<part name="c03_c27.bin" crc="45d5e352"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,15 @@
<part name="c12_d20.bin" crc="5e0cf994" map="10"/>
</interleave>
<!-- OBJ_START -->
<!-- sprites - starts at 0x20000 - length 0x12000 (17 bits) -->
<!-- sprites - starts at 0x20000 - length 0x10000 (16 bits) -->
<interleave output="16">
<part name="j19_e14.bin" crc="16d2bcff" map="01"/>
<part name="g19_e18.bin" crc="490685ff" map="10"/>
</interleave>
<part repeat="0xA000"> FF</part>
<part repeat="0x8000"> FF</part>
<!-- PCM_START -->
<!-- vlm - starts at 0x30000 - length 0x2000 (13 bits) -->
<part repeat="0x2000"> FF</part>
<!-- JTFRAME_PROM_START -->
<!-- proms - starts at 0x32000 - length 0x220 (10 bits) -->
<part name="c03_c27.bin" crc="45d5e352"/>
Expand Down
4 changes: 4 additions & 0 deletions pocket/raw/Assets/jtroadf/jotego.jtroadf/Hyper Sports.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
{
"id": 1,
"filename": "hyperspt.rom"
},
{
"id": 2,
"filename": "hyperspt.sav"
}
],
"memory_writes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
{
"id": 1,
"filename": "roadf.rom"
},
{
"id": 2,
"filename": "roadf.sav"
}
],
"memory_writes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
{
"id": 1,
"filename": "hpolym84.rom"
},
{
"id": 2,
"filename": "hpolym84.sav"
}
],
"memory_writes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
{
"id": 1,
"filename": "roadf2.rom"
},
{
"id": 2,
"filename": "roadf2.sav"
}
],
"memory_writes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
{
"id": 1,
"filename": "roadfu.rom"
},
{
"id": 2,
"filename": "roadfu.sav"
}
],
"memory_writes": [
Expand Down
4 changes: 4 additions & 0 deletions pocket/raw/Assets/jttrack/jotego.jttrack/Track & Field.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
{
"id": 1,
"filename": "trackfld.rom"
},
{
"id": 2,
"filename": "trackfld.sav"
}
],
"memory_writes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
{
"id": 1,
"filename": "hyprolym.rom"
},
{
"id": 2,
"filename": "hyprolym.sav"
}
],
"memory_writes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
{
"id": 1,
"filename": "trackldc.rom"
},
{
"id": 2,
"filename": "trackfldc.sav"
}
],
"memory_writes": [
Expand Down
5 changes: 3 additions & 2 deletions pocket/raw/Cores/jotego.jtroadf/core.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"magic": "APF_VER_1",
"metadata": {
"platform_ids": [
"jtroadf"
"jtroadf",
"jtpatreon"
],
"shortname": "jtroadf",
"description": "Arcade hardware",
"author": "jotego",
"url": "https://patreon.com/jotego",
"version": "noversion",
"date_release": "2023-08-25"
"date_release": "2023-10-20"
},
"framework": {
"target_product": "Analogue Pocket",
Expand Down
17 changes: 15 additions & 2 deletions pocket/raw/Cores/jotego.jtroadf/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"extensions": [
"json"
],
"address": ""
"address": "",
"nonvolatile": false
},
{
"name": "ROM",
Expand All @@ -20,7 +21,19 @@
"extensions": [
"rom"
],
"address": "0x00000000"
"address": "0x00000000",
"nonvolatile": false
},
{
"name": "NVRAM",
"id": 2,
"required": false,
"parameters": "0x100",
"extensions": [
"sav"
],
"address": "0x00000000",
"nonvolatile": true
}
]
}
Expand Down
Binary file modified pocket/raw/Cores/jotego.jtroadf/jtroadf.rbf_r
Binary file not shown.
1 change: 1 addition & 0 deletions pocket/raw/Cores/jotego.jtroadf/version.log
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
20230426 ea3e10a7-dirty
20230505 v1.2.20
20231020 v1.2.78
5 changes: 3 additions & 2 deletions pocket/raw/Cores/jotego.jttrack/core.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"magic": "APF_VER_1",
"metadata": {
"platform_ids": [
"jttrack"
"jttrack",
"jtpatreon"
],
"shortname": "jttrack",
"description": "Arcade hardware",
"author": "jotego",
"url": "https://patreon.com/jotego",
"version": "noversion",
"date_release": "2023-08-25"
"date_release": "2023-10-20"
},
"framework": {
"target_product": "Analogue Pocket",
Expand Down
17 changes: 15 additions & 2 deletions pocket/raw/Cores/jotego.jttrack/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"extensions": [
"json"
],
"address": ""
"address": "",
"nonvolatile": false
},
{
"name": "ROM",
Expand All @@ -20,7 +21,19 @@
"extensions": [
"rom"
],
"address": "0x00000000"
"address": "0x00000000",
"nonvolatile": false
},
{
"name": "NVRAM",
"id": 2,
"required": false,
"parameters": "0x100",
"extensions": [
"sav"
],
"address": "0x00000000",
"nonvolatile": true
}
]
}
Expand Down
Binary file modified pocket/raw/Cores/jotego.jttrack/jttrack.rbf_r
Binary file not shown.
1 change: 1 addition & 0 deletions pocket/raw/Cores/jotego.jttrack/version.log
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
20230426 ea3e10a7-dirty
20230505 v1.2.20
20231020 v1.2.78

0 comments on commit c2a9f1a

Please sign in to comment.