feat(utils): add integrity module
This commit is contained in:
@@ -8,6 +8,7 @@ section BBHASHES
|
||||
|
||||
; Utility functions
|
||||
section MEMTEST load 8800
|
||||
section INTEGRITY
|
||||
|
||||
; Static data
|
||||
section VECTORS high 100000
|
||||
|
18
src/utils.s
18
src/utils.s
@@ -1,9 +1,10 @@
|
||||
; CHIBI PC-09 Prototype #1 Boot ROM -- Memory Testing Routines
|
||||
; CHIBI PC-09 Prototype #1 Boot ROM -- BIOS Utilities
|
||||
; Copyright (c) 2024-2025 Amber Zeller, Gale Faraday
|
||||
; Licensed under MIT
|
||||
|
||||
INCLUDE "hardware.inc"
|
||||
INCLUDE "serial.inc"
|
||||
INCLUDE "version.inc"
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;
|
||||
@@ -58,3 +59,18 @@ LOOP@
|
||||
MSG_FINISH
|
||||
fcc "Memory test finished! Please reset"
|
||||
fcb $0D,$0A,$00
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;
|
||||
;; CHIBI PC-09 Integrity Functions
|
||||
;;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
SECTION INTEGRITY
|
||||
|
||||
EXPORT PRINTVER
|
||||
|
||||
; Prints the ROM's version string
|
||||
PRINTVER
|
||||
PZSTR VERMSG
|
||||
rts
|
||||
|
Reference in New Issue
Block a user