mirror of https://github.com/nmlgc/ReC98.git
[Maintenance] [th01] Move OP and REIIDEN master.lib data to new assembly units
Part of P0213, funded by Ember2528 and GhostRiderCog.
This commit is contained in:
parent
774c97e31d
commit
ce9f1ed0c0
|
@ -43,12 +43,12 @@ bin\th01\zunsoft.com: th01\zunsoft.cpp
|
|||
{th01}.cpp{bin\th01}.obj:
|
||||
$(CC) $(CFLAGS) -ml -3 -Z -d -DGAME=1 -n$(@D) -c $**
|
||||
|
||||
bin\th01\op.exe: bin\piloadc.obj bin\th01\op.obj th01\op_01.cpp bin\th01\frmdelay.obj bin\th01\vsync.obj bin\th01\ztext.obj bin\th01\initexit.obj bin\th01\graph.obj bin\th01\ptn_0to1.obj bin\th01\vplanset.obj th01\op_07.cpp bin\th01\grppffx.obj bin\th01\ptn.obj th01\op_09.cpp bin\th01\grz.obj bin\th01\resstuff.obj bin\th01\mdrv2.obj bin\th01\pf.obj
|
||||
bin\th01\op.exe: bin\piloadc.obj bin\th01\op.obj th01\op_01.cpp bin\th01\frmdelay.obj bin\th01\vsync.obj bin\th01\ztext.obj bin\th01\initexit.obj bin\th01\graph.obj bin\th01\ptn_0to1.obj bin\th01\vplanset.obj th01\op_07.cpp bin\th01\grppffx.obj bin\th01\ptn.obj th01\op_09.cpp bin\th01\grz.obj bin\th01\opm.obj bin\th01\resstuff.obj bin\th01\mdrv2.obj bin\th01\pf.obj
|
||||
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -3 -Z -DGAME=1 -DBINARY='O' -nbin\th01\ -eOP.EXE @&&|
|
||||
$**
|
||||
|
|
||||
|
||||
bin\th01\reiiden.exe: bin\piloadc.obj bin\th01\reiiden.obj th01\main_010.cpp th01\main_011.cpp th01\main_012.cpp bin\th01\frmdelay.obj bin\th01\vsync.obj bin\th01\ztext.obj bin\th01\initexit.obj bin\th01\graph.obj bin\th01\ptn_0to1.obj bin\th01\vplanset.obj th01\main_07.cpp bin\th01\ptn.obj th01\main_08.cpp bin\th01\grz.obj th01\main_09.cpp th01\bullet_l.cpp th01\grpinv32.cpp bin\th01\resstuff.obj th01\scrollup.cpp th01\egcrows.cpp th01\pgtrans.cpp th01\2x_main.cpp th01\egcwave.cpp th01\grph1to0.cpp th01\main_14.cpp th01\main_15.cpp bin\th01\mdrv2.obj th01\main_17.cpp th01\main_18.cpp th01\main_19.cpp th01\main_20.cpp th01\main_21.cpp bin\th01\pf.obj th01\main_23.cpp th01\main_24.cpp th01\main_25.cpp th01\main_26.cpp th01\main_27.cpp th01\main_28.cpp th01\main_29.cpp th01\main_30.cpp th01\main_31.cpp th01\main_32.cpp th01\main_33.cpp th01\main_34.cpp th01\main_35.cpp th01\main_36.cpp th01\main_37.cpp th01\main_38.cpp
|
||||
bin\th01\reiiden.exe: bin\piloadc.obj bin\th01\reiiden.obj th01\main_010.cpp th01\main_011.cpp th01\main_012.cpp bin\th01\frmdelay.obj bin\th01\vsync.obj bin\th01\ztext.obj bin\th01\initexit.obj bin\th01\graph.obj bin\th01\ptn_0to1.obj bin\th01\vplanset.obj th01\main_07.cpp bin\th01\ptn.obj th01\main_08.cpp bin\th01\grz.obj bin\th01\reiidenm.obj th01\main_09.cpp th01\bullet_l.cpp th01\grpinv32.cpp bin\th01\resstuff.obj th01\scrollup.cpp th01\egcrows.cpp th01\pgtrans.cpp th01\2x_main.cpp th01\egcwave.cpp th01\grph1to0.cpp th01\main_14.cpp th01\main_15.cpp bin\th01\mdrv2.obj th01\main_17.cpp th01\main_18.cpp th01\main_19.cpp th01\main_20.cpp th01\main_21.cpp bin\th01\pf.obj th01\main_23.cpp th01\main_24.cpp th01\main_25.cpp th01\main_26.cpp th01\main_27.cpp th01\main_28.cpp th01\main_29.cpp th01\main_30.cpp th01\main_31.cpp th01\main_32.cpp th01\main_33.cpp th01\main_34.cpp th01\main_35.cpp th01\main_36.cpp th01\main_37.cpp th01\main_38.cpp
|
||||
$(CC) $(CFLAGS) $(LARGE_LFLAGS) -3 -Z -d -DGAME=1 -DBINARY='M' -nbin\th01\ -eREIIDEN.EXE @&&|
|
||||
$**
|
||||
|
|
||||
|
|
2
Tupfile
2
Tupfile
|
@ -61,7 +61,9 @@ BMP2ARR = bin\\Pipeline\\bmp2arr.exe
|
|||
: zuncom\\cstmstub.asm |> $(AS) zuncom\%b %o |> bin\\zuncom\\%B.obj
|
||||
|
||||
: th01_op.asm |> !as |> bin\\th01\\op.obj
|
||||
: th01_op_master.asm |> !as |> bin\\th01\\opm.obj
|
||||
: th01_reiiden.asm |> !as |> bin\\th01\\reiiden.obj
|
||||
: th01_reiiden_master.asm |> !as |> bin\\th01\\reiidenm.obj
|
||||
: th01_fuuin.asm |> !as |> bin\\th01\\fuuin.obj
|
||||
: th01_fuuin_data.asm |> !as |> bin\\th01\\fuuin_2.obj
|
||||
: th01_fuuin_master.asm |> !as |> bin\\th01\\fuuinm.obj
|
||||
|
|
|
@ -25,7 +25,9 @@ tasm32 /m /mx /kh32768 /t /ml libs\piloadc\piloadc.asm bin\piloadc.obj
|
|||
tasm32 /m /mx /kh32768 /t zuncom\zun_stub.asm bin\zuncom\zun_stub.obj
|
||||
tasm32 /m /mx /kh32768 /t zuncom\cstmstub.asm bin\zuncom\cstmstub.obj
|
||||
tasm32 /m /mx /kh32768 /t th01_op.asm bin\th01\op.obj
|
||||
tasm32 /m /mx /kh32768 /t th01_op_master.asm bin\th01\opm.obj
|
||||
tasm32 /m /mx /kh32768 /t th01_reiiden.asm bin\th01\reiiden.obj
|
||||
tasm32 /m /mx /kh32768 /t th01_reiiden_master.asm bin\th01\reiidenm.obj
|
||||
tasm32 /m /mx /kh32768 /t th01_fuuin.asm bin\th01\fuuin.obj
|
||||
tasm32 /m /mx /kh32768 /t th01_fuuin_data.asm bin\th01\fuuin_2.obj
|
||||
tasm32 /m /mx /kh32768 /t th01_fuuin_master.asm bin\th01\fuuinm.obj
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
public key_backup, keywork
|
||||
key_backup db 786 dup (?)
|
||||
keywork db 10 dup (?)
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
public key_started
|
||||
key_started dw 0
|
||||
|
|
79
th01_op.asm
79
th01_op.asm
|
@ -1598,18 +1598,54 @@ include th01/hardware/graph_r[data].asm
|
|||
include th01/hardware/respal[data].asm
|
||||
include th01/formats/grp_ptn[data].asm
|
||||
include th01/formats/grz[data].asm
|
||||
include libs/master.lib/version[data].asm
|
||||
include libs/master.lib/grp[data].asm
|
||||
include libs/master.lib/pal[data].asm
|
||||
include libs/master.lib/respal_exist[data].asm
|
||||
include libs/master.lib/resdata[data].asm
|
||||
include libs/master.lib/fil[data].asm
|
||||
include libs/master.lib/keytable[data].asm
|
||||
include libs/master.lib/keystart[data].asm
|
||||
include libs/master.lib/keyback[data].asm
|
||||
include libs/master.lib/dos_ropen[data].asm
|
||||
include libs/master.lib/clip[data].asm
|
||||
include libs/master.lib/rand[data].asm
|
||||
|
||||
; libs/master.lib/grp[data].asm
|
||||
extern graph_VramSeg:word
|
||||
extern graph_VramWords:word
|
||||
extern graph_VramLines:word
|
||||
extern graph_VramZoom:word
|
||||
|
||||
; libs/master.lib/pal[data].asm
|
||||
extern PaletteTone:word
|
||||
extern PalettesInit:rgb_t:COLOR_COUNT
|
||||
extern PaletteNote:word
|
||||
extern ResPalSeg:word
|
||||
|
||||
; libs/master.lib/respal_exist[data].asm
|
||||
IDLEN EQU 10
|
||||
extern ResPalID:byte:IDLEN
|
||||
|
||||
; libs/master.lib/fil[data].asm
|
||||
extern file_BufferSize:word
|
||||
extern file_Handle:word
|
||||
|
||||
; libs/master.lib/keytable[data].asm
|
||||
extern key_table_normal:word
|
||||
extern key_table_shift:word
|
||||
extern key_table_ctrl:word
|
||||
extern key_table_alt:word
|
||||
|
||||
; libs/master.lib/keystart[data].asm
|
||||
extern key_started:word
|
||||
|
||||
; libs/master.lib/keyback[data].asm
|
||||
extern key_back_buffer:word
|
||||
|
||||
; libs/master.lib/dos_ropen[data].asm
|
||||
extern file_sharingmode:word
|
||||
|
||||
; libs/master.lib/clip[data].asm
|
||||
extern ClipXL:word
|
||||
extern ClipXW:word
|
||||
extern ClipXR:word
|
||||
extern ClipYT:word
|
||||
extern ClipYH:word
|
||||
extern ClipYB:word
|
||||
extern ClipYT_seg:word
|
||||
extern ClipYB_adr:word
|
||||
|
||||
; libs/master.lib/rand[data].asm
|
||||
extern random_seed:dword
|
||||
|
||||
.data?
|
||||
|
||||
|
@ -1630,10 +1666,21 @@ include th01/hardware/vram_planes[bss].asm
|
|||
include th01/formats/grp_palette[bss].asm
|
||||
include th01/formats/ptn_grz[bss].asm
|
||||
include th01/formats/grp_buf[bss].asm
|
||||
include libs/master.lib/pal[bss].asm
|
||||
include libs/master.lib/fil[bss].asm
|
||||
include libs/master.lib/keystart[bss].asm
|
||||
include libs/master.lib/clip[bss].asm
|
||||
|
||||
; libs/master.lib/pal[bss].asm
|
||||
extern Palettes:rgb_t:COLOR_COUNT
|
||||
|
||||
; libs/master.lib/fil[bss].asm
|
||||
extern file_Buffer:dword
|
||||
extern file_BufferPos:dword
|
||||
extern file_BufPtr:word
|
||||
extern file_InReadBuf:word
|
||||
extern file_Eof:word
|
||||
extern file_ErrorStat:word
|
||||
|
||||
; libs/master.lib/keystart[bss].asm
|
||||
extern key_backup:byte:786
|
||||
extern keywork:byte:10
|
||||
|
||||
extern _resident:dword
|
||||
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
; master.lib data for TH01's OP.EXE.
|
||||
|
||||
.386
|
||||
.model use16 large _TEXT
|
||||
|
||||
.data
|
||||
|
||||
include libs/master.lib/version[data].asm
|
||||
include libs/master.lib/grp[data].asm
|
||||
include libs/master.lib/pal[data].asm
|
||||
include libs/master.lib/respal_exist[data].asm
|
||||
include libs/master.lib/resdata[data].asm
|
||||
include libs/master.lib/fil[data].asm
|
||||
include libs/master.lib/keytable[data].asm
|
||||
include libs/master.lib/keystart[data].asm
|
||||
include libs/master.lib/keyback[data].asm
|
||||
include libs/master.lib/dos_ropen[data].asm
|
||||
include libs/master.lib/clip[data].asm
|
||||
include libs/master.lib/rand[data].asm
|
||||
|
||||
.data?
|
||||
|
||||
include libs/master.lib/pal[bss].asm
|
||||
include libs/master.lib/fil[bss].asm
|
||||
include libs/master.lib/keystart[bss].asm
|
||||
include libs/master.lib/clip[bss].asm
|
||||
|
||||
end
|
|
@ -3286,21 +3286,60 @@ include th01/hardware/graph_r[data].asm
|
|||
include th01/hardware/respal[data].asm
|
||||
include th01/formats/grp_ptn[data].asm
|
||||
include th01/formats/grz[data].asm
|
||||
include libs/master.lib/version[data].asm
|
||||
include libs/master.lib/tx[data].asm
|
||||
include libs/master.lib/grp[data].asm
|
||||
include libs/master.lib/pal[data].asm
|
||||
include libs/master.lib/respal_exist[data].asm
|
||||
include libs/master.lib/resdata[data].asm
|
||||
include libs/master.lib/fil[data].asm
|
||||
include libs/master.lib/keytable[data].asm
|
||||
include libs/master.lib/keystart[data].asm
|
||||
include libs/master.lib/keyback[data].asm
|
||||
include libs/master.lib/dos_ropen[data].asm
|
||||
include libs/master.lib/clip[data].asm
|
||||
include libs/master.lib/sin8[data].asm
|
||||
include libs/master.lib/atan8[data].asm
|
||||
include libs/master.lib/rand[data].asm
|
||||
|
||||
; libs/master.lib/tx[data].asm
|
||||
extern TextVramSeg:word
|
||||
|
||||
; libs/master.lib/grp[data].asm
|
||||
extern graph_VramSeg:word
|
||||
extern graph_VramWords:word
|
||||
extern graph_VramLines:word
|
||||
extern graph_VramZoom:word
|
||||
|
||||
; libs/master.lib/pal[data].asm
|
||||
extern PaletteTone:word
|
||||
extern PalettesInit:rgb_t:COLOR_COUNT
|
||||
extern PaletteNote:word
|
||||
extern ResPalSeg:word
|
||||
|
||||
; libs/master.lib/respal_exist[data].asm
|
||||
IDLEN EQU 10
|
||||
extern ResPalID:byte:IDLEN
|
||||
|
||||
; libs/master.lib/fil[data].asm
|
||||
extern file_BufferSize:word
|
||||
extern file_Handle:word
|
||||
|
||||
; libs/master.lib/keytable[data].asm
|
||||
extern key_table_normal:word
|
||||
extern key_table_shift:word
|
||||
extern key_table_ctrl:word
|
||||
extern key_table_alt:word
|
||||
|
||||
; libs/master.lib/keystart[data].asm
|
||||
extern key_started:word
|
||||
|
||||
; libs/master.lib/keyback[data].asm
|
||||
extern key_back_buffer:word
|
||||
|
||||
; libs/master.lib/dos_ropen[data].asm
|
||||
extern file_sharingmode:word
|
||||
|
||||
; libs/master.lib/clip[data].asm
|
||||
extern ClipXL:word
|
||||
extern ClipXW:word
|
||||
extern ClipXR:word
|
||||
extern ClipYT:word
|
||||
extern ClipYH:word
|
||||
extern ClipYB:word
|
||||
extern ClipYT_seg:word
|
||||
extern ClipYB_adr:word
|
||||
|
||||
; libs/master.lib/atan8[data].asm
|
||||
extern AtanTable8:word
|
||||
|
||||
; libs/master.lib/rand[data].asm
|
||||
extern random_seed:dword
|
||||
|
||||
extern _arc_key:byte
|
||||
extern _card_flip_cycle:byte
|
||||
|
@ -3383,10 +3422,6 @@ include th01/hardware/vram_planes[bss].asm
|
|||
include th01/formats/grp_palette[bss].asm
|
||||
include th01/formats/ptn_grz[bss].asm
|
||||
include th01/formats/grp_buf[bss].asm
|
||||
include libs/master.lib/pal[bss].asm
|
||||
include libs/master.lib/fil[bss].asm
|
||||
include libs/master.lib/keystart[bss].asm
|
||||
include libs/master.lib/clip[bss].asm
|
||||
|
||||
CCards struc
|
||||
C_left dd ?
|
||||
|
@ -3405,6 +3440,21 @@ CObstacles struc
|
|||
O_count dw ?
|
||||
CObstacles ends
|
||||
|
||||
; libs/master.lib/pal[bss].asm
|
||||
extern Palettes:rgb_t:COLOR_COUNT
|
||||
|
||||
; libs/master.lib/fil[bss].asm
|
||||
extern file_Buffer:dword
|
||||
extern file_BufferPos:dword
|
||||
extern file_BufPtr:word
|
||||
extern file_InReadBuf:word
|
||||
extern file_Eof:word
|
||||
extern file_ErrorStat:word
|
||||
|
||||
; libs/master.lib/keystart[bss].asm
|
||||
extern key_backup:byte:786
|
||||
extern keywork:byte:10
|
||||
|
||||
extern _resident:dword
|
||||
extern _shootout_lasers:byte
|
||||
extern _stage_palette:palette_t
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
; master.lib data for TH01's REIIDEN.EXE.
|
||||
|
||||
.386
|
||||
.model use16 large
|
||||
|
||||
.data
|
||||
|
||||
include libs/master.lib/version[data].asm
|
||||
include libs/master.lib/tx[data].asm
|
||||
include libs/master.lib/grp[data].asm
|
||||
include libs/master.lib/pal[data].asm
|
||||
include libs/master.lib/respal_exist[data].asm
|
||||
include libs/master.lib/resdata[data].asm
|
||||
include libs/master.lib/fil[data].asm
|
||||
include libs/master.lib/keytable[data].asm
|
||||
include libs/master.lib/keystart[data].asm
|
||||
include libs/master.lib/keyback[data].asm
|
||||
include libs/master.lib/dos_ropen[data].asm
|
||||
include libs/master.lib/clip[data].asm
|
||||
include libs/master.lib/sin8[data].asm
|
||||
include libs/master.lib/atan8[data].asm
|
||||
include libs/master.lib/rand[data].asm
|
||||
|
||||
.data?
|
||||
|
||||
include libs/master.lib/pal[bss].asm
|
||||
include libs/master.lib/fil[bss].asm
|
||||
include libs/master.lib/keystart[bss].asm
|
||||
include libs/master.lib/clip[bss].asm
|
||||
|
||||
end
|
Loading…
Reference in New Issue