all: Enable optimizations

main
Ry 2023-07-24 21:17:56 -07:00
parent 5a67c5bd8f
commit ccd0b837c8
11 changed files with 22 additions and 0 deletions

View File

@ -1,5 +1,7 @@
; menu bar clock
opton
loop:
; redraw the window title if the active window has changed
call get_active_window_struct

View File

@ -1,5 +1,7 @@
; background image utility
opton
; open the background file and draw it
; if the file can't be opened, then just exit
call get_current_disk_id

View File

@ -1,3 +1,5 @@
(* FIXME: this module should probably be moved somewhere global so all applications can use it *)
MODULE OS;
EXTERN PROCEDURE new_window, destroy_window, draw_str_to_overlay, get_window_overlay_number,
draw_widgets_to_window, draw_filled_rectangle_to_overlay, GetNextWindowEvent, DrawPixel,

View File

@ -1,3 +1,5 @@
opton
pop [terminalStreamPtr]
pop [arg0Ptr]
pop [arg1Ptr]

View File

@ -1,5 +1,7 @@
; simple paint application
opton
mov r0, canvas_window_struct
mov r1, canvas_window_title
mov r2, 512

View File

@ -1,5 +1,7 @@
; simple application launcher
opton
; create the window
mov r0, window_struct
mov r1, window_title

View File

@ -1,3 +1,5 @@
opton
call Main
call end_current_task

View File

@ -1,5 +1,7 @@
; serial terminal - spawn sh.fxf on the serial port
opton
; start an instance of sh.fxf
call get_current_disk_id
mov r1, r0

View File

@ -1,5 +1,7 @@
; fox32os shell
opton
const CURSOR: 0x8A
const FILL_TERM: 0xF0
const MOVE_CURSOR: 0xF1

View File

@ -1,5 +1,7 @@
; terminal
opton
; create the window
mov r0, window_struct
mov r1, window_title

View File

@ -1,5 +1,7 @@
; fox32os kernel
opton
const LOAD_ADDRESS: 0x03000000
const FOX32OS_VERSION_MAJOR: 0