From eb7745c32452788ddb2adeb1c938cab740d0f694 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Fri, 16 Nov 2018 21:13:52 -0800 Subject: [PATCH] use padding macros --- desktop/loader.s | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/desktop/loader.s b/desktop/loader.s index 86aa068..88e5317 100644 --- a/desktop/loader.s +++ b/desktop/loader.s @@ -412,8 +412,7 @@ max_page: .byte 0 .endproc - ;; Padding - .res $2200 - *,0 + PAD_TO $2200 .endproc ; install_segments ;;; ============================================================ @@ -648,8 +647,7 @@ restore_state: invoke_slot1: jmp SLOT1 - ;; Padding - .res $400 - *, 0 + PAD_TO $400 .endproc ; dump_screen .assert .sizeof(install_as_quit) + .sizeof(quit_routine) + .sizeof(install_segments) + .sizeof(dump_screen) = $580, error, "Size mismatch"