diff --git a/projects/examples/blank.usm b/projects/examples/blank.usm new file mode 100644 index 0000000..f9b60ea --- /dev/null +++ b/projects/examples/blank.usm @@ -0,0 +1,32 @@ +( a blank file ) + +%RTN { JMP2r } + +( devices ) + +|0100 ;Console { pad 8 char 1 byte 1 short 2 string 2 } +|0110 ;Screen { width 2 height 2 pad 4 x 2 y 2 color 1 } +|0120 ;Sprite { pad 8 x 2 y 2 addr 2 color 1 } +|0130 ;Controller { p1 1 } +|0140 ;Keys { key 1 } +|0150 ;Mouse { x 2 y 2 state 1 chord 1 } +|0160 ;File { pad 8 name 2 length 2 load 2 save 2 } +|01F0 ;System { pad 8 r 2 g 2 b 2 } + +( vectors ) + +|0200 ,RESET JMP2 +|0204 ,ERROR JMP2 +|0208 ,FRAME JMP2 + +@RESET + +RTN + +@FRAME + +RTN + +@ERROR + +RTN diff --git a/projects/software/noodle.usm b/projects/software/noodle.usm index a49751d..af70bc4 100644 --- a/projects/software/noodle.usm +++ b/projects/software/noodle.usm @@ -10,6 +10,8 @@ TODO - Pixel cleanup brush + - Hide panes > presentation mode + - Don't zoom move beyond image width ) %RTN { JMP2r } @@ -744,6 +746,11 @@ RTN ( draw save/load/guides icons ) ~Screen.height #0010 SUB2 =Sprite.y ~Screen.width #0020 SUB2 =Sprite.x + ( TODO: Presentation mode button + ,guides_icn =Sprite.addr + #01 =Sprite.color + ~Sprite.x 8+ =Sprite.x + ) ,filestate_icn =Sprite.addr #01 =Sprite.color ~Sprite.x 8+ =Sprite.x @@ -890,6 +897,10 @@ RTN [ 80c0 e0f0 f8e0 1000 ] [ 4040 4070 f8f8 f870 ] +@eye + [ 0000 0082 4438 0000 ] ( open ) + [ 0038 4492 2810 0000 ] ( closed ) + @load_icn [ feaa d6aa d4aa f400 ] @save_icn [ fe82 8282 848a f400 ] @blank_icn [ 0000 0000 0000 0000 ]