Added California & Colarado laws, copied & modifed from https://github.com/c3d/db48x/blob/stable/LEGAL-NOTICE.md
This commit is contained in:
@@ -55,3 +55,12 @@ docs on writing BASIC code. In order to create new<br/>
|
|||||||
files, place them in the /data/ directory, note the file<br/>
|
files, place them in the /data/ directory, note the file<br/>
|
||||||
names are limited to 11 characters due to FAT12 limitations<br/>
|
names are limited to 11 characters due to FAT12 limitations<br/>
|
||||||
(8 for the name and 3 for the extension).
|
(8 for the name and 3 for the extension).
|
||||||
|
|
||||||
|
# Legal information
|
||||||
|
As a consequence of recent legislative activity in [California][https://leginfo.legislature.ca.gov/faces/billTextClient.xhtml?bill_id=202520260AB1043] and [Colororado][https://leg.colorado.gov/bill_files/111670/download]:
|
||||||
|
|
||||||
|
* California residents may no longer use CrawOS after Jan 1st, 2027.
|
||||||
|
* Colorado residents may no longer use CrawOS after Jan 1st, 2028.
|
||||||
|
|
||||||
|
CrawOS is probably an operating system under these laws. However, it
|
||||||
|
does not, cannot and will not implement age verification.
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ os_read_input:
|
|||||||
keyboard_display_input:
|
keyboard_display_input:
|
||||||
pusha
|
pusha
|
||||||
mov di, ax
|
mov di, ax
|
||||||
mov ax, bx ; Lazy TODO
|
mov ax, bx
|
||||||
mov cx, [prompt_length]
|
mov bx,20
|
||||||
|
|
||||||
.loop:
|
.loop:
|
||||||
jmp .check_key_pressed
|
jmp .check_key_pressed
|
||||||
@@ -40,11 +40,11 @@ keyboard_display_input:
|
|||||||
cmp al, 1Bh
|
cmp al, 1Bh
|
||||||
je .esc_key
|
je .esc_key
|
||||||
|
|
||||||
cmp cx, 0
|
dec bx
|
||||||
jb .check_key_pressed
|
|
||||||
|
cmp bx, 0
|
||||||
|
jae .print_current_input ; Echo the user input back
|
||||||
|
|
||||||
call .print_current_input
|
|
||||||
dec cx
|
|
||||||
jmp .check_key_pressed
|
jmp .check_key_pressed
|
||||||
|
|
||||||
.esc_key:
|
.esc_key:
|
||||||
@@ -57,7 +57,8 @@ keyboard_display_input:
|
|||||||
ret ; Return to the parent function (whatever that may be)
|
ret ; Return to the parent function (whatever that may be)
|
||||||
|
|
||||||
.backspace:
|
.backspace:
|
||||||
jmp .move_cursor_back ; then .move_cursor_back
|
cmp bx, 20 ; Cannot backspace if the cursor is at the start
|
||||||
|
jb .move_cursor_back ; then .move_cursor_back
|
||||||
jmp .loop ; Else .loop
|
jmp .loop ; Else .loop
|
||||||
|
|
||||||
.move_cursor_back:
|
.move_cursor_back:
|
||||||
@@ -70,16 +71,15 @@ keyboard_display_input:
|
|||||||
mov al, 08h
|
mov al, 08h
|
||||||
int 10h
|
int 10h
|
||||||
|
|
||||||
|
inc bx
|
||||||
dec di
|
dec di
|
||||||
jmp .loop
|
jmp .loop
|
||||||
|
|
||||||
.print_current_input: ; Echo back that character and return the key inputing
|
.print_current_input: ; Echo back that character and return the key inputing
|
||||||
stosb
|
stosb
|
||||||
|
|
||||||
mov ah, 0Eh
|
mov ah, 0Eh
|
||||||
int 10h
|
int 10h
|
||||||
|
jmp .check_key_pressed
|
||||||
ret
|
|
||||||
|
|
||||||
keyboard_get_cursor_pos: ;TODO
|
keyboard_get_cursor_pos: ;TODO
|
||||||
ret
|
ret
|
||||||
|
|||||||
Reference in New Issue
Block a user