Added California & Colarado laws, copied & modifed from https://github.com/c3d/db48x/blob/stable/LEGAL-NOTICE.md

This commit is contained in:
deadvey
2026-03-03 19:13:16 +00:00
parent a3ed2c801a
commit 02657c3fcd
4 changed files with 20 additions and 11 deletions

View File

@@ -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/>
names are limited to 11 characters due to FAT12 limitations<br/>
(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.

View File

View File

@@ -20,8 +20,8 @@ os_read_input:
keyboard_display_input:
pusha
mov di, ax
mov ax, bx ; Lazy TODO
mov cx, [prompt_length]
mov ax, bx
mov bx,20
.loop:
jmp .check_key_pressed
@@ -40,11 +40,11 @@ keyboard_display_input:
cmp al, 1Bh
je .esc_key
cmp cx, 0
jb .check_key_pressed
dec bx
cmp bx, 0
jae .print_current_input ; Echo the user input back
call .print_current_input
dec cx
jmp .check_key_pressed
.esc_key:
@@ -57,7 +57,8 @@ keyboard_display_input:
ret ; Return to the parent function (whatever that may be)
.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
.move_cursor_back:
@@ -70,16 +71,15 @@ keyboard_display_input:
mov al, 08h
int 10h
inc bx
dec di
jmp .loop
.print_current_input: ; Echo back that character and return the key inputing
stosb
mov ah, 0Eh
int 10h
ret
jmp .check_key_pressed
keyboard_get_cursor_pos: ;TODO
ret

View File