Skip to content

Commit

Permalink
[Maintenance] [th03] Assign segment #1 in OP and MAINL to a common gr…
Browse files Browse the repository at this point in the history
…oup name

The YUME.NEM functions won't be decompilable in their natural order
otherwise.

Part of P0172, funded by [Anonymous] and Blue Bolt.
  • Loading branch information
nmlgc committed Dec 27, 2021
1 parent efff8d6 commit 38f9db0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions th03_mainl.asm
Expand Up @@ -25,7 +25,7 @@ include th01/hardware/grppsafx.inc
extern _execl:proc
extern _tolower:proc

mainl_01 group CFG_LRES_TEXT, mainl_01_TEXT
group_01 group CFG_LRES_TEXT, mainl_01_TEXT

; ===========================================================================

Expand Down Expand Up @@ -134,7 +134,7 @@ CFG_LRES_TEXT ends

; Segment type: Pure code
mainl_01_TEXT segment byte public 'CODE' use16
assume cs:mainl_01
assume cs:group_01
;org 3
assume es:nothing, ss:nothing, ds:_DATA, fs:nothing, gs:nothing

Expand Down
4 changes: 3 additions & 1 deletion th03_op.asm
Expand Up @@ -24,6 +24,8 @@ include th02/music/music.inc
extern _execl:proc
extern _getch:proc

group_01 group op_01_TEXT

; ===========================================================================

; Segment type: Pure code
Expand Down Expand Up @@ -129,7 +131,7 @@ _TEXT ends

; Segment type: Pure code
op_01_TEXT segment byte public 'CODE' use16
assume cs:op_01_TEXT
assume cs:group_01
;org 8
assume es:nothing, ss:nothing, ds:_DATA, fs:nothing, gs:nothing

Expand Down

0 comments on commit 38f9db0

Please sign in to comment.