9d510e51b7
This is a super simple linked list memory allocator, written with lots of help from my friend hyenasky.
17 lines
354 B
Modula-2
17 lines
354 B
Modula-2
; fox32os routine definitions
|
|
|
|
; system jump table
|
|
get_os_version: jmp [0x00000810]
|
|
|
|
; FXF jump table
|
|
parse_fxf_binary: jmp [0x00000820]
|
|
|
|
; task jump table
|
|
new_task: jmp [0x00000830]
|
|
yield_task: jmp [0x00000834]
|
|
end_current_task: jmp [0x00000838]
|
|
|
|
; memory jump table
|
|
allocate_memory: jmp [0x00000840]
|
|
free_memory: jmp [0x00000844]
|