[Maintenance] Mirror recent pc98.h and master.hpp declarations in ASM land

Part of P0134, funded by [Anonymous].
This commit is contained in:
nmlgc 2021-02-08 15:37:30 +01:00
parent 1c5ed4b06e
commit f158e393e8
3 changed files with 13 additions and 15 deletions

View File

@ -52,19 +52,6 @@ endm
; ---------------------
; super_roll_put_1plane() plane_put constants
PLANE_PUT = 0FF00h or GC_RMW
; RGB color triple, used for the Palettes structure
rgb_t struc
r db ?
g db ?
b db ?
rgb_t ends
PALETTE_COLORS = 16
palette_t struc
colors rgb_t PALETTE_COLORS dup(<?>)
palette_t ends
; ---------------------
; Rank definitions

View File

@ -18,6 +18,17 @@ RES_Y = 400
ROW_SIZE = (RES_X / 8)
PLANE_SIZE = (ROW_SIZE * RES_Y)
COLOR_COUNT = 16
; RGB color triple, used for the Palettes structure
rgb_t struc
r db ?
g db ?
b db ?
rgb_t ends
palette_t struc
colors rgb_t COLOR_COUNT dup(<?>)
palette_t ends
; ========
SEG_PLANE_B = 0A800h

View File

@ -2543,7 +2543,7 @@ loc_CE8B:
inc si
loc_CEAA:
cmp si, PALETTE_COLORS
cmp si, COLOR_COUNT
jl short loc_CE8B
call far ptr palette_show
mov PaletteTone, 100
@ -2609,7 +2609,7 @@ loc_CF2D:
inc di
loc_CF34:
cmp di, PALETTE_COLORS
cmp di, COLOR_COUNT
jl short loc_CEFA
call far ptr palette_show
push 1