diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..f581e22 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,11 @@ +# Released under MIT License + +Copyright (c) 2013 Mark Otto. + +Copyright (c) 2017 Andrew Fong. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Makefile b/Makefile index 543031f..9ef39e2 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,7 @@ video: scroller: $(KICKASS) scroller.asm + $(KICKASS) planety_bmpdata.asm prgs: keyb fontm video scroller @@ -40,6 +41,8 @@ disk: clean prgs c1541 -attach $(D64_FILE) -write data/ucieczka.music music c1541 -attach $(D64_FILE) -write video.prg video c1541 -attach $(D64_FILE) -write scroller.prg scrll + c1541 -attach $(D64_FILE) -write planet_bitmap.prg pbtmp + c1541 -attach $(D64_FILE) -write planet_color.prg pcolr c1541 -attach $(D64_FILE) -write data/video_font.bin vfont c1541 -attach $(D64_FILE) -write data/search-font.bin rfont c1541 -attach $(D64_FILE) -write data/results-text.bin restx diff --git a/README.md b/README.md index d7c922b..e0ed355 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ - pozdezreni, ze end_of_video: skonci driv nez dojede posledni frame robota ## Issues -- 3d scroller +- 3d scroller zobrazit obrazek, zmenit barvy - napojit na video 3d scroller - video blika - nestiha ladovat, je na spatncyh sektorech? pomuze tscrunch? - results ikony diff --git a/docs/memory.ods b/docs/memory.ods index 0394576..02b5deb 100644 Binary files a/docs/memory.ods and b/docs/memory.ods differ diff --git a/planety_bmpdata.asm b/planety_bmpdata.asm new file mode 100644 index 0000000..02e80df --- /dev/null +++ b/planety_bmpdata.asm @@ -0,0 +1,573 @@ +.segment PLANET_BITMAP [] +*=$2000 +planety_bitmapdata: +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $01, $03, $07, $0f +.byte $00, $00, $00, $f0, $fc, $fe, $ff, $ff, $00, $00, $00, $00, $00, $00, $00, $80 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $0f, $0f, $0f, $0f, $07, $07, $03, $01 +.byte $fc, $94, $00, $00, $00, $00, $00, $00, $80, $80, $80, $80, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $1f, $3f, $7f, $7f, $7f +.byte $ff, $ff, $9f, $00, $00, $00, $00, $00, $00, $00, $00, $c0, $fe, $ff, $ff, $ff +.byte $00, $00, $00, $00, $00, $c0, $fc, $ff, $00, $00, $00, $00, $00, $00, $00, $80 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $80, $80, $80, $c0, $e0, $e0, $f0, $f8 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $ff, $ff, $ff, $c0, $80, $00, $00, $c0, $f0, $fc, $ff, $7f, $07, $03, $07, $0f +.byte $ff, $ff, $f1, $e0, $e0, $e0, $80, $d8, $ff, $ff, $9f, $0f, $0d, $01, $03, $03 +.byte $00, $00, $00, $80, $c0, $f0, $f0, $f8, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $02, $07, $0f, $0f, $0f, $0f, $0f, $3f, $0f, $07, $03, $03, $03, $03, $03 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $03, $01, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $80, $e0, $e0, $f8, $fc, $00, $00, $00, $00, $00, $00, $00, $80 +.byte $3f, $1f, $0f, $07, $03, $00, $00, $00, $0f, $0f, $1f, $1f, $0f, $0f, $0f, $07 +.byte $00, $00, $00, $00, $00, $00, $e0, $dc, $d8, $d8, $80, $00, $00, $00, $00, $00 +.byte $07, $03, $03, $33, $1b, $f9, $fb, $ff, $00, $00, $00, $00, $00, $00, $c0, $f0 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $07, $07, $01, $00, $00, $00, $00, $00, $f8, $f0, $c0, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $ff, $7f, $3f, $0f, $03, $01, $00, $00 +.byte $00, $00, $00, $00, $00, $c0, $30, $08, $03, $01, $00, $18, $07, $01, $00, $00 +.byte $00, $00, $80, $e0, $f8, $fe, $9f, $ef, $00, $00, $00, $00, $00, $03, $ff, $ff +.byte $e6, $ce, $e4, $c8, $80, $00, $00, $00, $f8, $7e, $1f, $0f, $07, $03, $01, $01 +.byte $00, $00, $80, $c0, $e0, $f8, $fc, $ff, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $0f, $03, $00, $00, $00, $00, $00, $00, $ff, $ff, $ff, $3f, $1f, $07, $01, $00 +.byte $0e, $01, $00, $00, $40, $d0, $74, $1e, $00, $80, $70, $0c, $00, $00, $00, $00 +.byte $0f, $3f, $1f, $07, $00, $00, $00, $00, $00, $00, $00, $00, $96, $ff, $ff, $ff +.byte $80, $00, $80, $00, $00, $00, $00, $00, $7f, $3f, $0f, $07, $03, $01, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $80, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $0f, $03, $00, $00, $00, $00, $00, $00, $ff, $ff, $ff, $3f, $07, $00, $00, $00 +.byte $00, $00, $00, $00, $c0, $78, $0f, $00, $00, $00, $00, $00, $00, $00, $00, $c0 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $02, $02, $00, $00, $00, $00 +.byte $c0, $c0, $e0, $f0, $f0, $f8, $f8, $f8, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $ff, $1f, $00, $00, $00, $00, $00, $00 +.byte $ff, $ff, $ff, $07, $00, $00, $00, $00, $ff, $ff, $ff, $ff, $00, $00, $00, $00 +.byte $f8, $f0, $f0, $c0, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $03, $0f, $3f, $ff, $ff, $ff, $f8, $80, $00, $00, $00, $00 +.byte $ff, $ff, $03, $00, $00, $00, $00, $00, $00, $00, $00, $c0, $f0, $fc, $fe, $ff +.byte $00, $00, $00, $00, $00, $00, $00, $c0, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $01, $07, $0f, $1f, $ff, $ff, $fc, $c0, $00, $00, $00, $00 +.byte $ff, $ff, $ff, $df, $03, $00, $00, $00, $ff, $ff, $1f, $07, $01, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $80, $c0, $e0, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $01, $01, $03, $07, $1f, $1f, $3f, $3f +.byte $04, $06, $3c, $6e, $06, $1c, $dc, $38, $ff, $fe, $e2, $f6, $cc, $80, $00, $00 +.byte $0f, $03, $00, $03, $19, $7e, $63, $0e, $01, $07, $03, $3b, $7b, $61, $d0, $00 +.byte $1f, $1f, $07, $03, $03, $01, $00, $00, $00, $00, $00, $00, $00, $00, $00, $80 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $01, $03, $07, $0f, $0f +.byte $c8, $e5, $80, $00, $04, $00, $00, $00, $2f, $9f, $01, $00, $30, $00, $00, $00 +.byte $07, $ff, $3f, $00, $00, $00, $00, $00, $00, $00, $00, $00, $d0, $e0, $f0, $fc +.byte $00, $00, $00, $00, $80, $e0, $e0, $f8, $00, $00, $00, $00, $00, $80, $80, $c0 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $01, $01, $01, $03, $03, $c0, $88, $00, $10, $2c, $32, $4e, $1e +.byte $f8, $c0, $c3, $87, $8f, $a3, $00, $00, $00, $00, $a0, $d0, $d3, $fb, $ff, $ff +.byte $c0, $d8, $ff, $ff, $c4, $80, $f0, $f0, $39, $03, $03, $07, $83, $0f, $12, $7b +.byte $80, $88, $18, $00, $80, $00, $00, $90, $80, $c0, $c0, $e0, $e0, $e0, $e0, $f0 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $f0, $e0, $e0, $e0, $fb, $ff, $fb, $80 +.byte $00, $00, $00, $03, $0b, $ff, $ff, $3a, $00, $00, $00, $00, $c2, $ff, $ff, $ff +.byte $00, $00, $00, $10, $0c, $00, $01, $fe, $01, $00, $00, $00, $ff, $7f, $ff, $ff +.byte $fc, $fc, $fe, $fc, $e0, $20, $c0, $c0, $c0, $e0, $e0, $f0, $f0, $e0, $d0, $f0 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $03, $03, $03, $03, $03, $03, $03, $03, $fe, $f8, $f0, $f0, $f0, $f0, $e0, $e0 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $2a, $1d, $13, $30, $40, $01 +.byte $f0, $f0, $00, $38, $1a, $1e, $0c, $0c, $ff, $3f, $3f, $3f, $1f, $0f, $07, $05 +.byte $00, $00, $00, $60, $f0, $f0, $f0, $e0, $f0, $f0, $f0, $f0, $f0, $f8, $f8, $f0 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $1b, $4c, $03, $35, $7f, $07 +.byte $ff, $ff, $c8, $e0, $15, $02, $00, $00, $00, $00, $c0, $0c, $10, $e4, $3a, $97 +.byte $bf, $07, $00, $00, $00, $00, $00, $00, $ff, $ff, $1f, $01, $00, $00, $00, $00 +.byte $7f, $3f, $03, $00, $01, $01, $00, $00, $07, $17, $0f, $0f, $0f, $0b, $07, $07 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $03, $03, $03, $03, $03, $01, $01, $01, $7f, $9f, $ff, $3f, $17, $1f, $9f, $cf +.byte $03, $03, $00, $00, $00, $20, $00, $00, $c2, $e2, $e0, $00, $04, $00, $00, $00 +.byte $40, $00, $00, $04, $1c, $3c, $7c, $04, $fe, $f8, $f0, $e0, $00, $f8, $f0, $e0 +.byte $0b, $09, $00, $04, $03, $0b, $0a, $00, $f0, $f0, $f0, $f0, $e0, $e0, $e0, $c0 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $80, $80, $80, $c0, $c0, $c0 +.byte $ff, $0f, $00, $00, $00, $00, $00, $00, $fe, $e7, $00, $00, $00, $00, $00, $00 +.byte $e0, $20, $00, $00, $00, $00, $00, $00, $00, $00, $00, $47, $7f, $c7, $7f, $3f +.byte $00, $00, $00, $01, $0f, $0f, $1f, $7f, $f8, $fc, $f8, $f0, $e0, $e0, $e0, $c0 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $80, $c0, $c0, $e0, $f0, $f0 +.byte $ff, $ff, $ff, $27, $23, $b9, $09, $00, $ff, $7f, $3f, $07, $01, $00, $00, $0e +.byte $00, $08, $80, $b1, $63, $c3, $ef, $ff, $e0, $e7, $c6, $c1, $40, $80, $00, $40 +.byte $00, $00, $00, $00, $00, $01, $03, $03, $c0, $80, $80, $80, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $3f, $1f, $1f, $0f, $07, $03, $01, $01 +.byte $10, $ff, $ff, $2d, $01, $00, $00, $00, $00, $c0, $fc, $c5, $54, $00, $00, $00 +.byte $01, $07, $0f, $0f, $0f, $0f, $01, $00, $f0, $f8, $f8, $f0, $f0, $d0, $00, $80 +.byte $00, $00, $80, $e0, $80, $f0, $c0, $00, $80, $80, $c0, $c0, $80, $80, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $07, $01, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $80, $c0, $f0, $fe, $ff, $00, $00, $00, $80, $80, $c0, $ff, $ff +.byte $fe, $fe, $fc, $f1, $f1, $c0, $00, $00, $00, $00, $00, $00, $00, $03, $1f, $ff +.byte $f8, $e0, $c0, $80, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $01, $03, $07 +.byte $00, $00, $00, $00, $40, $fe, $ff, $ff, $00, $00, $00, $00, $00, $00, $00, $80 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $ff, $7f, $1f, $0f, $07, $01, $00, $00, $00, $00, $00, $e7, $03, $ff, $ff, $ff +.byte $f8, $ec, $80, $40, $00, $00, $00, $00, $fe, $fe, $f0, $f0, $e0, $e0, $00, $00 +.byte $fc, $f8, $f8, $e0, $c0, $80, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $07, $00, $00, $00, $00, $00, $00, $00 +.byte $e8, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $0f, $1f, $1f, $1f, $1f, $1f, $1f, $1f +.byte $06, $04, $00, $07, $07, $c7, $83, $00, $c0, $c0, $e0, $e0, $e0, $e0, $c0, $c0 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $fe, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $0f, $07, $07, $00, $00, $00, $00, $00 +.byte $ff, $ff, $ff, $fc, $00, $00, $00, $00, $c0, $80, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 + +.segment PLANET_COLOR [] +*=$0400 +planety_chardata: +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $03, $0e, $0b +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $0e, $e3, $0e, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $0b, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $0b, $b0, $0b, $0b, $0b +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $b0, $b0, $b0, $0b, $0b, $17, $17, $07, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $08, $a0, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $0b, $b0, $bc, $b0, $0f +.byte $7f, $71, $7f, $0b, $01, $01, $01, $01, $01, $01, $01, $01, $08, $0a, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $0b, $bc, $bc, $fb, $fc, $cf, $0b, $0b, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $0b, $0b +.byte $bc, $bc, $b0, $0b, $b0, $b0, $0b, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $0c, $0b, $bc, $bc, $b0, $b0, $0b, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $0b, $0b, $0b, $0b, $01, $01, $01, $01, $01, $01, $01, $03, $30 +.byte $30, $0f, $06, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $0a, $c0, $cb, $b0, $0b, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $03, $3e, $53, $5f, $f5, $c0, $06, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $0f, $fa, $fa, $fc, $cf, $bc, $0b, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $06, $e6, $ce, $5e +.byte $f5, $fa, $ca, $0b, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $fa +.byte $fa, $fa, $fc, $fc, $bc, $0b, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $03, $7e, $71, $71, $7f, $7f, $c6, $06, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $f1, $1f, $f1, $fc, $fc, $cb, $b0, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $06, $63, $71, $71 +.byte $71, $67, $6b, $06, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $f0 +.byte $f1, $f1, $f1, $fc, $cb, $0b, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $60, $63, $5d, $7f, $6e, $60, $06, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $0f, $f1, $f1, $fa, $ca, $bc, $0b, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $06, $60, $f6 +.byte $6f, $60, $06, $01, $01, $01, $01, $01, $01, $0a, $08, $02, $01, $01, $01, $01 +.byte $0f, $fc, $cf, $bc, $0b, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $06, $06, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $08, $82, $02, $01, $01, $01, $01, $01, $01, $0b, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $0a, $0a, $09, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +.byte $01, $01, $01, $01, $01, $01, $01, $01 + +.file [name="planet_bitmap.prg", segments="PLANET_BITMAP"] +.file [name="planet_color.prg", segments="PLANET_COLOR"] diff --git a/scroller.asm b/scroller.asm index 79fa1de..deb7a4f 100644 --- a/scroller.asm +++ b/scroller.asm @@ -14,6 +14,7 @@ .namespace PART5_ns { #import "fm_const.asm" +#import "loadersymbols-c64.inc" //-------- .const countlines = 8 //8 lines in char .const countchar = 16 //16 chars to shift @@ -44,82 +45,130 @@ // Started as whole compilation of parts #else // This has to happen only when starting separately - .var music = LoadSid("Ucieczka_z_Tropiku.sid") // music is loaded in previous part. Separately is disabled - *=music.location "Part2_music" - .fill music.size, music.getData(i) - BasicUpstart2(start) + + // .var music = LoadSid("Ucieczka_z_Tropiku.sid") // music is loaded in previous part. Separately is disabled + // *=music.location "Part2_music" + // .fill music.size, music.getData(i) + + *= install "loader_install" // same as install jsr + .var installer_c64 = LoadBinary("tools/krill194/loader/build/install-c64.prg", BF_C64FILE) + installer_ptr: .fill installer_c64.getSize(), installer_c64.get(i) + + *= loadraw "loader_resident" // same as loader code block address + .var loader_c64 = LoadBinary("tools/krill194/loader/build/loader-c64.prg", BF_C64FILE) + loader_ptr: .fill loader_c64.getSize(), loader_c64.get(i) + + // .var planet_bitmap = LoadBinary("planet_bitmap.prg", BF_C64FILE) // is loaded during this part + // *=$2000 "Part5_bitmap_data" + // .fill planet_bitmap.getSize(), planet_bitmap.get(i) + + // .var planet_color = LoadBinary("planet_color.prg", BF_C64FILE) // is loaded during this part + // *=$0400 "Part5_bitmap_color" + // .fill planet_color.getSize(), planet_color.get(i) + + BasicUpstart2(start) #endif //--- *= $9800 "Part5_code" start: #if RUNNING_COMPLETE #else - // start music - ldx #0 - ldy #0 - lda #0 - jsr $1000 + jsr install + bcs load_error + clc + ldx #pbtmp + jsr loadraw + bcs load_error + clc + ldx #pcolr + jsr loadraw + bcs load_error + clc + ldx #file_music + jsr loadraw + bcs load_error + jmp cont1 +file_music:.text "MUSIC" //filename on diskette + .byte $00 +pbtmp: .text "PBTMP" //filename on diskette + .byte $00 +pcolr: .text "PCOLR" //filename on diskette + .byte $00 +load_error: + sta $0400 // display error screen code + lda #$04 + sta $d020 + sta $d021 + jmp * +cont1: + // start music + ldx #0 + ldy #0 + lda #0 + jsr $1000 #endif - lda #$36 - sta $01 - // init irq - sei - cld - ldx #$fb - txs - lda #$37 - sta $01 - jsr $fda3 - jsr $fd15 - jsr $e3bf - jsr $ff5b - sei - lda #draw - sta $0319 - sta $fffb - sta $ffff - - // set colors - lda #BLACK // black large empty space - sta $d020 - lda #WHITE // TODO tohle nema vliv // white pixels - sta $d021 - lda $d011 - and #%11101111 // disable screen - sta $d011 - // jsr fillchar //fill char - jsr settbadr //help proc. for prepare data - jsr makespeedcode //make long and borning code for dotscroll - //and setting plots for wait look - // jsr speedcode //now plots will be clear - // jsr clearchar //now char be clear - jsr makespeedclear //like before for clear plots and set plots - // jsr speedclear //ok now clear plots - - jsr initgraph //enable hires etc. - lda $d011 - ora #%00010000 // enable screen - sta $d011 + lda #$36 + sta $01 + // init irq + sei + cld + ldx #$fb + txs + lda #$37 + sta $01 +// jsr $fda3 +// jsr $fd15 +// jsr $e3bf +// jsr $ff5b +// jmp * + sei + lda #draw + sta $0319 + sta $fffb + sta $ffff + + // set colors + lda #BLACK // black large empty space + sta $d020 + sta $d021 // does not have real effect due to 0400 color memory + lda $d011 + and #%11101111 // disable screen + sta $d011 + // jsr fillchar //fill char + jsr settbadr //help proc. for prepare data + jsr makespeedcode //make long and borning code for dotscroll + //and setting plots for wait look + // jsr speedcode //now plots will be clear + // jsr clearchar //now char be clear + jsr makespeedclear //like before for clear plots and set plots + // jsr speedclear //ok now clear plots + + jsr initgraph //enable hires etc. + lda $d011 + ora #%00010000 // enable screen + sta $d011 //========== //here is irq nmi and brk for neverending loop //in this sample we don't work in the irq //========== draw: - - sei - cld - ldx #$fb //stack init - txs - lda #$38 //show all 64 ram (in this sample not necessary) - sta $01 - jsr clearchar - jsr speedclear //clear plots - sta posscroll //start scrol from zero pos. + sei + cld + ldx #$fb //stack init + txs + lda #$38 //show all 64 ram (in this sample not necessary) + sta $01 + jsr clearchar + jsr speedclear //clear plots + sta posscroll //start scrol from zero pos. //after init and make speedcode here is mainlop @@ -129,36 +178,36 @@ draw: //of course speedcode from $4000 to $7d03 still over here mainloop: - jsr rolchar //shift data for dot scroll - lda #$35 //show i/o - sta $01 - - ldx #$c8 - cpx $d012 - bne *-3 - - // inc $d020 - lda #$38 //show all ram - sta $01 - jsr speedclear //clear plots on the bitmap - jsr speedcode //display plots of chars on 3d trajectory - lda #$35 //show i/o vic etc. - sta $01 - // dec $d020 - - // play music + jsr rolchar //shift data for dot scroll + lda #$35 //show i/o + sta $01 + + ldx #$c8 + cpx $d012 + bne *-3 + + // inc $d020 + lda #$38 //show all ram + sta $01 + jsr speedclear //clear plots on the bitmap + jsr speedcode //display plots of chars on 3d trajectory + lda #$35 //show i/o vic etc. + sta $01 + // dec $d020 + + // play music #if RUNNING_COMPLETE #else - jsr $1003 + jsr $1003 #endif - lda #$ef - cmp $dc01 //space? - bne mainloop - cmp $dc01 - beq *-3 - lda #$38 - sta $01 - brk //go to draw of course + lda #$ef + cmp $dc01 //space? + bne mainloop + cmp $dc01 + beq *-3 + lda #$38 + sta $01 + brk //go to draw of course //============== //clear or fill char data @@ -409,32 +458,32 @@ initgraph: sta $d011 - ldx #$00 - lda #(BLACK<<4)+LIGHT_GREY +// ldx #$00 +// lda #(WHITE<<4)+BLACK -!: - sta $0400,x - sta $0500,x - sta $0600,x - sta $06f8,x - inx - bne !- - stx posscroll - - ldx #>screen - stx vectr1+1 - ldy #$00 - sty vectr1 - - - lda #$00 -!: - sta (vectr1),y - iny - bne !- - inc vectr1+1 - dex - bne !- +// !: +// sta $0400,x +// sta $0500,x +// sta $0600,x +// sta $06f8,x +// inx +// bne !- +// stx posscroll + +// ldx #>screen +// stx vectr1+1 +// ldy #$00 +// sty vectr1 + + +// lda #$00 +// !: +// sta (vectr1),y +// iny +// bne !- +// inc vectr1+1 +// dex +// bne !- rts //=========== //calculate tb row address in the bitmap diff --git a/tools/c64fy/README.md b/tools/c64fy/README.md index 15f3197..dc7b110 100644 --- a/tools/c64fy/README.md +++ b/tools/c64fy/README.md @@ -1,9 +1,30 @@ # Convert RGB PNG files +Save as RGB PNG file in Gimp and convert to `planety_bmpdata.a` ``` -./c64fy.py -hires 1 planety-rich.png +./c64fy.py -hires 1 planety.png ``` +Then, rename `planety_bmpdata.a` to /planety_bmpdata.asm` + +Edit the file to get such structure: +```asm +.segment PLANET_BITMAP [] +*=$2000 +planety_bitmapdata: +.byte $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 +... + +.segment PLANET_COLOR [] +*=$0400 +planety_chardata: +.byte $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 +... +.file [name="planet_bitmap.prg", segments="PLANET_BITMAP"] +.file [name="planet_color.prg", segments="PLANET_COLOR"] + + +``` C64fy python script comes from: https://github.com/thojor79/bacillus_c64/tree/master/convert diff --git a/tools/c64fy/planety.png b/tools/c64fy/planety.png new file mode 100644 index 0000000..690eeb4 Binary files /dev/null and b/tools/c64fy/planety.png differ diff --git a/tools/c64fy/planety_c64.png b/tools/c64fy/planety_c64.png new file mode 100644 index 0000000..afd882e Binary files /dev/null and b/tools/c64fy/planety_c64.png differ