Skip to content

Commit

Permalink
Updated example.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockoS committed Oct 16, 2023
1 parent ee5c794 commit 6d45f15
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 10 deletions.
13 changes: 13 additions & 0 deletions examples/youkai_douchuuki/comments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{"logical":"d6a1" , "page":"01f", "text":"compute vram address"},
{"logical":"d6b4" , "page":"01f", "text":"set VRAM write address"},
{"logical":"d6bc" , "page":"01f", "text":"set VRAM read address"},
{"logical":"d736" , "page":"01f", "text":"set source pointer"},
{"logical":"d73c" , "page":"01f", "text":"check if we reached of password list"},
{"logical":"d73f" , "page":"01f", "text":"compare with input"},
{"logical":"d757" , "page":"01f", "text":"move pointer to the next password"},

{"logical":"d76c" , "page":"01f", "text":"backup source pointer"},

{"logical" : "d750", "page": "1f", "text": "find end of string"}
]
16 changes: 15 additions & 1 deletion examples/youkai_douchuuki/labels.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
[
{ "name": "password.str", "logical": "31dc", "page": "f8" },
{ "name": "password.len", "logical": "31f6", "page": "f8" }
{ "name": "password.len", "logical": "31f6", "page": "f8" },

{ "name": "@loop", "logical" : "d738", "page": "1f"},
{ "name": "@search", "logical" : "d73f", "page": "1f"},
{ "name": "@next", "logical" : "d74e", "page": "1f"},
{ "name": "@eos", "logical" : "d750", "page": "1f"},
{ "name": "@end", "logical" : "d765", "page": "1f"},

{ "name": "password.store", "logical" : "d6f7", "page": "1f",
"description": [
"-----------------------------------------------------------------",
"store password",
"-----------------------------------------------------------------"
]
}
]
35 changes: 26 additions & 9 deletions examples/youkai_douchuuki/password.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,34 @@
{
"password.store": {
"password.vram.addr": {
"filename": "password.asm",
"type": "code",
"page": "1f",
"logical" : "d6f7",
"size": "39",
"mpr": ["ff", "f8", "1b", "1c", "1d", "1e", "1f", 0 ],
"description": [
"-----------------------------------------------------------------",
"store password",
"-----------------------------------------------------------------"
]
"logical" : "d6a1",
"mpr": ["ff", "f8", "1b", "1c", "1d", "1e", "1f", 0 ]
},
"ld6c8": {
"filename": "password.asm",
"type": "code",
"page": "1f",
"logical" : "d6c8",
"mpr": ["ff", "f8", "1b", "1c", "1d", "1e", "1f", 0 ]
},
"password.store.end": {
"filename": "password.asm",
"type": "code",
"page": "1f",
"logical" : "d6f6",
"size": "3a",
"mpr": ["ff", "f8", "1b", "1c", "1d", "1e", "1f", 0 ]
},
"ld766": {
"filename": "password.asm",
"type": "code",
"page": "1f",
"logical" : "d766",
"size": "0f",
"mpr": ["ff", "f8", "1b", "1c", "1d", "1e", "1f", 0 ]
},
"password.encode": {
"filename": "password.asm",
"type": "code",
Expand Down

0 comments on commit 6d45f15

Please sign in to comment.