home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 236 / 236.d81 / t.party < prev    next >
Text File  |  2022-08-26  |  5KB  |  218 lines

  1. u
  2.       P A R T Y   P I C T U R E
  3.  
  4.          for the commodore 64
  5.            w/Simons' BASIC
  6.  
  7.          by Brian Crosthwaite
  8.  
  9.  
  10.     Copyright 2005 J&F Publishing,
  11.   1982, 1983, 1984, 2004, 2005
  12.           Brian Crosthwaite
  13.          All Rights Reserved.
  14.  
  15.  
  16.     [Party Picture] began in the
  17. 1980s. elements of the program are
  18. from the year the C64 was born --
  19. 1982. I had this idea of a series of
  20. pictures that slowly unfold on a TV
  21. screen at a party. Not any particular
  22. kind of party, just where people may
  23. be gathering for any length of time,
  24. coming and going to and from living
  25. room, dining room and kitchen, as
  26. people at parties often do.
  27.  
  28.     On screen pictures would slowly
  29. materialize, people might watch a
  30. while, or glance occasionally at the
  31. screen, and see a new surprise.
  32.  
  33.     Well, it got it's debut at one of
  34. our anniversary parties. Kids who were
  35. running and playing inside found
  36. themselves trapped by the mesmerizing
  37. pictures that played out on screen.
  38. Soon adults were watching to see what
  39. would come up next.
  40.  
  41.     The program was a success!
  42.  
  43.     The pictures I chose, draw out
  44. slowly on the screen. Then after the
  45. program has run it's course, a warning
  46. to turn on audio comes on screen.
  47. After the screen flashes a few times,
  48. LOADSTAR's [Laser Show] loads and
  49. runs.
  50.  
  51.     The choice to use SB, was based
  52. mostly on the ease in which to access
  53. the hires and multicolor screens and
  54. the myriad commands that it provided.
  55.  
  56.     My original intent with this
  57. LOADSTAR version was to convert the
  58. program to normal commodore BASIC, but
  59. it proved to be very complicated.
  60. Extended BASICs didn't support many of
  61. the commands used to draw some of the
  62. pictures. This last point is more than
  63. just a command used to plot a dot. I
  64. used some of the idiosyncrasies of the
  65. commands to my advantage.
  66.  
  67.     Needless to say, conversion would
  68. have taken more time than I had.
  69.  
  70.     Never to be seen in emulation?
  71.  
  72.     I tried to find utilities to make
  73. cartridge images. I looked for an
  74. image of Simons' BASIC. I found
  75. nothing. Time was running out. Then
  76. one day I found a site that had a disk
  77. mage of SB! I think it is the UK
  78. version, as I believe that version was
  79. released on floppy. I was now able to
  80. work on the PRG via VICE!
  81.  
  82.     The disk version is a little
  83. different in that the border default
  84. is red and on the cart it is black (I
  85. think -- i'm in [geoWrite], in [x64],
  86. on a thinkpad at the moment). My
  87. real-time 64 time is limited by my
  88. schedule. I have more access to
  89. [VICE].
  90.  
  91.     I added a copyright screen, but
  92. the computer's memory was full causing
  93. the program to stop about midway. I
  94. had run out of time, so moving memory
  95. without knowing the layout of SB
  96. memory at this point is not an option.
  97. (I can't find my SB manual anywhere --
  98. drat). So what have you here? This is
  99. the original version. The very PRG
  100. played at parties around the world.
  101. Ok, around Idaho. Ok, a couple of
  102. parties were in Boise.
  103.  
  104.  
  105. More notes:
  106.  
  107. [Laser Show] was renamed to [MENU].
  108. It should load, just press space after
  109. it loads. Running with the disk image
  110. of SB via [VICE], [Laser Show] does
  111. not load and [VICE] freezes. Bummer.
  112.  
  113. On the SX things look different, so I
  114. wrote an SX version. I hope to post it
  115. at http://noesiscreation.org shortly.
  116.  
  117. Keep in mind, the drawings unfold at a
  118. rather slow rate since that was the
  119. original idea.
  120.  
  121. Enjoy!
  122.  
  123.  BC (aka noesis0)
  124.  
  125.  
  126. [DAVE'S ADDENDUMB]
  127.  
  128. Here at the Tower, we like things nice
  129. and simple. When you choose a program
  130. from our menu, we like to have it load
  131. and run. So here was the problem.
  132. Simon's BASIC loads like BASIC,
  133. expecting to load at 2049. Then, one
  134. would have to LOAD and RUN Brian's
  135. great program.
  136.  
  137. Bummer!
  138.  
  139. There had to be a way to get Simon's
  140. BASIC up and running, and then load
  141. the main program -- automatically. And
  142. there is! One thing I have learned
  143. here at the Tower is how to jerk
  144. around BASIC 2.0. It might not be
  145. pretty inside, but by golly, it will
  146. work!
  147.  
  148. So Party Pictures has three (count
  149. 'em, three) Boot programs. PP1 moves
  150. the bottom of basic up to page 155,
  151. then loads and runs PP2. This little
  152. boot uses the old
  153.  
  154.  IF A = 0 THEN A = 1: LOAD"SIM*",D
  155.  
  156. routine. Why? Because the file address
  157. in Simon's BASIC puts it where we want
  158. it, and the above is smaller than our
  159. standard BLOAD routine.
  160.  
  161. Once Simon is in place, PP2 pokes the
  162. ASCII codes for the following into
  163. locations 631 to 640:
  164.  
  165.  lO"p",8<chr$(13)>rU<chr$(13)>
  166.  
  167. Then 198 is set to 10. There is one
  168. tiny problem with this. We will come
  169. back to it in a minute.
  170.  
  171. Then the Bottom of BASIC is moved back
  172. down to page 8, and Simon's BASIC is
  173. executed with SYS 2096 (which is the
  174. SYS call used by Simon's loader
  175. program.
  176.  
  177. In a second, Simon's BASIC's opening
  178. screen comes up. And that is when I
  179. noticed a problem. The screen
  180. displayed:
  181.  
  182. READY.
  183. LO"P",8
  184.  
  185. SEARCHING FOR P
  186. LOADING
  187. READY.
  188. rU
  189.  
  190. with the cursor sitting on the "U". I
  191. looked again at what was poked into
  192. 631 - 640 and discovered it was
  193. supposed to be [eleven] characters.
  194. Our keyboard buffer has only 10
  195. spaces. What to do? What to do!
  196.  
  197. The answer was to cheat -- and use
  198. location 641 for that last Carriage
  199. Return. 641/642 is supposed to hold
  200. the Bottom of BASIC, but evidently it
  201. is not nearly as important as 43/44. I
  202. got away with it.
  203.  
  204. The program "P" then boots PARTY
  205. PICTURE, and all else goes on
  206. smashingly. So, three boots for one
  207. program.
  208.  
  209. Oh, yes. This does not return to
  210. LOADSTASR, so I had to put our "Does
  211. Not Return" boot in front of all the
  212. others.
  213.  
  214. Clumbsy as all get out. But it works.
  215.  
  216.  DMM
  217.  
  218.  
  219.