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

  1. u
  2.           THE DOTBASIC SAGA
  3.            by Dave Moorman
  4.  
  5.  
  6.     DotBASIC began long ago in a small
  7. town on the eastern prairie of
  8. Colorado -- far, far away from
  9. [everything]!
  10.  
  11.  
  12.     In 1993 I became a LOADSTAR
  13. programmer, and discovered a treasure
  14. trove of useful and exciting "modules"
  15. that add pazzazz to our modest
  16. machine. Jeff Jones (with Rick Nash)
  17. first published a "Toolbox" in issue
  18. 84. Jeff's own "Mini-Toolbox" appeared
  19. in 91.
  20.  
  21.     A Toolbox is a collection of
  22. useful SYS commands that can be called
  23. from BASIC with very little hassle.
  24. Two of these commands -- present in
  25. one form or another on every Toolbox
  26. -- was the SCREEN STASH and SCREEN
  27. RESTORE. Screen and Color information
  28. is copied into some safe place in
  29. memory with STASH, and returned to the
  30. screen with RESTORE. This command
  31. makes pop-up menus pop-off quick and
  32. clean!
  33.  
  34.     Then, in issue 106, C.E.'Spock'
  35. Prince (an employee of Softdisk in
  36. their disk copying department and not
  37. to be confused with any artist
  38. formerly known as the artist formerly
  39. known as Prince) published IMAGE
  40. MAKER. This is a powerful ML module
  41. that allows easy scrolling and other
  42. pyrotechnics for the text screen.
  43.  
  44.     I put together the ability to
  45. design a screen with IMAGE MAKER, then
  46. use Toolbox to STASH it in open memory
  47. and BSAVE it. In my program, I could
  48. BLOAD the screen and bring it up with
  49. a snappy SCREEN RESTORE.
  50.  
  51.     The only problem was that the
  52. design screen and the working screen
  53. were not the same and had to be
  54. converted after every change. This was
  55. not a big deal, but hardly what you
  56. would call "elegant."
  57.  
  58.     However, in 1996, Lee Novak
  59. published his first Mr.Mouse module.
  60. It added a real, working mouse driver
  61. to the Toolbox commands Jeff had
  62. already made famous. One of my first
  63. projects was to write Mr.MICK
  64. (Mr.Mouse Image Construction Kit) that
  65. combined screen design, font editing,
  66. and mouse convenience.
  67.  
  68.     You see, one of the biggest time
  69. wasters for me is to use PRINT
  70. statements or even BLOCK commands from
  71. a Toolbox to create a screen. It was
  72. "write and run and look and fix and
  73. run and look..." on and on into the
  74. night. Designing a screen visually
  75. makes a lot of sense, helping produce
  76. better appearing screens and saving
  77. time.
  78.  
  79.     During 1997-1999, I strayed away
  80. from the C-64. The church I was
  81. working at had a Windows PC, and my
  82. job included lots of productive stuff,
  83. like putting out the newsletter and
  84. keeping the database updated. I just
  85. didn't have time to program or play
  86. much with my favorite computer.
  87.  
  88.     But in mid-1999, I discovered
  89. emulators. Suddenly I was interested
  90. again. I found my favorite emulator at
  91. the time, FRODO, could not handle the
  92. LOADSTAR Presenter Menu program. So I
  93. wrote my own, complete with Mr.MICK
  94. screen -- of course. This became the
  95. basis of eLOADSTAR, a PC-ready
  96. publication of the best of LOADSTAR
  97. software.
  98.  
  99.     That fall, we went through a big
  100. church fight that caused several
  101. tithing families to leave. Suddenly,
  102. my job was done. I was not worried. In
  103. the United Methodist Church, pastors
  104. are appointed to churches. On the
  105. downside, this means we have to go
  106. where we are sent. But in situations
  107. like this, I knew I would have a place
  108. to preach in a month or so.
  109.  
  110.     So Sheri and I took a long
  111. neglected trip to Virginia to see my
  112. parents. Dad was on chemo, and I was
  113. shocked at his condition. Mom's
  114. condition wasn't so hot either. So we
  115. decided to take Family Health Leave to
  116. help them out for awhile. Before we
  117. left, we found out that Dad's chemo
  118. wasn't working. Hospice was the next
  119. step.
  120.  
  121.     We rushed back to Colorado, packed
  122. our stuff away in a storage building,
  123. put the cat up with friends, and raced
  124. back. Things finally settled down
  125. after Thanksgiving, so we took a
  126. little trip to Shreveport, LA, to see
  127. Fender and Judi at the marvelous
  128. LOADSTAR Tower. They graciously
  129. permitted us to publish eLOADSTAR, and
  130. gave us a nice list of former LOADSTAR
  131. subscribers to contact.
  132.  
  133.     During the next year, while we
  134. cared for Dad, I worked on eLOADSTAR.
  135. It was a project that kept me busy and
  136. sane through a long journey. I also
  137. had to do some Windows programming to
  138. make eLOADSTAR easy to load and use.
  139. That's where I encountered Visual
  140. Basic. Some of the things posed a
  141. great mystery; I spent a month trying
  142. to find out how to remove a file from
  143. the disk. I finally discovered the
  144. command: KILL. I was ready to KILL
  145. Bill Gates!
  146.  
  147.     But I learned a new, and perhaps
  148. better, way to approach programming --
  149. Visual Design, Event Driven, Object
  150. Oriented. The process is not as
  151. straight forward as good ol' BASIC
  152. 2.0. But it detours some of the
  153. niggling details that often drive us
  154. to distraction.
  155.  
  156.     Dad died on August 31, 2000. Mom
  157. moved to a retirement community in
  158. Albuquerque, where my sister lives,
  159. and Sheri and I cleaned out the house.
  160. The denomination official called with
  161. a church for me. On our way to visit
  162. them, we stopped by Shreveport again
  163. and worked out the deal that allows us
  164. to continue the publication of
  165. LOADSTAR. eLOADSTAR had a few more
  166. issues, but two publications were just
  167. too much as I got busy with a new
  168. appointment.
  169.  
  170.     In 2003 I was casting around for a
  171. semi-major project, wanting to do
  172. something unique with the C-64. And I
  173. hit on the idea of Event Driven
  174. programming. I vaguely remembered
  175. something in a book about doing
  176. "behind the scenes" GOSUBs, which
  177. sounded like the key to Event Driving.
  178. Mr.Mouse was as powerful as it would
  179. get, and had Regions, which were
  180. defined in a one-page block of memory.
  181.  
  182.     And I had Mr.MICK. It was old and
  183. clunky, still using the first version
  184. of Mr.Mouse. But as I looked through
  185. its code I discovered that I could
  186. move things around just a bit and have
  187. room the the Region Data right up
  188. against the back of the font/ screen/
  189. color data. I modified Mr.MICK to
  190. define Event Regions and save the
  191. whole thing as a .MED file. (MED stood
  192. for either "Mouse Event Driven" or
  193. "Moorman's Event Driven")
  194.  
  195.     At first I thought this would be
  196. just a few extra SYS commands appended
  197. to Mr.Mouse. But tricking out the
  198. BASIC 2.0 interpreter is more complex
  199. than that. I borrowed code from Lothar
  200. Englisch's 1984 book, [Advanced]
  201. [Machine Language Programming for the]
  202. [C-64]. Included in that book was how
  203. to create new commands for BASIC.
  204.  
  205.     We decided to attend the
  206. Louisville Expo over Memorial Day
  207. weekend, 2004 -- and I needed a demo.
  208. DotBASIC became it. I hurried to get
  209. it working, stable, and clean in time
  210. for the show. The demonstration was
  211. well received.
  212.  
  213.     But after our trip -- and meeting
  214. so many of you -- we returned home and
  215. DotBASIC had to take a back seat to
  216. reality: Vacation Bible School, Back
  217. to School, Christmas. But as I
  218. worked on a couple of simple
  219. amusements for 235 and this issue, I
  220. realized that now was the time to do
  221. DotBASIC up right. Full documentation.
  222. Polish up some small bugs. And
  223. describe ways to do more complex
  224. things with it.
  225.  
  226.     And here it is! I would like to
  227. think DotBASIC will make programming
  228. accessable to those who might have an
  229. idea, but need some powerful commands
  230. to make it go. It could happen!
  231.  
  232.     But mostly, DotBASIC is proof that
  233. the C-64 was a tremendous computer in
  234. 1982! And still is today. The IBM came
  235. out the summer of 1981, with tons of
  236. memory and all that. But in 1982, the
  237. IBM had a two-color screen (green and
  238. black) and one sound (beep). The C-64
  239. had color, real sound, expansion
  240. ports, mouse capabilities -- literally
  241. everything a computer needs.
  242.  
  243.     I am excited by what Maurice
  244. Randall has done with WHEELS and what
  245. the WINGS guys and gals have
  246. accomplished. These take advantage of
  247. the SuperCPU and SuperRAM, which make
  248. the C-64 a truly productive computer.
  249. [And] I like the challenge of seeing
  250. how far old "Brown Betty" can be
  251. pushed with no new hardware. (OK,
  252. JiffyDOS. But you know what I mean.)
  253.  
  254.     And now we have a NEW C-64 popping
  255. up like mushrooms: the C64DTV. With a
  256. little hacking, we can now have
  257. something like a Pocket C-64! And this
  258. new machine cannot use the SuperCPU.
  259. So, here is DotBASIC, ready to make a
  260. plain C-64 really do its stuff!
  261.  
  262.  DMM
  263.  
  264. (I just read that the demo-group Style
  265. has created an assembler program that
  266. takes advantage of the full 128K of
  267. RAM on the C64DTV. I want to know
  268. more! And