Project restructuring

This commit is contained in:
0xMAC8205 2023-11-15 14:12:14 +01:00
parent 06fb7d975b
commit 75d8ae5d7f
7 changed files with 8 additions and 12 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
.vscode .vscode
a.out build

View File

@ -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

BIN
a.out

Binary file not shown.

View File

@ -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

Binary file not shown.

View File

@ -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

View File