mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 06:28:09 +11:00
cdd0b64570
Instead of expecting a `USER_CODE` symbol to be set, we expect `.org` to be set in all userspace glue code. This gives us more flexibility with regards to how we manage that. Moreover, instead of making `USER_RAMSTART` mandatory, we make it default to the end of the binary, which is adequate in a majority of cases. Will be useful for my upcoming mega-commit... :)
20 lines
366 B
NASM
20 lines
366 B
NASM
; memt
|
|
;
|
|
; Write all possible values in all possible addresses that follow the end of
|
|
; this program. That means we don't test all available RAM, but well, still
|
|
; better than nothing...
|
|
;
|
|
; If there's an error, prints out where.
|
|
;
|
|
; *** Requirements ***
|
|
; printstr
|
|
; printHexPair
|
|
;
|
|
; *** Includes ***
|
|
|
|
.inc "user.h"
|
|
jp memtMain
|
|
|
|
.inc "memt/main.asm"
|
|
USER_RAMSTART:
|