-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Github Pages URL and show ROM source (#12)
* Fix URLs for github pages * Show source for rom
- Loading branch information
1 parent
18ab7a9
commit 9628c1c
Showing
10 changed files
with
173 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
( pixel fill example ) | ||
|10 @Screen &vector $2 &x $1 &y $1 &pixel $1 | ||
|
||
|100 | ||
( screen center ) | ||
#60 .Screen/x DEO | ||
#48 .Screen/y DEO | ||
|
||
( fill top left quadrant ) | ||
#e8 .Screen/pixel DEO | ||
( fill top right quadrant ) | ||
#69 .Screen/pixel DEO | ||
( fill bottom right quadrant ) | ||
#2c .Screen/pixel DEO | ||
( fill bottom left quadrant ) | ||
#ab .Screen/pixel DEO | ||
BRK | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
( pixel deo example ) | ||
|10 @Screen &vector $2 &x $1 &y $1 &pixel $1 | ||
|
||
|100 | ||
( fill bg ) | ||
#00 .Screen/x DEO | ||
#00 .Screen/y DEO | ||
#21 .Screen/pixel DEO | ||
|
||
( draw pixel at the center ) | ||
#60 .Screen/x DEO | ||
#48 .Screen/y DEO | ||
#08 .Screen/pixel DEO | ||
BRK | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
( sprite example ) | ||
|10 @Screen &vector $2 &x $1 &y $1 &pixel $1 &pad $3 &address $2 &sprite $1 | ||
|
||
|0100 ( -> ) | ||
#5c .Screen/x DEO | ||
#44 .Screen/y DEO | ||
;coco .Screen/address DEO2 | ||
#00 .Screen/sprite DEO | ||
BRK | ||
|
||
@coco | ||
0077 7700 | ||
0777 7770 | ||
6717 7176 | ||
7f77 77f7 | ||
7711 1177 | ||
7772 8777 | ||
7777 7777 | ||
7607 7067 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
( sprite example ) | ||
|10 @Screen &vector $2 &x $1 &y $1 &pixel $1 &pad $3 &address $2 &sprite $1 | ||
|
||
%MOD { DUP2 DIV MUL SUB } ( a b -- a%b ) | ||
|
||
|0100 ( -> ) | ||
;on-frame .Screen/vector DEO2 | ||
;coco .Screen/address DEO2 | ||
|
||
( draw bg ) | ||
#21 .Screen/pixel DEO | ||
BRK | ||
|
||
@on-frame ( -> ) | ||
( clear foreground ) | ||
.Screen/x DEI | ||
#00 .Screen/x DEO | ||
#00 .Screen/y DEO | ||
#30 .Screen/pixel DEO | ||
|
||
( move ghost ) | ||
INC #c0 MOD .Screen/x DEO | ||
#44 .Screen/y DEO | ||
|
||
( draw ghost ) | ||
#10 .Screen/sprite DEO | ||
BRK | ||
|
||
@coco | ||
0077 7700 | ||
0777 7770 | ||
6717 7176 | ||
7f77 77f7 | ||
7711 1177 | ||
7772 8777 | ||
7777 7777 | ||
7607 7067 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
./build.sh | ||
mkdir -p dist/roms | ||
cp -r coco-ui/roms dist/ | ||
cp -r coco-ui/vendor dist/ | ||
cp coco-ui/index.* dist/ | ||
|