Project restructuring
This commit is contained in:
parent
06fb7d975b
commit
75d8ae5d7f
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
.vscode
|
.vscode
|
||||||
a.out
|
build
|
4
Makefile
4
Makefile
@ -8,9 +8,9 @@ all: compile upload
|
|||||||
|
|
||||||
compile:
|
compile:
|
||||||
@echo "Compiling for 65c02"
|
@echo "Compiling for 65c02"
|
||||||
@vasm6502_oldstyle -Fbin -dotdir -wdc02 main.s | grep :
|
@vasm6502_oldstyle -Fbin -dotdir -wdc02 src/main.s -o build/kernel.bin | grep :
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
@echo "Uploading"
|
@echo "Uploading"
|
||||||
@minipro -p SST39SF040 -w a.out -Sy
|
@minipro -p SST39SF040 -w build/kernel.bin -Sy
|
||||||
|
|
||||||
|
@ -67,19 +67,13 @@ Memory_Manager.s
|
|||||||
+- kernel_pull_y
|
+- kernel_pull_y
|
||||||
|
|
||||||
--- Still planing ---
|
--- Still planing ---
|
||||||
|
|
||||||
Software Stack:
|
|
||||||
(for A, X and Y)
|
|
||||||
push
|
|
||||||
pop
|
|
||||||
|
|
||||||
reserve
|
reserve
|
||||||
dispose
|
dispose
|
||||||
grow
|
grow
|
||||||
shrink
|
shrink
|
||||||
|
|
||||||
|
|
||||||
Maybe also: External Fragmantation
|
External Fragmantation
|
||||||
or: Variable houskeeping in a List of pointers
|
or: Variable houskeeping in a List of pointers
|
||||||
--- Still planing ---
|
--- Still planing ---
|
||||||
|
|
BIN
docs/LS7 Kernel Manual.pdf
Normal file
BIN
docs/LS7 Kernel Manual.pdf
Normal file
Binary file not shown.
@ -90,11 +90,13 @@ kernel_pull_x:
|
|||||||
; X <= Pulled Data
|
; X <= Pulled Data
|
||||||
|
|
||||||
sty kernel_stack_offload_1
|
sty kernel_stack_offload_1
|
||||||
|
sta kernel_stack_offload_2
|
||||||
ldy kernel_stack_counter
|
ldy kernel_stack_counter
|
||||||
ldx (kernel_stack_pointer), y
|
lda (kernel_stack_pointer), y
|
||||||
|
tax
|
||||||
dec kernel_stack_pointer
|
dec kernel_stack_pointer
|
||||||
ldy kernel_stack_offload_1
|
ldy kernel_stack_offload_1
|
||||||
|
lda kernel_stack_offload_2
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user