all: Enable optimizations
This commit is contained in:
parent
5a67c5bd8f
commit
ccd0b837c8
|
@ -1,5 +1,7 @@
|
||||||
; menu bar clock
|
; menu bar clock
|
||||||
|
|
||||||
|
opton
|
||||||
|
|
||||||
loop:
|
loop:
|
||||||
; redraw the window title if the active window has changed
|
; redraw the window title if the active window has changed
|
||||||
call get_active_window_struct
|
call get_active_window_struct
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
; background image utility
|
; background image utility
|
||||||
|
|
||||||
|
opton
|
||||||
|
|
||||||
; open the background file and draw it
|
; open the background file and draw it
|
||||||
; if the file can't be opened, then just exit
|
; if the file can't be opened, then just exit
|
||||||
call get_current_disk_id
|
call get_current_disk_id
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
(* FIXME: this module should probably be moved somewhere global so all applications can use it *)
|
||||||
|
|
||||||
MODULE OS;
|
MODULE OS;
|
||||||
EXTERN PROCEDURE new_window, destroy_window, draw_str_to_overlay, get_window_overlay_number,
|
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,
|
draw_widgets_to_window, draw_filled_rectangle_to_overlay, GetNextWindowEvent, DrawPixel,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
opton
|
||||||
|
|
||||||
pop [terminalStreamPtr]
|
pop [terminalStreamPtr]
|
||||||
pop [arg0Ptr]
|
pop [arg0Ptr]
|
||||||
pop [arg1Ptr]
|
pop [arg1Ptr]
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
; simple paint application
|
; simple paint application
|
||||||
|
|
||||||
|
opton
|
||||||
|
|
||||||
mov r0, canvas_window_struct
|
mov r0, canvas_window_struct
|
||||||
mov r1, canvas_window_title
|
mov r1, canvas_window_title
|
||||||
mov r2, 512
|
mov r2, 512
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
; simple application launcher
|
; simple application launcher
|
||||||
|
|
||||||
|
opton
|
||||||
|
|
||||||
; create the window
|
; create the window
|
||||||
mov r0, window_struct
|
mov r0, window_struct
|
||||||
mov r1, window_title
|
mov r1, window_title
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
opton
|
||||||
|
|
||||||
call Main
|
call Main
|
||||||
call end_current_task
|
call end_current_task
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
; serial terminal - spawn sh.fxf on the serial port
|
; serial terminal - spawn sh.fxf on the serial port
|
||||||
|
|
||||||
|
opton
|
||||||
|
|
||||||
; start an instance of sh.fxf
|
; start an instance of sh.fxf
|
||||||
call get_current_disk_id
|
call get_current_disk_id
|
||||||
mov r1, r0
|
mov r1, r0
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
; fox32os shell
|
; fox32os shell
|
||||||
|
|
||||||
|
opton
|
||||||
|
|
||||||
const CURSOR: 0x8A
|
const CURSOR: 0x8A
|
||||||
const FILL_TERM: 0xF0
|
const FILL_TERM: 0xF0
|
||||||
const MOVE_CURSOR: 0xF1
|
const MOVE_CURSOR: 0xF1
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
; terminal
|
; terminal
|
||||||
|
|
||||||
|
opton
|
||||||
|
|
||||||
; create the window
|
; create the window
|
||||||
mov r0, window_struct
|
mov r0, window_struct
|
||||||
mov r1, window_title
|
mov r1, window_title
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
; fox32os kernel
|
; fox32os kernel
|
||||||
|
|
||||||
|
opton
|
||||||
|
|
||||||
const LOAD_ADDRESS: 0x03000000
|
const LOAD_ADDRESS: 0x03000000
|
||||||
|
|
||||||
const FOX32OS_VERSION_MAJOR: 0
|
const FOX32OS_VERSION_MAJOR: 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user