home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / Information / C-128-BASIC-COMPILERS < prev    next >
Encoding:
Text File  |  2019-04-13  |  15.3 KB  |  478 lines

  1. **********
  2. Topic 20        Sat Mar 22, 1986
  3. S.RICH                       (Forwarded) 
  4. Sub: compiler question!                     
  5.  
  6. looking for Mr. Goodcompiler!
  7. **********
  8. ----------
  9. Category 14,  Topic 20
  10. Message 1         Sat Mar 22, 1986
  11. S.RICH                       (Forwarded) 
  12.  
  13. Deb, Courtney, or anyone else who can help:
  14. I should be very interested in getting a "tear-and-compare" of the Blitz-128 
  15. compiler and the Abacus Basic-128 Compiler, before plunking down the 
  16. big ones for one of them? If it's too long to post here, feel free to leave me 
  17. E-Mail.  Thanks
  18. Simon
  19. ----------
  20. Category 14,  Topic 20
  21. Message 2         Sat Mar 22, 1986
  22. WHIRT [WDHIRT]               (Forwarded) 
  23.  
  24. Simon,
  25.    I've had Basic 128 from Abacus for a while and I am very happy with
  26. it. If your familiar with their Basic 64 compiler, you won't have
  27. any problem making the change to the Basic 128 compiler. One thing
  28. with Basic 128 you have to be very careful about is when transferring
  29. files around. A Basic 128 program transmitted over the modem using the
  30. Xmodem can get padded and will refuse to work on the receiving end.
  31. lso the DOS shell adds an extra character at the end of a file when
  32. opying which causes the program not to work. I've had the second
  33. occur a couple of times. Despite these "problems", Basic 128 is a very
  34. powerful compiler and I would recommend it whole heartedly.
  35.                                                  Bill
  36. ----------
  37. Category 14,  Topic 20
  38. Message 3         Sat Mar 22, 1986
  39. ZELNICK [TIGER]              (Forwarded) 
  40.  
  41. I am very happy with the BASIC 128, it is a very good compiler,
  42. I had one problem: when I compiled my basic program, in the second pass
  43. it said: SYSTEM ERROR 20 - COPY PROTECTED.
  44. any explanations?
  45.            thanks.
  46. ----------
  47. Category 14,  Topic 20
  48. Message 4         Sat Mar 22, 1986
  49. CHARRINGTON                  (Forwarded) 
  50.  
  51. In my experience both Blitz128 and Basic 128 work well.
  52. There really isn't a whole lot of difference between the
  53. two. I find Blitz easier to work with and it passes
  54. varables between files easier. But, it is also more
  55. expensive. Too expensive actuially. Basic 128 is a fair
  56. program at a fair price. My suggestion: if you really
  57. have no real favorite, go with Basic 128. If you have
  58. used and like Blitz, then stick with Blitz 128.
  59. Hope that helps. It's like cars. They all have 4 wheels
  60. and keep you dry in the rain. Some are prettier than
  61. others and get you where you are going a bit faster.
  62. ----------
  63. Category 14,  Topic 20
  64. Message 5         Sun Mar 23, 1986
  65. DEB [*deb!*]                 (Forwarded) 
  66.  
  67. Another note about BLITZ...it uses a *USER PORT* dongle...so if you are
  68. testing any communications software, you can imagine what a pain that is!
  69.   
  70. I've also heard of other folks having better success rates with BASIC 128
  71. in hybrid BASIC/ML variations and in general compatibility.
  72.   
  73.       **
  74. ----------
  75. Category 14,  Topic 20
  76. Message 6         Sun Mar 23, 1986
  77. S.RICH                       (Forwarded) 
  78.  
  79. Deb:
  80. A USER PORT dongle???????
  81. Now THAT's exotic!
  82. Simon
  83. ----------
  84. Category 14,  Topic 20
  85. Message 7         Sun Mar 23, 1986
  86. CHARRINGTON                  (Forwarded) 
  87.  
  88. Deb is right. I forgot about that dongle. The first thing I did
  89. when I got the prm was deblitz it and remove that pain in the
  90. neck routine that checked for the dongle.
  91. I change my recomendation...maybe Basic 128 would be best.
  92. ----------
  93. Category 14,  Topic 20
  94. Message 8         Mon Mar 24, 1986
  95. DEB [*deb!*]                 (Forwarded) 
  96.  
  97. Oh, Courtney.....are you telling me that Unblitzing programs WORK on the
  98. C-128 BLITZ, too?!
  99.    
  100. Care to elaborate for us???
  101.    
  102.    **
  103. ----------
  104. Category 14,  Topic 20
  105. Message 9         Mon Mar 24, 1986
  106. CHARRINGTON                  (Forwarded) 
  107.  
  108. Hi Deb--
  109. Someone wrote one that deblitz's 128 version very nicely. There
  110. is some concern about if it is legal...or PD or wherever. Do
  111. you the status of DeBlitzer's for the 64? If those are Ok, then
  112. I shall assume the 128 version too and will upload it.
  113. courtney
  114. ----------
  115. Category 14,  Topic 20
  116. Message 10        Tue Mar 25, 1986
  117. DEB [*deb!*]                 (Forwarded) 
  118.  
  119. Courtney ... 
  120.    
  121.     LEGAL, yes, a deBlitz is legal.  Whether its non-copyrighted or not,
  122. is the real question.  There were *2* deBlitz's for the 64, one was a
  123. custom hacker tool, called deBlitz, and available first.  The other was a
  124. commercial product called UnBlitz, from MegaSoft, I think, don't really
  125. remember.  So, the first is PD, the second was not.  
  126.    
  127.    Tracing the sources of some of these programs is very interesting....!
  128. But, perhaps you would know more about the source of the 128 deBlitz?  I've
  129. neither seen nor heard of a commercial product - but that doesn't really 
  130. mean it doesn't exist. 
  131.   
  132.     **
  133. ----------
  134. Category 14,  Topic 20
  135. Message 11        Tue Mar 25, 1986
  136. CHARRINGTON                  (Forwarded) 
  137.  
  138. Deb-- the deBlitz for the 128 was written by a demented 14 yr old
  139. hacker here in Honolulu. I'll contact him and ask if he minds it
  140. being placed in the public domain. I have one of two beta-copies
  141. he passed out.
  142. I'll let ya know.
  143. courtney
  144. ----------
  145. Category 14,  Topic 20
  146. Message 12        Wed Mar 26, 1986
  147. DEB [*deb!*]                 (Forwarded) 
  148.  
  149. Question of the hour:   Are 14 year old hackers any more demented than
  150. 30 or 40 year old hackers?
  151.    
  152.    *grin!*
  153. ----------
  154. Category 14,  Topic 20
  155. Message 13        Thu Mar 27, 1986
  156. SZARETSKY [Steve Z]          (Forwarded) 
  157.  
  158. Yes, 14 year old hackers are MUCH more demented than 30 or 40 year
  159. olds, especially when you're a high school teacher!!!!!!!
  160. ----------
  161. Category 14,  Topic 20
  162. Message 14        Fri Mar 28, 1986
  163. S.LEWIS                      (Forwarded) 
  164.  
  165. $#%#%#$%""'&%'' thing dumped me after a nice explanation of Basic 128,
  166. so I'll recap:
  167.  
  168. It offers two levels of optimization, plus options for p-code and
  169. true ML compilation.
  170.  
  171. It will configure the compiled program to operate in just about ANY
  172. memory map you need and interfaces nicely with ML.
  173.  
  174. It will just about be impossible to "de-Basic 128" one of these things
  175. given the many options available to you, so your program security 
  176. is not sacrificed in the least by demented hackers of any age.
  177.  
  178. It is a *STEAL* at under $60 compared to Blitz at about a hundred and
  179. offers so many features for the bucks that it would be a shame not to
  180. have a copy!
  181.  
  182. It is SENSITIVE to any sort of padding at the end of a compiled program
  183. which will cause minor inconveniences when transfering programs from
  184. disk to disk or over the phone. PUNTER transfers will NOT pad the end
  185. of the compiled program file and will allow modem to modem copies 
  186. (Sorry, DEB!?!?).
  187.  
  188. A system error 20 indicates that you have a bogus copy (shame on YOU) OR
  189. you have a VERY EARLY release of the program which apparently did not
  190. have any copy protection applied to the diskette. Abacus was totally
  191. helpful on the phone and sent me a copy NEXT DAY UPS the same day I
  192. phoned them after supplying them with the registration number from
  193. the original diskette.
  194.  
  195. ----------
  196.  
  197. Nobody has yet mentioned the SM-Compiler 128 - is it not generally
  198. available across our great land?
  199.  
  200. It is not nearly as difficult to use as Basic 128, but, unfortunately,
  201. will not compile certain C128 keywords and requires specific format
  202. for others. I will not judge this product too harshly at this moment
  203. because the version I had was not completed. I do not recall the cost,
  204. but believe it was under $50.
  205.  
  206. So much for compilers... without them, life would be a slow basic
  207. program file.
  208.  
  209. Steve
  210.  
  211. PS-Please DO upload that de-blitzer as I want to peek into a couple of
  212. Blitz'd 128 programs!
  213. ----------
  214. Category 14,  Topic 20
  215. Message 15        Fri Mar 28, 1986
  216. DEB [*deb!*]                 (Forwarded) 
  217.  
  218. Hey ... don't apologize to me, Xmodem's penchant for padding is a pain!
  219. ...but its fast, and it works!
  220.    
  221.    
  222. Steve, thank you so much for the details on Basic 128!!  Now, did I read
  223. you right...it compiles into 6502 opcodes...???!!!
  224.   
  225.      **
  226. ----------
  227. Category 14,  Topic 20
  228. Message 16        Sat Mar 29, 1986
  229. CHARRINGTON                  (Forwarded) 
  230.  
  231. I'm awaiting permission from the author to upload the Blitz128
  232. de-blitzer. As soon as he gives it, I'll put in the library.
  233. courtney
  234. ----------
  235. Category 14,  Topic 20
  236. Message 17        Sat Mar 29, 1986
  237. S.LEWIS                      (Forwarded) 
  238.  
  239. Yes, oh dear SYSOP of the lamp...
  240.  
  241. Or at least that is what is says it does and I have no reason to dis-
  242. believe.
  243.  
  244. Please keep in mind, however, that it is compiling a BASIC program, and
  245. will do some really wierd things to keep the syntax of basic working...
  246.  
  247. Such as do some crazy stuff with variables and strings!!!
  248.  
  249. Steve
  250. ----------
  251. Category 14,  Topic 20
  252. Message 18        Tue Apr 15, 1986
  253. BOBR [Bob Retelle]           (Forwarded) 
  254.  
  255. Deb... yes, the second mode of BASIC128 compiled directly into native 6502
  256. code, but at a price of larger object programs...
  257.  
  258. The 'p-code' version, while slower (it has to be interpereted at run-time),
  259. is smaller...
  260.  
  261. It's nice to have the choice..!
  262.  
  263. Bob R
  264. ----------
  265. Category 14,  Topic 20
  266. Message 19        Thu Apr 17, 1986
  267. DEB [*deb!*]                 (Forwarded) 
  268.  
  269. WHY is the object larger if its REALLY 6502 codes????
  270.    
  271.      **
  272. ----------
  273. Category 14,  Topic 20
  274. Message 20        Thu Apr 24, 1986
  275. S.LEWIS                      (Forwarded) 
  276.  
  277. Basic code to say, print "hello" takes up:
  278. 2 bytes for link address, two bytes for line number, one byte for statement
  279. end, one byte for the PRINT token, two bytes for quotations, and five bytes
  280. for the "hello." That makes a grand total of 13  bytes. A quick and dirty
  281. ML program to do the same thing might look like:
  282. LDX #$05      (2  bytes)
  283. LDA zzzz,X    (3  bytes)
  284. JSR FFD2      (3  bytes)
  285. DEX           (1  byte )
  286. BNE  (line 7) (2  bytes)
  287. RTS           (1  byte )
  288. .BYT o
  289. .BYT l
  290. .BYT l
  291. .BYT e
  292. .BYT h        (5  bytes)
  293. This ugly ML routine takes up 17  bytes to accomplish the same  task.
  294. The compiler has to basically do exactly what I have done here to end
  295. up in the same place. If you  were to do any arithmetic, the resulting
  296. ML would probably be much longer.
  297.  
  298. Out of curiosity, may pull out BASIC 128 and play with it and see what it 
  299. ends up with as far as  code
  300. lengths are concerned...
  301.  
  302. Steve
  303. ----------
  304. Category 14,  Topic 20
  305. Message 21        Thu Apr 24, 1986
  306. DEB [*deb!*]                 (Forwarded) 
  307.  
  308. Good Point, Steve....I suppose that any translation, directly from Basic
  309. just won't make good compact code!
  310.   
  311.    deb!
  312. ----------
  313. Category 14,  Topic 20
  314. Message 22        Thu Apr 24, 1986
  315. RICKERS [Rickers]            (Forwarded) 
  316.  
  317.  If you're willing to use ML routines provided in the OS on the 128 you can
  318.  use....
  319.   JSR PRIMM
  320.   TXT 'HELLO'
  321.   DFB 0
  322.  ....
  323.  Thats 9 bytes.... PRIMM is located at $FF7D
  324.  
  325.  Rick
  326. ----------
  327. Category 14,  Topic 20
  328. Message 23        Thu Apr 24, 1986
  329. S.LEWIS                      (Forwarded) 
  330.  
  331. PRIMM is the answer on the 128 machine but the 64 and other Commies don't
  332. have it. I'd almost be willing to bet that the Basic 128 compiler doesn't
  333. even use it!
  334.  
  335. And PRIMM doesn't address the need to perform math of any kind or memory
  336. shuffling  or nice convenient variables (in place of tables of data).
  337.  
  338. Steve
  339. ----------
  340. Category 14,  Topic 20
  341. Message 24        Fri Apr 25, 1986
  342. RICKERS [Rickers]            (Forwarded) 
  343.  
  344. Yes, in both cases a constant is being printed.... 'hello'.  No more,no less.
  345. ----------
  346. Category 14,  Topic 20
  347. Message 25        Tue Sep 16, 1986
  348. DEBS-GUEST [MIKEM]           (Forwarded) 
  349.  
  350. While re-reading the messages in this topic I saw something that
  351. could stand repeating again <and again>.  Programs compiled with
  352. BASIC-128 are very susceptible to Xmodem padding  (those little
  353. CONTROL-Z critters appended to the file).
  354.  
  355. If you download a program and it does not run as specified (either
  356. just sits there with a blank screen or dumps you to the monitor),
  357. check for the padding and remove it!  My experience has been that
  358. Sixth Sense strips padding automatically.  BT PRO-128 does not
  359. strip, but the padding can be removed through the editor functions.
  360. (Correct me if I'm wrong).
  361.  
  362.  
  363. -Mike
  364. ----------
  365. Category 14,  Topic 20
  366. Message 26        Tue Sep 16, 1986
  367. DEB [*deb!*]                 (Forwarded) 
  368.  
  369. Mike....right, BTPro's full screen buffer editor will allow you to
  370. strip out the padding manually.  <<Or anything else you want to strip>>
  371.   
  372. Every once in a while we get files uploaded with the WRONG characters used
  373. as padding...BTPro allows you to judge for yourself what you are looking
  374. at and delete just what you specify.  On things which pad with spaces
  375. or ###'s, automatic stripping just won't work.  <<Tho we try to catch
  376. these and re-upload before they are made public...>>
  377. ----------
  378. Category 14,  Topic 20
  379. Message 27        Tue Sep 16, 1986
  380. KEVIN-S. [KeS]               (Forwarded) 
  381.  
  382. Grrrr.....
  383. ----------
  384. Category 14,  Topic 20
  385. Message 28        Tue Sep 16, 1986
  386. SURVIVOR [S. Gutknecht]      (Forwarded) 
  387.  
  388.  
  389.  
  390. DOES not ARC.210 have a ""padding stripper"" for any program?
  391.  
  392. (((((Just use BLITZ!))))))
  393.  
  394. ----------
  395. Category 14,  Topic 20
  396. Message 29        Tue Sep 16, 1986
  397. CHARRINGTON                  (Forwarded) 
  398.  
  399. I just recieved "Basic 128". Is this thing really as bad as
  400. it seems?!?!? It won't run in the FAST mode because of what
  401. ABACAS says is a bug in the 1571 ROM. It kicks out errors
  402. right and left and maybe successfully compiles once in 4 or 5
  403. tries. Am I alone or is this a good example of: bug-ware
  404.  Courtney
  405. ----------
  406. Category 14,  Topic 20
  407. Message 30        Wed Sep 17, 1986
  408. RICKERS [Rickers]            (Forwarded) 
  409.  
  410. Chrs$(0) and Chr$(26) are the only valid pad characters for Xmodem.
  411. Any terminal program that uses characters other than these should be
  412. corrected.
  413.  ( Deb.... have you seen any uploads with extraneous pad chars??? )
  414.  Rick
  415. ----------
  416. Category 14,  Topic 20
  417. Message 31        Wed Sep 17, 1986
  418. DEB [*deb!*]                 (Forwarded) 
  419.  
  420. Yes, Rick....####'s and spaces and CTRL A's.
  421.   
  422. I agree, its messy, but its a fact.
  423.   
  424.        **
  425. ----------
  426. Category 14,  Topic 20
  427. Message 32        Wed Sep 17, 1986
  428. SURVIVOR [S. Gutknecht]      (Forwarded) 
  429.  
  430.  
  431. COMMODORE =/= (not equal) VALID XMODEM.
  432.  
  433. ----------
  434. Category 14,  Topic 20
  435. Message 33        Thu Sep 18, 1986
  436. RICKERS [Rickers]            (Forwarded) 
  437.  
  438. Hopefully we don't have terminal programs in our database that do this....
  439.  Sheesh!. <grin>
  440.  Rickers.
  441. ----------
  442. Category 14,  Topic 20
  443. Message 34        Thu Sep 18, 1986
  444. DEB [*deb!*]                 (Forwarded) 
  445.  
  446. <<gulp>>   That's what we're trying to find out right now, Rick. I *think*
  447. that CXTERM is one that does...
  448. ----------
  449. Category 14,  Topic 20
  450. Message 35        Thu Sep 18, 1986
  451. RICKERS [Rickers]            (Forwarded) 
  452.  
  453. I'll have to pull it down and check it.... if so, I'll correct it if possible.
  454.  Rickers
  455. ----------
  456. Category 14,  Topic 20
  457. Message 36        Tue Oct 07, 1986
  458. GBARRETT [VISION100]         at 23:15 CDT
  459.  
  460. GEE...
  461.       ...no GEnie, actually...
  462.  
  463. -with this re-construction I had to re-read all the OLD messages and one just 
  464. flashed before my eyes...
  465. COURTNEY, if you're still among us...did you ever get the OK for the 128 
  466. deBlitzer(don't remember it in the Library!)...if so, could u upload?  
  467.      (always a sucker for a good deblitzer!)
  468. -GaryB
  469. (sweeping away the cobwebs in this section!)
  470. Category 14,  Topic 20
  471. Message 38        Wed Oct 08, 1986
  472. CHARRINGTON                  at 19:48 PDT
  473.  
  474. Re: the 128 de-compiler. The kid that wrote it asked I wait until
  475. he fancied up the menu's etc....before releasing. I forgot to check
  476. back with hi. I'll get right on it and let you know.
  477.            Courtney
  478.