collapseos/kernel/user.h.example
Virgil Dupras bc1496a7e3 zasm emul: bring back kernel/user distinction
It was a bad idea to remove it. Now that I'm introducing the concept of
a per-app glue file, it becomes much easier to build emulated zasm as a
userspace app.
2019-05-19 12:57:59 -04:00

8 lines
400 B
Plaintext

; Example include file for userspace program
; All userspace programs include this file in they main source file so that
; they know a couple of vital things about the system such as where user memory
; starts. This is an example file with required constants.
.equ USER_CODE 0x4800 ; Where in memory user code is loaded
.equ USER_RAMSTART 0x8800 ; Where in memory user memory begins