diff options
author | Nao Pross <naopross@thearcway.org> | 2017-07-04 11:35:23 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2017-07-04 11:35:23 +0200 |
commit | b14d0afe86966b91ad6a40816439cdc34602b49e (patch) | |
tree | f0d3bb06a9d41ad4dc5277251f9d82fe40e46595 /sw/z80/build/kernel/kernel.asm | |
parent | merge branch 'atlas' into naopross (diff) | |
download | z80uPC-b14d0afe86966b91ad6a40816439cdc34602b49e.tar.gz z80uPC-b14d0afe86966b91ad6a40816439cdc34602b49e.zip |
new structure for process management, structures to discuss
the idea behind kernel/include/progman.h was good but the implementation was
very not unix-like, so I made a new file under
kernel/include/process.h that will implement the same features
other changes:
- move usart register structs definitions outside of the device
- remove old build files
- delete boot.h and boot_loader.h (as they weren't used by anything)
- change on makefile to build binary with `makebin` instead of `xxd`
- new file memory.h to implement memory mapping and mmu control
- new type `uint` in types.h
Diffstat (limited to 'sw/z80/build/kernel/kernel.asm')
-rw-r--r-- | sw/z80/build/kernel/kernel.asm | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/sw/z80/build/kernel/kernel.asm b/sw/z80/build/kernel/kernel.asm deleted file mode 100644 index a29db4d..0000000 --- a/sw/z80/build/kernel/kernel.asm +++ /dev/null @@ -1,65 +0,0 @@ -;-------------------------------------------------------- -; File Created by SDCC : free open source ANSI-C Compiler -; Version 3.5.0 #9253 (Mar 24 2016) (Linux) -; This file was generated Tue May 2 18:13:35 2017 -;-------------------------------------------------------- - .module kernel - .optsdcc -mz80 - -;-------------------------------------------------------- -; Public variables in this module -;-------------------------------------------------------- - .globl _main -;-------------------------------------------------------- -; special function registers -;-------------------------------------------------------- -;-------------------------------------------------------- -; ram data -;-------------------------------------------------------- - .area _DATA -;-------------------------------------------------------- -; ram data -;-------------------------------------------------------- - .area _INITIALIZED -;-------------------------------------------------------- -; absolute external ram data -;-------------------------------------------------------- - .area _DABS (ABS) -;-------------------------------------------------------- -; global & static initialisations -;-------------------------------------------------------- - .area _HOME - .area _GSINIT - .area _GSFINAL - .area _GSINIT -;-------------------------------------------------------- -; Home -;-------------------------------------------------------- - .area _HOME - .area _HOME -;-------------------------------------------------------- -; code -;-------------------------------------------------------- - .area _CODE -;kernel/kernel.c:4: void main(void) -; --------------------------------- -; Function main -; --------------------------------- -_main:: -;kernel/kernel.c:7: for (i = 0; i < 10; i++) { - ld de,#0x000A -00104$: -;kernel/kernel.c:8: j--; - ld c,e - ld b,d - dec bc - ld e, c -;kernel/kernel.c:7: for (i = 0; i < 10; i++) { - ld a,b - ld d,a - or a,c - jr NZ,00104$ - ret - .area _CODE - .area _INITIALIZER - .area _CABS (ABS) |