home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / Information / PRGMNG-MSGS.ARC / 00PRG.MSGS next >
Encoding:
Text File  |  2019-04-13  |  41.3 KB  |  1,081 lines

  1.  
  2.  
  3. rea 2 nor
  4. rea 4-5 nor
  5. rea 7-9 nor
  6.  ************
  7. Topic 2         Sun Jan 30, 1994
  8. J.SERAFINO                   (Forwarded) 
  9. Sub: file copier help                       
  10.  
  11. Help needed on ML file copier program
  12. 3 message(s) total.
  13.  ************
  14.  ------------
  15. Category 5,  Topic 2
  16. Message 1         Sun Jan 30, 1994
  17. J.SERAFINO                   (Forwarded) 
  18.  
  19.  I am attempting to write a file copy module for menuette, which I can't seem
  20. to get working.
  21.  I don't have reference material on this subject, outside of the 'commodore
  22. reference guide'.
  23.  I could use either a text file explaning the necessary kernal routines, or a
  24. documented source file to examine.
  25.  
  26.  ------------
  27. Category 5,  Topic 2
  28. Message 2         Mon Jan 31, 1994
  29. CBM-ED [e.g.bell]            (Forwarded) 
  30.  
  31.  JS:
  32.   JS>  I could use either a text file explaning the necessary kernal
  33.   JS> routines
  34.  
  35.  setnam   $ffbd  - .a=length, .x=address of name low .y = address of name hi
  36.  setlfs   $ffba  - .a=file #  .x=device #  .a=secondary address
  37.  setbnk   $ff68  - .a=bank of data         .x=bank of file name
  38.  open     $ffc0  - open file - no parameters passed.
  39.  
  40.  ex:
  41.  name   .byte "Demo File Name":.byte 0
  42.  ;
  43.  open.file = *
  44.  lda #14:ldx #<name:ldy #>name:jsr setnam
  45.  lda #0:tax:jsr setbnk
  46.  lda #6:ldx #8:tay:jsr setlfs:jsr open
  47.  
  48.  To access the data in the file, the routines you need are:
  49.  
  50.  clrchn    $ffcc     Clear all currently opened channels
  51.  chkout    $ffc9     Connect channel to file
  52.  chrout    $ffd2     Send character in .a to file
  53.            $90       status byte - non-zero if eof or file error
  54.                        Bit 6 set for end of file.
  55.  
  56.  ex:
  57.  write.bytes = *
  58.  ldx #6:jsr chkout;  load .x w/file number from  'setlfs' above
  59.  ldy #0
  60.  !01 lda ($fb),y:jsr chrout
  61.  lda $90:bne !02
  62.  iny:bne !01
  63.  beq !03
  64.  ;
  65.  !02 and %01000000:bne !03
  66.  jsr error.handler
  67.  !03 jmp clrchn;     disconnect channel and exit
  68.  ;
  69.  To read from the file, you need:
  70.  
  71.  chkin    = $ffc6
  72.  getin    = $ffe4
  73.  
  74.  ex:
  75.  read.file = *
  76.  jsr clrchn
  77.  ldx #6:jsr chkin;        .x=file # from 'setlfs' above
  78.  !01 jsr getin:ldx $90;   getin gets char in .a
  79.  jsr store.char;          store char somewhere
  80.  cpx #0:beq !01;          is status=0 - yes then loop
  81.  jsr error.handler
  82.  jmp clrchn;              exit w/channels clear
  83.  ;
  84.  To close the file:
  85.  close.file = *
  86.  lda #6:jsr close;        .a=file # from 'setlfs' above
  87.  jmp clrchn
  88.  
  89.  That is pretty much it.  The routines above are the 'higher-level'
  90.  kernal routines, and are somewhat easier to use than the lower level
  91.  ones.  :)
  92.  
  93.  ------------
  94. Category 5,  Topic 2
  95. Message 3         Mon Apr 18, 1994
  96. CBM-PRESS                    at 22:00 EDT
  97.  
  98.   The technical data given in the last message is what you need to make things
  99. work on the lowest level.
  100.   Beyond that, your choices are: 1. Copying single-drive to a different disk? 
  101. Then you have to set
  102.    up a buffer area, as large as you can, so that you can read the
  103.    stuff in, allow the user to swap disks, and then write out the
  104.    copy.  Grabbing a whole file at a time makes things simpler;
  105.    copying files in "pieces" takes a lot of careful work (not just
  106.    by the programmer, but by the user, too). 2. Copying "live" from one
  107. connected drive to another?  Or on the
  108.    same disk, with a name change?  Your buffer doesn't need to be
  109.    anywhere near as big; perhaps around 256 bytes would be good.
  110.    (Yes, you could copy one character at a time, but the constant
  111.    "talk/untalk/listen/unlisten" signals on the serial bus would
  112.    slow things down. You may be looking for advice at a different level. 
  113. Perhaps you could supply more detail on your problem.
  114.                      --Jim Butterfield
  115.  
  116.  ------------
  117.  
  118. 5  ************
  119. Topic 4         Sun Jan 23, 1994
  120. GEOS-TIM                     (Forwarded) 
  121. Sub:  ****** PROGRAMMING FORUM *******      
  122.  
  123. A Programming forum will be held on Thursday nights with your host:
  124. (Tony)A.Tolle
  125.  
  126. 3 message(s) total.
  127.  ************
  128.  ------------
  129. Category 5,  Topic 4
  130. Message 1         Sun Jan 23, 1994
  131. GEOS-TIM                     (Forwarded) 
  132.  
  133. KICK OFF for Programming Forum Tuesday night We will be having
  134. a kick off for Tony's new format this Tuesday in room 6 in the RTC.  Come on
  135. in and give Tony some input regarding your needs in regards to programming. 
  136. Possibilities include a beginning programming class, tutorial info,
  137. programming ideas, etc..  Or just come in to let us know you are interested in
  138. such a Real Time area.
  139.    So come on in, we will be looking forward to talking to you. It will be
  140. this Tuesday, January 25 th. from 10 till ?.
  141.                                 :) -Tim BTW Several programmers have already
  142. indicated they will be dropping in. This is open to all: beginners to experts.
  143.  
  144.  ------------
  145. Category 5,  Topic 4
  146. Message 2         Tue Jan 25, 1994
  147. A.TOLLE                      (Forwarded) 
  148.  
  149.    I have always thought it would be a good idea to have one RTC per week
  150. where people can come and discuss programming and get programming help, so I
  151. will start hosting just such a conference on Thursdays beginning 94-Jan-27.
  152.  
  153.    Before I do this, though, I want to find out what people are interested in
  154. so I can plan the future RTC's to suit the most number of people--Come and
  155. join in the discussion on Tuesday, January 25, 1994.  The RTC will begin at
  156. 10:00pm EST and will continue as long as people are still showing up to
  157. express interest, up till 1am EST.
  158.  
  159.    I hope to see you there!
  160.  
  161.    Tony Tolle
  162.  ------------
  163. Category 5,  Topic 4
  164. Message 3         Sun Feb 27, 1994
  165. GEOS-TIM                     at 18:03 EST
  166.  
  167. Tony, I noticed that there are Programming  ML lesson transcripts coming to
  168. our libraries.  Is this the first one, or should I look for more?  I have a
  169. hard time making it on Thursday nights and this would be an  excellent way for
  170. me to learn some ML programming.  Could you keep us posted on your uploads of
  171. lessons?  Thanks.
  172.                               :) -Tim
  173.  ------------
  174.  ************
  175. Topic 5         Tue Jan 18, 1994
  176. E.RAFANAN                    (Forwarded) 
  177. Sub: Loadstart 128?                         
  178.  
  179. Is Loadstar still being published?
  180.  
  181. 24 message(s) total.
  182.  ************
  183.  ------------
  184. Category 5,  Topic 5
  185. Message 1         Tue Jan 18, 1994
  186. E.RAFANAN                    (Forwarded) 
  187.  
  188. Are Loadstar 64 and Loadstar 128 still being published?
  189.  
  190. And if so, are they still accepting submissions?
  191.  ------------
  192. Category 5,  Topic 5
  193. Message 2         Wed Jan 19, 1994
  194. CBM-ED [e.g.bell]            (Forwarded) 
  195.  
  196.  ER:  Yes, LoadStar is still being published, and yes they are still
  197.  taking submissions.  You should write them and get their submissions
  198.  package, which includes the forms to submit your programs and other
  199.  basic info.
  200.  ------------
  201. Category 5,  Topic 5
  202. Message 3         Sat Jan 22, 1994
  203. E.RAFANAN                    (Forwarded) 
  204.  
  205. Thanks!  What is there address (or are they online)?
  206.  ------------
  207. Category 5,  Topic 5
  208. Message 4         Wed Jan 26, 1994
  209. CBM-ED [e.g.bell]            (Forwarded) 
  210.  
  211.  I bet you thought I forgot about you.  :)  The address you want is this:
  212.  
  213.  SoftDisk Publishing
  214.  attn: Submissions
  215.  P.O. Box 30008
  216.  Shreveport  LA  71130-0008
  217.  
  218.  I don't know the 800 number anymore, but you can write requesting the
  219.  author's package, which includes the forms, etc.
  220.  
  221.  ------------
  222. Category 5,  Topic 5
  223. Message 5         Sat Feb 12, 1994
  224. P.KELLER5                    (Forwarded) 
  225.  
  226. And they are especially looking for 128 programs!  Of course 64 too, but they
  227. are running out of 128 programs.
  228.  ------------
  229. Category 5,  Topic 5
  230. Message 6         Tue Feb 15, 1994
  231. S.EYRSE                      (Forwarded) 
  232.  
  233. The other question was are they comming back ONLINE here? and why did they
  234. drop off anyway..with Q dying I would think they would want to have a strong
  235. position here..?
  236.  ------------
  237. Category 5,  Topic 5
  238. Message 7         Wed Feb 16, 1994
  239. J.THOMPSON75 [Wyrkham]       (Forwarded) 
  240.  
  241. They are around but they are a quartly disk publication. BTW their front end
  242. is much slicker than Compute's and now has a utility to copy the disk over
  243. into a 1571 format rather than flipping sides.
  244.  
  245.         JimBo  :
  246.  ------------
  247. Category 5,  Topic 5
  248. Message 8         Wed Feb 16, 1994
  249. E.RAFANAN                    (Forwarded) 
  250.  
  251. Thanks for all the info. I was hoping they were still in business!
  252.  ------------
  253. Category 5,  Topic 5
  254. Message 9         Thu Feb 17, 1994
  255. J.STEPHENSO1 [Jimbo]         (Forwarded) 
  256.  
  257. Actually, LoadStar for the 64 is still monthly.  You can get it on two
  258. 'flippy' disks for a total of 4 disk sides, or you can request it on 3 1/4"
  259. 1581 format disks (that's the way I get it).  LoadStar 128, on the other hand,
  260. is quarterly, probably because of the dearth of C=128 programs and
  261. programmers.  I highly recommend them both.
  262.            Jim Stephenson
  263.  ------------
  264. Category 5,  Topic 5
  265. Message 10        Mon Feb 21, 1994
  266. R.CASHON [BOB]               at 01:44 EST
  267.  
  268. LOADSTAR 128 is still alive & kicking since I'm taking the quarterly disk. 
  269. The only thing I see coming down the road is lack of prog- ramming. This leads
  270. FENDER TUCKER (the C=128 Editor) currently scouring the woods of EUROPE for
  271. more programs.  His purpose  is to add to the C=128 baggage any program as
  272. good as the program that he received from SCANDIANAVIA called "DISKSERVANT".
  273. Perhaps some of you "gods of OLYMPIA" can forego your current interest in the
  274. deep dark parts of HD manipulation and CMD devices, long enough to pump out
  275. some progs to help keep the C=128 field alive.
  276.  ------------
  277. Category 5,  Topic 5
  278. Message 11        Mon Feb 21, 1994
  279. CBM-ED [e.g.bell]            at 09:02 EST
  280.  
  281.  Bob:
  282.   BC> some of you "gods of OLYMPIA" can forego your current interest
  283.   BC> in the deep dark parts of HD manipulation and CMD devices,
  284.   BC> long enough to pump out some progs
  285.  
  286.  I don't know about the 'gods' thing (tho my wife still serves me
  287.  up a burnt offering from time to time) but I have some perspectives
  288.  on the progamming.
  289.  
  290.  I have had some of my programs bought by LoadStar, and on the whole,
  291.  the experience has been good.  However, they have changed their 
  292.  contract for the worse, in my opinion.  When I first sold a program,
  293.  the terms were pretty straightforward... sign the contract, and payment
  294.  was made within 30 days.  Now, however, their contracts, at least the
  295.  last 2 they have sent me, pay 1/2 within 60 days and the balance when
  296.  the program is published.  They just bught 2 from me, both around
  297.  November/December.  One I have received payment in full for, the other
  298.  only the 1/2.  I have little doubt that they will pay, but I have to 
  299.  admit the situation is a bit discouraging.  Kind of like paying 1/2 
  300.  price for full rights.  And I stress, in case this messages gets quoted
  301.  all over who-knows-where, that I believe they will pay up.  When is the
  302.  question.
  303.  
  304.  I'm kgoing to be more open to submitting to Compute in the future, at
  305.  least in the first submission.  I have been sending stuff to LoadStar
  306.  primarily, to this point, for 2 reasons.  First, being disk based, they
  307.  were not limited as to size.  My programs tend toward the large size.
  308.  Second, some of the programs I have submitted had been uploaded to GEnie
  309.  some time ago.  I updated them, particularly Indexer, which should be on
  310.  the current disk, but some magazines don't care for programs that have
  311.  been around awhile.   But as I write new stuff, this won't be a 
  312.  consideration, and I believe I can honestly say that I produce.  I have
  313.  written a lot of programs that I believe are high-quality, and I never
  314.  had the luxury of working with ideas and source code of people who 
  315.  send it to me for consideration.  My stuff has been pretty much original.
  316.  Particularly the stuff LoadStar has bought.
  317.  
  318.  I don't know if the idea is to get someone to contribute regularly 
  319.  enough to work up a 'bank' or something, but that is just a perspective
  320.  I have on the new contract arrangement.  I'll still submit stuff to them
  321.  but I am also going to consider other avenues now, and it is kind of
  322.  unfortunate because as I said, on the whole, my dealings with LoadStar
  323.  have been fairly satisfying, and I think Fender Tucker is a straight
  324.  shooter.
  325.  
  326.  ::: bowing and slinking into the wings :::
  327.  ------------
  328. Category 5,  Topic 5
  329. Message 12        Thu Feb 24, 1994
  330. P.KELLER5                    at 05:44 EST
  331.  
  332. These programs that you sent to Loadstar, were they 64 or 128 programs? I can
  333. maybe see why they changed the rules for 64 programs, on their last disk, they
  334. were stating that they have plenty of 64 programs, but are really looking for
  335. 128 programs, as they are getting short of them. Maybe if you did some 128
  336. programs, you might get paid earlier because they would put them in the 128
  337. Loadstar quicker? Just a thought.
  338.  ------------
  339. Category 5,  Topic 5
  340. Message 13        Thu Feb 24, 1994
  341. CBM-ED [e.g.bell]            at 08:37 EST
  342.  
  343.  PK:
  344.   PK> were they 64 or 128 programs? I can maybe see whythey changed
  345.   PK> the rules for 64 programs, on their last disk, they were
  346.   PK> stating that they have plenty of 64 programs, but are really
  347.   PK> looking for 128 programs, as they are getting short of them
  348.  
  349.  Buzzzzz!  Every program they have bought has been for 128 mode.  It
  350.  is ironic that I got a call from Fender Tucker yesterdy about another
  351.  program I submitted.  I also sent him a 64 version of a 128 mode
  352.  program they bought which will be on the current (or next) disk.
  353.  It seems to me that they have changed the rules period.  
  354.  
  355.   PK> Maybe if you did some 128 programs, you might get paid earlier
  356.   PK> because they would put them in the 128 Loadstar quicker
  357.  
  358.  Don't think so!   :)  As I said, it is nothing I'm starving for, and I
  359.  can afford to wait.  It is just not encouraging to me.  I signed the
  360.  one contract in late November or early December.  I got 1/2 w/in the
  361.  60 days, but have heard no more about the rest of the money.  The 
  362.  other program was accepted around the same tme, and I've been paid
  363.  in full for it, in 2 installments.  I find it discouraging, and 
  364.  particularly so in view of the fact that there are other places to
  365.  go.  As far as the quality of my programs, I'm happy with them, and I
  366.  still get letters from people in the U.S. and Canada who have found
  367.  Magic so useful.  Again, this is just a tiny sore spot with me...
  368.  I'm not a god, and I don't have a fixation on CMD devices, but I do
  369.  write a lot of programs.  Do a search on my name (e.g.bell) in the
  370.  libraries and you'll see a lot of files of mine in the libs.
  371.  ------------
  372. Category 5,  Topic 5
  373. Message 14        Thu Feb 24, 1994
  374. F.OGLE [Color BBS]           at 23:25 EST
  375.  
  376. Ed -- If we work hard at it, there is still hope for fixation of CMD devices!
  377. ;)
  378.  ------------
  379. Category 5,  Topic 5
  380. Message 15        Fri Feb 25, 1994
  381. B.KIRKLAND                   at 00:18 EST
  382.  
  383. Does Loadstar accept programs made in BASIC and compiled, or do they just use
  384. ML programs?
  385.  
  386. Also, how can I contact them?
  387.  
  388. Bob
  389.  ------------
  390. Category 5,  Topic 5
  391. Message 16        Fri Feb 25, 1994
  392. S.GOLDSMITH2 [Iron.Man]      at 02:57 EST
  393.  
  394. ED,
  395.  
  396. Does LoadStar accept C128 CP/M stuff?  Maybe it will encourage me to do a Z80
  397. GIF decoder or something...
  398.  
  399. SG :)
  400.  
  401.  ------------
  402. Category 5,  Topic 5
  403. Message 17        Fri Feb 25, 1994
  404. CBM-ED [e.g.bell]            at 19:36 EST
  405.  
  406.   BK> Does Loadstar accept programs made in BASIC and compiled
  407.  
  408.  Yes.  The second one they bought from me was a compiled BASIC program.
  409.  I suspect there are more people who do that than program in ML.
  410.  
  411.   SG> Does LoadStar accept C128 CP/M stuff?  Maybe it will encourage
  412.   SG> me to do a Z80 GIF decoder or something
  413.  
  414.  I'm inclined to say no for a couple reasons.  First, they only recently
  415.  started offering  their disks on 1581 format, and I believe they ship
  416.  their 5.25 disks on 1541  formatted-both-sides disks.  However, I can't
  417.  speak for them cuz I don't know for sure.
  418.  ------------
  419. Category 5,  Topic 5
  420. Message 18        Fri Feb 25, 1994
  421. B.KIRKLAND                   at 20:38 EST
  422.  
  423. Do you have an address where I can reach them?
  424.  
  425. Bob
  426.  ------------
  427. Category 5,  Topic 5
  428. Message 19        Fri Feb 25, 1994
  429. J.STEPHENSO1 [Jimbo]         at 22:35 EST
  430.  
  431. BK> Do you have an address where I can reach them?
  432.  
  433. I don't have the address handy, but their phone number is 1-800-831-2694. 
  434. That's the number printed on the disk label of their most recent issue.
  435.  
  436.     Jimbo
  437.  ------------
  438. Category 5,  Topic 5
  439. Message 20        Mon Feb 28, 1994
  440. S.VANDERARK [Steve VA]       at 00:26 EST
  441.  
  442. It's interesting to hear how they write their contracts. For what it's worth,
  443. by far most contracts with magazines promise payment "upon publication" with
  444. no money whatsoever until then, so you are actually still ahead of the game. A
  445. few (read that "none") offer what they call "kill fees" that pay a certain
  446. percentage if they don't end up using your stuff even after saying they would.
  447. The only time that happened to me was when RUN quit; they paid me for several
  448. articles which they never published, but at that time I was getting regular
  449. assignments so maybe they were paying for things they had actually asked me to
  450. write.
  451.  
  452. Steve Vander Ark
  453.  ------------
  454. Category 5,  Topic 5
  455. Message 21        Mon Feb 28, 1994
  456. CBM-ED [e.g.bell]            at 07:22 EST
  457.  
  458.  Steve:
  459.   SV> most contracts with magazines promise payment "upon
  460.   SV> publication" with no money whatsoever until then, so you are
  461.   SV> actually still ahead of the game
  462.  
  463.  I have had some things published over the years, and my experience has
  464.  been that I got paid when they decided they wanted to publish the 
  465.  program.  I don't have as much experience with it as you, but then, I don't
  466.  have the kind of time it would take to submit regularly.  Being ahead of
  467.  the game is relative to the game you are playing/used to playing.
  468.  
  469.   SV> pay a certain percentage if they don't end up using your stuff
  470.   SV> even after saying they would.
  471.  
  472.  The 50% I have been paid for the program in question is mine whether they
  473.  publish it or not.  My point in all of this is that the deal gives them
  474.  100% rights for 50% payment, if you see what I mean.  I could have
  475.  submitted the program elsewhere, and perhaps been paid sooner.  Now I 
  476.  feel it is in limbo, and if you are wondering why I went ahead and 
  477.  signed the contract, the answer is, who knew?  :)  It was the first 
  478.  time I had seen the new contract format.  If they do publish it, I get
  479.  the other 50%, but if they don't, it seems I'm out of luck, which is  why
  480.  I feel the way I do.  I can deal with rejection.  I have a LOT of
  481.  experience with that from Compute! and RUN.  But I think I prefer a
  482.  straight rejection than a tepid, 50% acceptance.  I have seen Jeff Jones
  483.  say that this was because sometimes they buy things they later on wonder
  484.  why they ever bought.  Perhaps, but I am a bit more pragmatic when I look
  485.  from my own perspective.... one man's meat is another man's potatoes,
  486.  or however that expression goes.  (BTW, his comment was not directly about
  487.  my program, but rather about the new contract format).
  488.  
  489.  I guess the bottom line is, 1] LoadStar has never cheated me when it
  490.  comes to payment, so their track record does not give rise to suspicion.
  491.  2] They buy stuff that I have written over the years that just never
  492.  got published.  With a couple, I updated or redid them, with the others
  493.  I didn't.  But I'm sure Compute would not have even considered the 
  494.  programs seeing as how they were available in one mutation or another
  495.  for a year or more on various BBS/Networks.  3] I have not let it sour
  496.  my outlook on submitting to them, in light of the above.  Just that as I
  497.  write new stuff, they may not be the avenue of first approach.  I 
  498.  understand that 128 stuff is getting hard to find.  I have my doubts that
  499.  this is the way to coax programmers. :)  
  500.  
  501.  O, one other thing... in conversation with one other programmer, I 
  502.  believe that LoadStar has different contracts for *some* people, but
  503.  I admit this is based on what another author told me, to the effect that
  504.  rights reverted to him after 90 days or something like that.  That does
  505.  no bother me particularly, because I have no desire to bombard readers
  506.  with multiple incarnations of the same stuff, recycled every few
  507.  months/years.  And as an aside, it used to annoy me greatly when I would
  508.  get rejections from Compute saying they had recently bought a program
  509.  like my submission, tho I had never seen it, nor would I see it soon
  510.  thereafter.... and then get served up a seemingly regular dish of 
  511.  near-duplication of programs or techniques.  I spose that is sour grapes.
  512.  :)  Some of the most enduring programs came from them... and I always did
  513.  like them better than Run...... esp. the Gazette!
  514.  ------------
  515. Category 5,  Topic 5
  516. Message 22        Thu Apr 14, 1994
  517. K.LANDRETH-W [karenl6]       at 20:25 EDT
  518.  
  519. After months of letting my Loadstars pile up, I finally opened them all and
  520. briefly went through each one.  I was so impressed with what I saw that I
  521. immediately renewed my subscription.  I read in various places that they could
  522. be loaded to either the CMD HD or RAMLINK.  I did that  via FCOPY+ (1571 to
  523. 1581 emulation partitions), and things went fine......................until I
  524. tried to copy [copy it] one of the programs off to a disk  of its own.  Then I
  525. get this message: file not found.  Of course the file was there!  I finally
  526. put in a call to Jeff or Fender, but I was Good Friday and they were not
  527. there.  They've never called me back.  I really would like to get these to a
  528. 1581 format.   [AA [Dv [BAnd, yes Virginia, I set the drive to Device 8.  What
  529. else I am doing wrong?
  530.  ------------
  531. Category 5,  Topic 5
  532. Message 23        Thu Apr 14, 1994
  533. CBM-ED [e.g.bell]            at 22:14 EDT
  534.  
  535.  Karen:
  536.   KL> Then I get this message: file not found.  Of course the file
  537.   KL> was there
  538.  
  539.  Which file is it that was not found.  A lot of their files depend on the
  540.  menu system they have for loading and getting started.  Perhaps the file
  541.  not found is not the file you think it is.  
  542.  ------------
  543. Category 5,  Topic 5
  544. Message 24        Sun May 01, 1994
  545. CBM-ED [e.g.bell]            at 23:11 EDT
  546.  
  547.  Let me check my files and get back to you.  It would help if we knew what 
  548.  you wanted to do with the raster tho.
  549.  ------------
  550.  
  551. 5  ************
  552. Topic 7         Mon Jan 17, 1994
  553. E.RAFANAN                    (Forwarded) 
  554. Sub: Programming trajectory...              
  555.  
  556. Need help figuring out how to figure out trajectory.
  557. 12 message(s) total.
  558.  ************
  559.  ------------
  560. Category 5,  Topic 7
  561. Message 1         Mon Jan 17, 1994
  562. E.RAFANAN                    (Forwarded) 
  563.  
  564. Just for the heck of it, I'm trying to re-write the classic program where two
  565. tanks lob bombs at each other.
  566.  
  567. The only problem is, I don't know how to calculate (or plot) trajectory. If
  568. only I could find my old college physics books.... :D
  569.  
  570. The equation used force and angle, and I believe it had something to do with a
  571. hyperbola.  Does anyone have the magic formula?
  572.  
  573. Thanks for any help!
  574.  ------------
  575. Category 5,  Topic 7
  576. Message 2         Mon Jan 17, 1994
  577. C128.JBEE                    (Forwarded) 
  578.  
  579.  Just minus 32 feet per second, per second, from the altitude of the
  580.  shell and that will be close enough to the real thing.
  581.  
  582.  Angle and muzzle speed of the shell will determine the arc.
  583.  ------------
  584. Category 5,  Topic 7
  585. Message 3         Mon Jan 17, 1994
  586. E.RAFANAN                    (Forwarded) 
  587.  
  588. You know, I was thinking about that last night.  If you take the angle and
  589. force vectors, then take into account the gravity vector (32 ft/sec
  590.  squared), then that should do it!
  591.  
  592. But then I got to thinking even more (a pretty dangerous thing to do), and I
  593. realized I didn't know how turn that into an equation I could plug values into
  594. and get x and y positions out of.
  595.  
  596. So here's an example: If I start with an angle of 45, and a force of 100, I
  597. start my shell, then after each second subtract 32 from the force? And after
  598. the force goes negative, then start the downward arc?
  599.  
  600. No, that doesn't sound right!  Do I need to do something with sin and cos?
  601. Thanks for the info and anymore help!
  602.  ------------
  603. Category 5,  Topic 7
  604. Message 4         Tue Jan 18, 1994
  605. H.HERMAN1                    (Forwarded) 
  606.  
  607. JBEE,
  608.  
  609. How in the world would you know something like that?  :)
  610.  
  611. Howie
  612.  ------------
  613. Category 5,  Topic 7
  614. Message 5         Tue Jan 18, 1994
  615. S.GOLDSMITH2 [Iron.Man]      (Forwarded) 
  616.  
  617. There are some good books on advanced graphics, but they are for C and Pascal.
  618. An arc routine would be easy, since you could just use one semi circle of a
  619. Bresenham type ellipse routine.  Instead of plotting a pixel you could use the
  620. X,Y to plot the shell sprite.  The actual shell speed could be calibrated by a
  621. routine that took into account the pitch of the arc.  As the shell reaches
  622. apogee is slows until it falls back to earth and gains speed.
  623.  
  624. Try to use integer math where possible and tables instead of COS and SIN. This
  625. isn't a big deal for C= BASIC since it doesn't have true integer math. It uses
  626. floating point for integers too.  Using integers makes it a lot easier and
  627. faster to xlate it to Assembler, C or Pascal.
  628.  
  629. SG :)
  630.  
  631.  ------------
  632. Category 5,  Topic 7
  633. Message 6         Tue Jan 18, 1994
  634. E.RAFANAN                    (Forwarded) 
  635.  
  636. So I'm trying to plot an ellipse then?  Actually, if I could understand the
  637. concept behind plotting the trajectory, then it wouldn't be hard  translating
  638. it into a program.
  639.  
  640. Any "10-minute guides to plotting trajectory" lectures out there?  I think 
  641. that I might go to the library this weekend (need to get something out of all
  642. those tax dollars!).
  643.  ------------
  644. Category 5,  Topic 7
  645. Message 7         Wed Jan 19, 1994
  646. S.GOLDSMITH2 [Iron.Man]      (Forwarded) 
  647.  
  648. No, you don't what the whole ellipse, just one or more quadrants to form an
  649. arc.  Your best bet would be to pick up a book on graphics programming that
  650. conatins lines, circles, ellipses, arcs, etc.  You could also use a table that
  651. contains points for a basic arc and add offsets depending on the slope, etc.
  652.  
  653. SG :)
  654.  
  655.  ------------
  656. Category 5,  Topic 7
  657. Message 8         Wed Jan 19, 1994
  658. CBM-ED [e.g.bell]            (Forwarded) 
  659.  
  660.   ER> Any "10-minute guides to plotting trajectory" lectures out
  661.   ER> there
  662.  
  663.  By any chance, do you have the demo disk for the 1541 disk drive? There
  664.  was a program on there called Snoopy Math or something like that, and 
  665.  I believe it was in BASIC and did something very similar to what you are
  666.  trying to do.  Being a PD program (I think), you could remove the 
  667.  needed routine and skip worrying about how it works.
  668.  ------------
  669. Category 5,  Topic 7
  670. Message 9         Sat Jan 22, 1994
  671. E.RAFANAN                    (Forwarded) 
  672.  
  673. Thanks for all the help!  I finally went to the library and found a couple of
  674. texts on physics and trigonometry.  Almost made me feel like I was in college
  675. again. :D
  676.  
  677. If anybody is interested, here are the formulas for finding the X and Y
  678. positions at any given T (time) for any given Angle.
  679.  
  680. x=v*t*cos(a)
  681.  
  682.      and       
  683.  
  684. y=v*t*sin(a)-16*t^2
  685.  
  686. A is measured in radians, not degrees if you are doing this using BASIC. I
  687. tried this out in BASIC 8 and I got some really nice trajectories! Now the
  688. rest of the game should be a piece of cake! (yeah, right...)
  689.  
  690. Again, thanks for all the help!
  691.  
  692. Eric
  693.  ------------
  694. Category 5,  Topic 7
  695. Message 10        Wed Feb 02, 1994
  696. C128.JBEE                    (Forwarded) 
  697.  
  698.  > E.RAFANAN
  699.  
  700.  > So here's an example: If I start with an angle of 45, and a force of 100
  701.  
  702.  Actually, force is measured (in simple terms) Mass X Velocity.  I think you
  703.  mean velocity?
  704.  
  705.  > H.HERMAN1                    at 02:12 EST
  706.  > How in the world would you know something like that?  :)
  707.  
  708.  When I was in high school I wanted to be a college history professor, so
  709.  one qtr I combined my Fortran, History, and Physics class all into one
  710.  project.  I wanted to determine, without air power, how much U.S. sea power
  711.  it would have taken to sink the Japanese Yamato Battleship.  Because I had
  712.  to figure the maximum range, effective range, and firing rate of the guns and
  713.  torpedos, ship speed and turning radius, time of the shell in the air, etc I
  714.  had to know these same formulas :)
  715.  
  716.  I see from an earlier post he already has the formula from a book.  But
  717.  since I already dug out my text books I think I will post some books I have
  718.  used in case someone else wants to look them up in their local library.
  719.  
  720.  New Intelligent Man's Guide to Science (two volume set)
  721.  by Isaac Asimov (1965)
  722.  
  723.  The volume on Physical Science is the one you need for a basic
  724.  understanding of how rockets and shells work. (no ISBN)
  725.  
  726.  Calculus by Flanders, Korthage, Price
  727.  ISBN #0-12-259640-4
  728.  ------------
  729. Category 5,  Topic 7
  730. Message 11        Wed Feb 02, 1994
  731. CBM-ED [e.g.bell]            (Forwarded) 
  732.  
  733.   JB> volume on Physical Science is the one you need for a basic 
  734.   JB> understanding of how rockets and shells work
  735.  
  736.  I peeked at the end of this one....  you drop them on something and they
  737.  explode.  :)
  738.  ------------
  739. Category 5,  Topic 7
  740. Message 12        Wed Feb 02, 1994
  741. C128.JBEE                    (Forwarded) 
  742.  
  743.  lol!
  744.  ------------
  745.  ************
  746. Topic 8         Sun Aug 29, 1993
  747. M.SEABRUM                    (Forwarded) 
  748. Sub: Changing Basic Rom into RAM...         
  749.  
  750. I have a ML program that is loaded into Basic ROM. I wish to edit this program
  751. with a monitor. If I load the program  from within the monitor, the program is
  752. not there. In other words, how can I change BASIC ROM INTO RAM?
  753.  
  754. 13 message(s) total.
  755.  ************
  756.  ------------
  757. Category 5,  Topic 8
  758. Message 1         Sun Aug 29, 1993
  759. M.SEABRUM                    (Forwarded) 
  760.  
  761. I need to change BASIC ROM into RAM so that I can edit a ML program. Anyone
  762. know how to do this? The Ml is loaded into the bottom of basic (Basic Rom) and
  763. I can't touch it if it's loaded in. I wonder why?
  764.  
  765. /s
  766.  ------------
  767. Category 5,  Topic 8
  768. Message 2         Sun Aug 29, 1993
  769. R.KNOP1 [Rob Knop]           (Forwarded) 
  770.  
  771. It sounds like you are running up against the 128's memory banking scheme. If
  772. you want to do _any_ assembly language program for the C128, it is vital that
  773. you understand how the 128's memory banking scheme works.  It is too large a
  774. topic for me to give a decent treatment of here, but briefly, if you are
  775. editing it in the monitor, try dissassembling starting at "04000" instead of
  776. "f4000", and you should see the program in RAM.  In BASIC, type "bank 0" to
  777. get at the RAM, "bank 15" to get at the BASIC ROM.
  778.  
  779. There are a number of good references out there.  If you really are serious
  780. about 128 programming, I would recommend trying to get your hands on COMPUTE'S
  781. "Mapping the 128" byOtis Cowper.  This book is packed full of useful (and
  782. vital) information, plus it has a good discussion of the 128's banking scheme.
  783. Most books on C-128 programming (assembly specifically) should discuss the
  784. 128's banking scheme, so try to get your hands on at least one.
  785.  
  786. -Rob
  787.  ------------
  788. Category 5,  Topic 8
  789. Message 3         Sun Aug 29, 1993
  790. J.JONES36 [LOADSTAR]         (Forwarded) 
  791.  
  792.   LDA #$76; or you can use #$36 STA 1
  793.  
  794.  
  795. will switch in the RAM.  There's no need to disable interrupts.  Just don't
  796. RTS to BASIC with the ROM switched out.  I noticed that STOP/RESTORE restores
  797. the RAM while debugging last week.
  798.  
  799. The normal restoration would be:
  800.  
  801. LDA #$77; or #$37 STA 1
  802.  
  803. #$74 will knock all ROMs and IO out.  SEI should be used first.
  804.  ------------
  805. Category 5,  Topic 8
  806. Message 4         Sun Aug 29, 1993
  807. M.SEABRUM                    (Forwarded) 
  808.  
  809. I'm really appreciate all the help. I'm using ML with a C64, not 128. I looked
  810. at the code and was trying to reassemblle it, but it seems as though that it
  811. may take a while to do. Will the comments in the previous section work on the
  812. C64 if I wanted to knock the ROM out and replace it with RAM? Many thanks!!!
  813.  
  814. /s
  815.  ------------
  816. Category 5,  Topic 8
  817. Message 5         Mon Aug 30, 1993
  818. R.KNOP1 [Rob Knop]           (Forwarded) 
  819.  
  820. Hi-
  821.  
  822. Whoops, sorry, I spend too much time in 128 mode :D
  823.  
  824. What Jeff said was for the 64; he must spend too much time in 64 mode :D
  825.  
  826. Though, since his lines ran together on one line, for clarity I will re-echo
  827. what Jeff said:
  828.  
  829.   LDA #$76; or you can use #$36
  830.   STA 1
  831.  
  832. To restore:
  833.  
  834.  LDA #$77; OR #$37
  835.  STA 1
  836.  
  837. And, as Jeff said, rember to SEI before doing this.
  838.  
  839. To modify my recommendations, I would recommend "Mapping the 64" by Sheldon
  840. Leeman.  Not quite as good as Mapping the 128 IMHO, but still an invaluable
  841. reference.
  842.  
  843. -Rob
  844.  ------------
  845. Category 5,  Topic 8
  846. Message 6         Tue Aug 31, 1993
  847. M.SEABRUM                    (Forwarded) 
  848.  
  849. Thank you for your reply. I really appreciate it. Will this work for Kernal
  850. ROM also. What about I/O. Does it have a RM area also? You can can shift
  851. in/out like that from ROM/RAM that's alot of space to put ML programs. Is
  852. there anything that I have to look out for when programming something into
  853. ROM?
  854.  
  855.  ------------
  856. Category 5,  Topic 8
  857. Message 7         Tue Aug 31, 1993
  858. M.SEABRUM                    (Forwarded) 
  859.  
  860. I have a new question. I need a timeout routine of say about 5 minutes or so.
  861. I can''t use the JIFFY clock because the BBS uses it to keep time of how many
  862. minutes/hours the user has been online. I was thinking I would have to read
  863. the TOD clock  somehow.. The # of minutes allowed should be able to be set
  864. with a poke statement or a number of poke statements to memory. For example.
  865. Poke 830,5: 5 minutes allowed until timeout. Any help or suggestions?
  866.  
  867. One more thing... Linefeeds. Does a carriage have to go before the linefeed is
  868. sent out or do the linefeed go out first. What will happen if I sent carriage
  869. linefeed and then another carriage? No linefeed will occur? IBM's are really
  870. picky about LF...
  871.  
  872.  ------------
  873. Category 5,  Topic 8
  874. Message 8         Tue Aug 31, 1993
  875. J.JONES36 [LOADSTAR]         (Forwarded) 
  876.  
  877.  
  878.   LDA #$76
  879.   STA 1
  880.  
  881.   Will work on a C-64 to knock out the BASIC ROM.
  882.  ------------
  883. Category 5,  Topic 8
  884. Message 9         Tue Aug 31, 1993
  885. J.JONES36 [LOADSTAR]         (Forwarded) 
  886.  
  887.  
  888.   SEI
  889.   LDA #$74 ; or #$34
  890.   STA 1
  891.  
  892.   Will knock out all BASIC, IO and kernal.  Don't forget the SEI. Natch, you
  893. can't use kernal routines whilst the kernal is switched out.
  894.  ------------
  895. Category 5,  Topic 8
  896. Message 10        Fri Sep 03, 1993
  897. J.SPRINGER                   (Forwarded) 
  898.  
  899. If you are using a M/L monitor to disassemble the code under BASIC your M/L
  900. monitor may not like you switching out BASIC. You can try it with yours. I
  901. always have used MICROMON64 on the C64, you do a memory dump of location 1 and
  902. modify it with a #$36 and then go look at the code @ A000-BFFF. Micromon won't
  903. like it if you switch out IO and KERNEL. You may have to write a small routine
  904. to copy the code from under the kernel into an area you can look at it modify
  905. it then write it back. Most M/L monitors need at  least IO and KERNEL active.
  906.  
  907. Jim
  908.  ------------
  909. Category 5,  Topic 8
  910. Message 11        Sat Sep 04, 1993
  911. J.JONES36 [LOADSTAR]         (Forwarded) 
  912.  
  913. SUPER SNAPSHOT'S monitor is awesome.  Not only DOESN'T it need ANY ROM
  914. switched in, it can LOAD and SAVE with IO and the KERNAL switched out.  I love
  915. that monitor.  It's also the most forgiving monitor ever.  Not finicky at all
  916. about spaces.
  917.  ------------
  918. Category 5,  Topic 8
  919. Message 12        Sun Sep 05, 1993
  920. CBM-ED [e.g.bell]            (Forwarded) 
  921.  
  922.  You guys are way better than me if you work with monitors to disassemble and
  923.  edit the rom under any of the RAM, 64 or 128 mode.  I use Symbol Master and
  924.  disassemble the code, make my edits, then reassemble it.
  925.  
  926.  And Michael... one thing you MUST make sure of when using RAM under BASIC
  927.  ROM for a BBS... do NOT use address 40960 for anything you need preserved
  928.  like data files or anything.  That address will get corrupted by some of 
  929.  kernal reset routines.
  930.  
  931.  For your line feed problem, try this... wedge a little code into the 
  932.  CHROUT vector that will check for a carriage return.  When it is found, 
  933.  IF a flag is set, print the carriage return by doing a JSR $EF79, load a
  934.  line feed, and resume the normal routine.  You don't have to worry about
  935.  saving the carriage return unless you absolutely know why you should, and
  936.  then you could save it if it is necessary.  Just set the flag when you want
  937.  line feeds sent.  We are probably talking 30 bytes or less, including the
  938.  installation of the wedge.  This is easier than a big rewrite and would 
  939.  catch it in every necessary application including to the printer.  Howzzat?
  940.  
  941.  Incidentally, you could do the same for your timer if you wanted... wedge 
  942.  into the main IRQ routine and just decrement 3 registers you declared to be
  943.  your timer.  That is all the IRQ routine does with the jiffy clock.  Matter 
  944.  of fact, you could decrement them, like the countdown timer in the 128, and
  945.  just test the high bit of the 2nd or 3rd register for underflow to see when 
  946.  the timer had counted down.   That would still allow you a tod clock and 
  947.  timer.... tho in all fairness  the cia timer alarm would probably be the
  948.  best way to go...  you really need a mapping book!  I'm off to bed now but
  949.  remind me so I'll post the code tomorrow or Monday.  Just got back from
  950.  vacation.
  951.  ------------
  952. Category 5,  Topic 8
  953. Message 13        Sun Sep 05, 1993
  954. CBM-ED [e.g.bell]            (Forwarded) 
  955.  
  956.  Michael:
  957.  
  958.  When you change the RAM under ROM, you should put in the system vectors at
  959.  the top of memory (into your code in RAM) so that they are there if you 
  960.  want to 'execute' code there.  This will protect you in event of interrupts
  961.  occurring while the ROM is swapped out.  This is only 6 bytes or so at the
  962.  very end of memory.  Also, as I said before, the init routine that tests
  963.  memory when the computer goes though its reset checks corrupts the byte at
  964.  40960.  I also seem to remember some routines corrupt certain locations in
  965.  the kernal area of RAM, tho I don't remember which routines or which 
  966.  addresses, or even if this is for the 128 only.
  967.  ------------
  968.  ************
  969. Topic 9         Sat Aug 14, 1993
  970. L.THOMAS21                   (Forwarded) 
  971. Sub: HELP ME! With Basic and Datasette      
  972.  
  973. How do I save a PRG file to datasette within a basic PRG.  I have a XMODEM 
  974. transfer program I am altering to save to Datasette and I cant seem to find
  975. the format anywhere.  Please Help! Thanx!
  976.  
  977. 6 message(s) total.
  978.  ************
  979.  ------------
  980. Category 5,  Topic 9
  981. Message 1         Sat Aug 14, 1993
  982. L.THOMAS21                   (Forwarded) 
  983.  
  984. I have tried open 1,1,0,<Filename> It didn't work.  I have tried open
  985. 1,1,0,<filename>,P,W (like for the 1541) No Dice Either. PLEASE HELP!!!!
  986.  
  987. Thanx! Thomas
  988.  ------------
  989. Category 5,  Topic 9
  990. Message 2         Sat Aug 14, 1993
  991. CBM-ED [e.g.bell]            (Forwarded) 
  992.  
  993.  LT:  I know what your problem is... hehehe
  994.   LT> I have tried open 1,1,0,<Filename> It didn't work.  I have
  995.   LT> tried open 1,1,0,<filename>,P,W (like for the 1541)
  996.  
  997.  Your problem is your secondary address.  You are using 1,1,0, which
  998.  is for READing from the cassette.  Try a statement like this:
  999.  
  1000.  open 1,1,1,"filename"
  1001.  
  1002.  or
  1003.  
  1004.  open 1,1,2,"filename"
  1005.  
  1006.  Either of these should do the trick for  you.  Let us know how you
  1007.  make out...
  1008.  ------------
  1009. Category 5,  Topic 9
  1010. Message 3         Sat Aug 14, 1993
  1011. C128.JBEE                    (Forwarded) 
  1012.  
  1013.  If you are using a C-128, make sure it is in slow mode and JiffyDos
  1014.  is disabled.
  1015.  ------------
  1016. Category 5,  Topic 9
  1017. Message 4         Wed Aug 18, 1993
  1018. L.THOMAS21                   (Forwarded) 
  1019.  
  1020. Thats a typo I have tried 1,1,1 also but the cpu never says "Loading" and
  1021. anever finds the program(s) that I have tried to put on datasette [K. Is there
  1022. a CHR$() thast needs to preceede or be at the end? I will try again.  It. does
  1023. say "Found (filename)" but never loading? Why? Why I am really doing this is
  1024. my 1541 needs alignment can read but not  write. so I wanted to save a
  1025. alignmet prg on my ibm and xmodem it to c64 to datasette load a run to fix the
  1026. problem .
  1027.  ------------
  1028. Category 5,  Topic 9
  1029. Message 5         Sat Aug 21, 1993
  1030. CBM-ED [e.g.bell]            (Forwarded) 
  1031.  
  1032.  LT:
  1033.  
  1034.   LT> Thats a typo I have tried 1,1,1 also but the cpu never says
  1035.   LT> "Loading" and anever finds the program(s) that I have tried to
  1036.   LT> put on datasette [K. Is there a CHR$() thast needs to preceede
  1037.   LT> or be at the end? I will try again.  It. does say "Found
  1038.   LT> (filename)" but never loading?
  1039.  
  1040.  You know, don't you, that there is a substantial delay between the
  1041.  time that the computer says 'Found (filename) and the time that the
  1042.  loading actually starts.  How long have you waited to see if the 
  1043.  program was going to load.  I have not used tape in years, but I do
  1044.  remember that.  Also, in the Xmodem shell that you modified, when you
  1045.  modified the file open routine, did you also go through and modify
  1046.  the CHKOUT (if you changed the channel numbers).  You may not have 
  1047.  changed the channel number, but if you are opening 1,1,1 in BASIC,
  1048.  you are going to have to do the 'ldx #1:jsr chkout' in the Xmodem
  1049.  shell or the file will be opened but nothing will get written to 
  1050.  it.  Give this a try or at least check it out and let us know if we
  1051.  have gotten any closer to the solution.  I bet this is a pretty good
  1052.  guess though!
  1053.  ------------
  1054. Category 5,  Topic 9
  1055. Message 6         Mon Sep 27, 1993
  1056. L.THOMAS21                   at 23:25 EDT
  1057.  
  1058. I used to well versed in ML for the c64, I didnt see any ML in this PRG all I
  1059. saw was basic to xmodem the the program.
  1060.  
  1061.  
  1062. I waited more that enough time to see if it was going to load. also  when
  1063. reading the datasette file on a prg I saved I got the ST=?? that meant EOF
  1064. before I was supposed to. ( I was actually trying to read the file one string
  1065. at a time then I tried one byte at a time. )  I mean, after I saved the PRG,
  1066. with the Xmodem program. I wrote a litter Basic program to read the file I had
  1067. just Thought I had saved. (after it wouldn't load of course) .  I found out
  1068. that the ST's where not like the one when I had saved the Basic program to
  1069. read the file one byte at a time (Did that to check the datasette
  1070.  to make sure it would load and save properly). I just dont think I can save a
  1071. PRG file from within a BASIC program. to datasette.  I know you can on a 1541
  1072. have done it from BASIC and ML. I just wish I never lost my Prog Ref Manual! 
  1073. :'''''( Cost me 20 bucks back then!!
  1074.  
  1075. Thanx for the help. If you hear any more please lket me know, I don't visit
  1076. here much - I'm trying to larn my IBM(Incompatible Business Machine) noww
  1077. Thomas (Hangover)
  1078.  
  1079.  ------------
  1080.  
  1081. 5