[comp.sys.handhelds] A new Schip game

frechett@spot.Colorado.EDU (-=Runaway Daemon=-) (06/16/91)

I didn't write this.. 
IT is from       droland@eng.auburn.edu
who posted it on the hpbbs in user.programs but I know how many people are 
waiting for new Schip games and how relatively few people can get stuff 
from the hpbbs successfully, so.. here it is.. 
	ian
---------------------------------------------------------------------------

                                Field!

Field! is a interesting little game written for the S-Chip V1.1 interpreter
which is available from several sources.

To play press FIELD and then press SCHIP or however you have named your
S-CHIP V1.1 interpreter.  

A title screen will appear proclaiming the game name(and my name) with quite
a bit of animation.  The amount of title screen animation explains for its
rather large size for a S-CHIP game of 700 some odd bytes.  However, it is
still amazing to me that a game(as simple as this can be written in so few
bytes!)

To play press the "." key during the title sequence, you may have to hold it
down for a second or to (since I don't check keypresses between every single
frame of animation.)

The screen will then appear like:
 _________________________
|#                       #|
|                         |   .----ASTEROIDS
|#                        |   |
|                        #<---'
|                         |
|#_______________________#|

The keys are now defined as:

1 - Apply thrust to the left ( so you move right! )
2 - Apply thrust to the right ( so you move left! )
/ - Move up
* - Move Down
7 - Abandon Game and return to the Title Screen

Now once the game is going.(you must apply thrust to actually start.)
The screen appears like this.
 _________________________
|#         #             #|
|     +-           #      |                 
|#    ^          #        |    
|  #  |   #              #|    
|     |           #       |
|#____|__________________#|
      |
     You


Now your on your on... Just don't hit anything.

Your score is based on how long you last, actually it is more of a rating
than a score, and it is revealed to you by the OWL on the Title screen.  

0-F (In HEX cause that was easier to do, and since this is my FIRST chip 
program, I think you can be happy with that, anyway it will probably only be 
by an act of God that you make it very far.)

Hope you enjoy!

Let me know if you like it, or if there are any bugs, or you want more.
I would greatly appreciate hearing from any of you HP48sx whizes.
This horizontal scrolling looks tremendously like DEFENDER and perhaps
that is where this program will go!.


                ** Notes about this program **
If you think the game is to slow, let me know it is loaded with delays, it
goes so fast you can't see a thing if you take out the delays. (Idea...
release version with variable speed control.)

Since I don't have a PC and didn't feel like downloading CHIPPER(source and 
stuff) I had to write my own PSEUDO-COMPILER/ASSEMBLER/LINKER.  I did this and
wrote this game to test it yesterday(but what a long day it was!)

The main reason it is just a PSEUDO-COMPILER is that the code generated by 
BISON on one of the Fish Disks just won't compile! So the Parser is integrated
into the Scanner(thanks FLEX.)  Since it is a two step Compile(SYMTAB Build, 
OBJ Generation) a linker was needed to create the S-CHIP V1.1 executable.
All these are now working in one 20K executable Amiga Program. 
This is all written based solely on the CHIP48 docs (scanty at best) and I'm
still not quite sure how to do everything.

I'll try to post this program later today, once I write the DOCS.  

I think you folks should like it, because the source doesn't look like
assembler.


Anyway, thanks go to Andreas Gustafsson for the excellent!!! chip interpreter,
                                                ------------
and to Erik Bryntse for his modifications that resulted in the even more
excellent! Super Chip V1.1!
---------
*********************** DISCLAIMER ******************************************
I, Al Roland, being of sound body and mind, and poor grammatical and spelling
ability, make no warranties expressed or implied to anyone no matter how
unsound their body and mind are regarding the included software, and the
damages that might result to those unsound bodies and minds, when they misuse
this software on their calculator. I also will not be held responsible for
a grade drop when you play this game in class and forget to take notes.
And, blah blah blah....

                                Al Roland 
                             711 Cary Drive
                            Auburn, Al 36830

                          droland@eng.auburn.edu

oh yeah...I release this as FREEWARE, play it, and enjoy it. But 
don't modify, mutilate, or spindle this program unless I know about
(and approve) it.
                            (c)1991 Al Roland
*****************************************************************************

---------------8<------Cut Here for ASC-> Version------8<----------
%%HP: T(1)A(D)F(.);
"C2A205C500000E00FF16A226104A081D0216A34A0A1D0216A44A0C1D02160426
034A041D0216034A021D02260236034602E610D6303A061D023A0816041D0256
FF585E530021C356FF585E5300214416033A061D023A0A1D02560F585E530021
651D023A0C1D02385D485D4A003D04560F585E530021C63D04385D485D3A0E3D
04560F585E530021E73D04385D485D4A003D04560F585E530021093D0426002E
E92147000E1610267036FF9602A6F05610B6A7E610D60076003AC57710740C31
2026702E1A314326802E1A312426102E1A310226C02E1A318026D02E1A31E0C4
103143C42031242607E610285E2300216E3A051CA3E604E8515D4EBD4EC41031
41C42031A1216BD710760021CBE610A85E21ADE610A71021AD3A859D3A216B3A
C59D3A216B000E16C226014A061D0216232652DF921D52214000CF3A859D3AF4
103102C610212E00BF3AC59D3AF4103102C620212EE6FFE733FFFFFFFF0EF70E
0070EF7099000002381368F77CA464B76CF308F534FF4EFD36FF0EBD06AA3AA6
0CAEFF5DF700006C0066006E006600760C00000C060048C8E8254C2548C83800
00FFFFFFFF4000E1307368F778F06C7067F08FF0BD70CF30FE10FD00F900F010
70FFFFFFF7000000300060007000600060000000300040003000000000003000
00FFFFFFF74000E1007308F708F00C7007F08FF08D708F30EE10FD00F900F400
76003000000100C3E0E5FBFFFFF3FFF07F70BF709F308F10CF00ED00E900F500
F000F00000420345824503479245A24592000005004508170E45084538453400
0000000000022002200220626CAAAA626A00000706020A4248A2AAA2AA424600
00000000004100410080499045808800004CEEAA84ECE4AA84AA84AAE4000070
0E300C10080000FFE7FFE70E810E810E81CF81CF810E810E810E810E810EE70E
E7000000000000FF07FF070E070E070E07CF07CF070E070E070E070E07FFE7FF
E70000000000000F80EFC17EE37EE37EE37EE37EC17EC17EC17E807E00EFC10F
C10000000031DD"