From fdacbb1deb6cf22ae1fb91cc1fe174dc08a783ab Mon Sep 17 00:00:00 2001 From: 0xMAC8205 Date: Thu, 7 Dec 2023 22:45:26 +0100 Subject: [PATCH] Added new Files --- assets/ASCII.bin | Bin 0 -> 2048 bytes assets/ASCII.bmf | Bin 0 -> 4097 bytes assets/UTF-8.2.bmf | Bin 4097 -> 0 bytes assets/UTF-8.bin | Bin 2048 -> 0 bytes build.sh | 2 +- docs/LS7 Kernel Manual.pdf | Bin src/bootloader.s | 0 src/kernel/console.s | 9 ++++++++- src/kernel/scheduler.s | 0 src/kernel/threading.s | 0 upload.sh | 2 +- 11 files changed, 10 insertions(+), 3 deletions(-) create mode 100755 assets/ASCII.bin create mode 100755 assets/ASCII.bmf delete mode 100755 assets/UTF-8.2.bmf delete mode 100755 assets/UTF-8.bin mode change 100644 => 100755 build.sh mode change 100644 => 100755 docs/LS7 Kernel Manual.pdf mode change 100644 => 100755 src/bootloader.s create mode 100755 src/kernel/scheduler.s create mode 100755 src/kernel/threading.s mode change 100644 => 100755 upload.sh diff --git a/assets/ASCII.bin b/assets/ASCII.bin new file mode 100755 index 0000000000000000000000000000000000000000..47bfc2865ccaa83d948731b79f844940b579c851 GIT binary patch literal 2048 zcmeH`A&(m|5QRt4fCU8x1q%%pEGUSo0|o{L1`7fXEI3sK1px&I4lb}x2ks{o_CFPt z_Iq|J^*=NdWhc)&e)HzpF}sHx2nq|fuEURIdF8WM$R+s^tZq|?OSQ0uho|kqVjOjI zETzQRWenh^M}@u~VCI5X zNVt_37TPTr%jGNU$?9!ilKha&6$5i^%GAzbK=Z5dWcqf$??pukfeN zgNF+GjCwuSb>RIOzBQ~YDfhaj>FAfEB3p?}Jh|mAEOUPK?USK$3E(aK_lE_r3>~cu0tyBk2pkX)aA0*>5D+lHAYeg3!0J?RV8MZc!hlg#&`&DtKOH>U z=SkOgPWJ^>W~I$I&-2E9b{xXKb_JXQQC5ihrtfuIH(mFPU#BnQmn6s62scYYcB{C3-8z^W#Fw&q41AuiJg6Oy zB7iXrObBsnlk>m()^Q=y^Cd6jaU5RQ`4^_fhdTiDIE;~+qw)ob-NpZDYre=Pr`VW( zK&%#S0EP>b;>f4*^<7@y-d|qqz`%vE)PG@w&x_gvqh2l_K|Nmb6C8|hwX>cd^8@@% zZ~o`LLFA8ylPvE)Jxw4`K3ulBj~{0VNO8W-XKzDaEaOLhLZJQ?cm2BNZ+z13J|6U< zEInW89lzLpzs2WAcCSt)`s=pALuuFz;yKwfq9-y zAK20X$|tzj2Ol#UpeWvAcqKP4t6KQGIkZFva`W@Y`G)-e*>*qw{(1i1-q79N_1ODi T{~q>vuqv?6!+jop<$3r4+42+- literal 0 HcmV?d00001 diff --git a/assets/UTF-8.2.bmf b/assets/UTF-8.2.bmf deleted file mode 100755 index 4e4efb35c3de03d5f3879cac43697265be0b7b2b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4097 zcmeHJA+HoM5N<9ND-eZ1Sb-?XCRAR?iHc2VNX3d1D^{F9AWk5jc;bl_4S9LtS3HSC z5)?rZ9Df5xg2ur&yYFUZFC;*MEF8BKte4LQ3W)i{J}mtes-DVc>uI#CpFApD zS;p;@FyY~yIVEs`yqcWFXxl9IDed;UzQ&*f)c&m9Aittdd`W_9KT^PIm6kf38*271 zF`_pY`Lu@WFAJvB_0M~`6UaGIp!~lW&;bfh9jY)@Sn6*K_JB)F7FdtZ&g>rTM z`ua-zuj^17eO!$ReXp&?N}s+XccxsufBQ!H6VJ1z@BPALeqD&xx>6q_Xs&DhamJ^4 zVNC$%cYBcz(`~uf;08Ou>DMpN1b7R0e=K(E=;N`NF?|RLqB%Ctv HA7tPsjgGg6 diff --git a/assets/UTF-8.bin b/assets/UTF-8.bin deleted file mode 100755 index 90fc4071dc67d0230a9a9f3c7ac4a5be2452f8dc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2048 zcmeHGv5MR<6dZ&IE|wsUD@-s!2obJaQUqfZqX=W1^EjJOeOZ-?Sg>11{Aw(L`dVjq=2fvqkx`R9gZew?ZN0dnT{2P#bYBUjZx?9;!v-PT%hBThuLRM}7fveLB` z|9CCd1|Z6b6@uu}0p@NHZ!VF+)ywao`t%Voo|m+oS)&5-Db>`Enk?%b5o3^ORum1L$eMw!cO< z2V%At9nAC%_{4D^q%H=Obb@4wIgp7S+d MeYm~{FYkZwA2*|uQ2+n{ diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index bdb05ac..55c1630 --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh echo "Compiling for 65c02" diff --git a/docs/LS7 Kernel Manual.pdf b/docs/LS7 Kernel Manual.pdf old mode 100644 new mode 100755 diff --git a/src/bootloader.s b/src/bootloader.s old mode 100644 new mode 100755 diff --git a/src/kernel/console.s b/src/kernel/console.s index 3843a7e..f7902e4 100755 --- a/src/kernel/console.s +++ b/src/kernel/console.s @@ -17,6 +17,13 @@ console_write: ; Return propper work addresses in X & Y (for static support) ; + ; 00 = END of string + ; 0a = New Line + ; 08 = Backspace + ; 09 | 0b = Tab + ; 0d = x cursor origin + ; + stx z0 sty z1 @@ -49,7 +56,7 @@ console_write_loop: lda #$1f sta cursor_y -console_write_skip_overflow: +console_write_skip_overflow: ldx cursor_x ldy cursor_y jsr vram_write diff --git a/src/kernel/scheduler.s b/src/kernel/scheduler.s new file mode 100755 index 0000000..e69de29 diff --git a/src/kernel/threading.s b/src/kernel/threading.s new file mode 100755 index 0000000..e69de29 diff --git a/upload.sh b/upload.sh old mode 100644 new mode 100755 index 5fa4b63..0b48fcd --- a/upload.sh +++ b/upload.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh echo -e "\nUploading..."