Skip to content

Commit

Permalink
feature: expand the embedded model name to 26 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
kg68k committed Feb 4, 2023
1 parent 13503a6 commit 73c11d3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions src/si.s
Original file line number Diff line number Diff line change
Expand Up @@ -830,11 +830,17 @@ get_hostname_noenv:
rts


ROM_EMBED_NAME_MAX: .equ 32-4-4 ;ヘッダ'NAME'と予約4バイトを除く
ROM_EMBED_ID: .equ $00ffffe0
ROM_EMBED_NAME: .equ $00ffffe4
ROM_EMBED_EMU: .equ $00fffffe
ROM_EMBED_MODEL:.equ $00ffffff

ROM_EMBED_ID_STR: .equ 'NAME'
ROM_EMBED_NAME_MAX: .equ ROM_EMBED_EMU-ROM_EMBED_NAME

* ROM埋め込み機種名を取得する
get_rom_embedded_model_name:
lea ($ffffe0),a1
lea (ROM_EMBED_ID),a1
cmpi.l #'NAME',(a1)+
bne 8f

Expand Down
4 changes: 2 additions & 2 deletions src/si_ver.mac
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SIEE_VERSION: .reg '4.06'
SIEE_DATE: .reg '2022-10-15'
SIEE_VERSION: .reg '4.07'
SIEE_DATE: .reg '2023-02-05'

0 comments on commit 73c11d3

Please sign in to comment.