Commit Graph

6 Commits

Author SHA1 Message Date
Zorchenhimer 63de05e9dd
[script] Fix 0xEA; Add 0xEF
- 0xEA `string_write_to_table` - Has an inline word that wasn't being
  captured correctly.
- 0x89 `draw_string` - Figured out what some of the arguments
- 0xEF `draw_string_sprites` - Similar to `draw_string` but uses sprites
  instead of drawing to the background.  Seems to only be used in debug
  code to print three "A" characters in different colors.
2025-09-21 22:45:20 -04:00
Zorchenhimer c43d4dd29c
[script] Update Op Codes
Added:
- 0x89 draw_string
- 0xAA long_jump
- 0xAF string_to_arg_a
- 0xB0 arg_a_to_string
- 0xB4 indirect_copy_471A_4E
- 0xB5 string_copy
- 0xB6 word4E_to_word471A

Renamed:
- 0xB7 deref_ptr_inlne to push_var
- 0xBA push to push_data_indirect
- 0xB8 trim_string_start to trim_string_start_32

Also added a bunch of comments.
2025-09-21 17:23:13 -04:00
Zorchenhimer db2e5b5f87
[script] Add InlineImmediate field to Instruction
Setting this field to true will skip generating auto labels for the
inline values for the instruction.
2025-09-06 22:55:06 -04:00
Zorchenhimer 468f7c780a
Some stuff with the script decoding
I honestly don't remember what these changes are, lol.
2024-09-29 15:03:21 -04:00
Zorchenhimer 0f9ab661cc
Name 0xA3 sprite_setup; Add some comments for documentation 2024-05-15 23:43:29 -04:00
Zorchenhimer 6c72977f17
Initial commit
Starting with some script parsing.  This script is the Domain Specific
Language that is on the tapes of the studybox.  Not every opcode is
fully decoded/named yet.
2024-04-27 15:19:14 -04:00