ch01v2b.s
Original bytes preserved. This is a browser-readable view.
; CS617 chapter01-u32calc-v2 historical v1 + shared VT22 r022 source candidate
; Alex Barragan and ChatGPT (Sol), 2026-10-25
; r021 accepted runtime baseline retained; caller-bound ROM or RAM reader.
; r022 native assembly and dual-model runtime qualification OPEN.
ORG 0
LEVEL 0
#INCLUDE (lib2/platform/1/defs.s)
#INCLUDE (lib2/keyboard/3/keyv540.inc)
#INCLUDE (lib2/platform/1/header.s)
#INCLUDE (lib2/platform/1/bridge.s)
#INCLUDE (lib2/platform/1/vectors.s)
#INCLUDE (apps/ch01v2.s)
#INCLUDE (apps/parser.s)
#INCLUDE (apps/tape.s)
; Historical r003 calculator semantics, application-local adapter.
#INCLUDE (apps/classic.s)
#INCLUDE (lib2/platform/1/lcd.s)
#INCLUDE (lib2/timer/1/timer.s)
#INCLUDE (lib2/splash/1/splash.s)
#INCLUDE (lib2/keyboard/3/keyv540.s)
#INCLUDE (lib2/keyboard/3/keyboard.s)
#INCLUDE (lib2/menu/1/menu.s)
#INCLUDE (lib2/u32/1/add_u32_u32.inc)
#INCLUDE (lib2/u32/1/sub_u32_u32.inc)
#INCLUDE (lib2/u32/1/checked_add_sub_u32.inc)
#INCLUDE (lib2/u32/1/checked_mul_u32.inc)
#INCLUDE (lib2/u32/1/divmod_u32_u32.inc)
#INCLUDE (lib2/u32/1/divmod_u32_u16.inc)
#INCLUDE (lib2/u32/1/format_u32_dec.inc)
#INCLUDE (lib2/u32/1/mul_u32_u32.inc)
#INCLUDE (lib2/u32/1/dec_append_u32.inc)
#INCLUDE (lib2/u32/1/parse_u32_dec.inc)
#INCLUDE (lib2/input/10e/input.s)
; Exact shared provider bytes, pinned in upstream manifest. Never fork it.
#INCLUDE (lib2/vt/23/vt_core.inc)
; Shared RS232C backend is PB-2000C only until independently qualified.
#INCLUDE (lib2/rs232c/1/rs232c.inc)
#INCLUDE (lib2/rs232c/1/om52c.inc)
#INCLUDE (lib2/rs232c/1/rs232c_code.inc)
#INCLUDE (lib2/cursor/1/sysv540.s)
; Immutable 80x24 [info] document at a separately checked ROM region.
#INCLUDE (apps/info_doc.s)
#LIST
#INCLUDE (lib2/platform/1/keytab.s)
ORG &HFFFF
DB 0