home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / Information / PRGING.MSGS.ARC / PRGING.MSGS
Encoding:
Text File  |  2019-04-13  |  57.8 KB  |  1,299 lines

  1.  
  2.  
  3.  
  4.  
  5. rea 5-10 nor
  6.  ************
  7. Topic 5         Sun Nov 18, 1990
  8. D.BURR [Winterhawk]          (Forwarded) 
  9. Sub: Why are there no 'Standards' for C=    
  10.  
  11. Questioning the lack of 'standard' programming languages and utils. for C=
  12. computers. IBM has 'em, Apple has 'em, Amiga has 'em, why not us?
  13. 14 message(s) total.
  14.  ************
  15.  ------------
  16. Category 5,  Topic 5
  17. Message 1         Mon Nov 19, 1990
  18. D.BURR [Winterhawk]          (Forwarded) 
  19.  
  20. This is something that has irked me COUNTLESS times while pursuing my 
  21. programming education. Much of what I have learned has come through the use of
  22. programming texts coupled with my own experimentation. Now we all know that
  23. learning to program in ANY language requires some means of testing what you
  24. have read/been taught/whatever. For example, say you are trying to master the
  25. C programming language. You get a book on C and get to work with your
  26. compiler. Imagaine your surprise when you find out that the book is 
  27. describing ANSI Standard C, while your Power C or Super C compiler is doing
  28. something else, and at best embracing only SOME of the features of the so-
  29. called 'standard'. I personally had a hell of a time just finding out that
  30. VOID does not exist in Power C! When you aren't familiar with the ins and outs
  31. of a language, that can be a big problem.
  32.  
  33. My real gripe is that every langauge written for the C= series has, hiding
  34. somewhere in its manual, a little disclaimer stating that the program will not
  35. support the following 'standard' features/commands/structures etc. Why is
  36. that? They all say it cannot be done on an 8 bit system. I say BS
  37.  
  38. If every other model of computer can embrace industry standards, so can ours.
  39. Otherwise how is one to learn ANYTHING on a C= computer? All the  options are
  40. denied us, except Assembly. 
  41.  
  42. Thoughts, rebuttals?
  43.  
  44. Dan
  45.  ------------
  46. Category 5,  Topic 5
  47. Message 2         Mon Nov 19, 1990
  48. D.RAY1                       (Forwarded) 
  49.  
  50. Both Power C and Super C were implemented on the C= machines BEFORE the ANSI C
  51. standard was written. It would be unrealistic to imagine them complying with a
  52. standard that didn't exist at the time. I am a rank beginner in C programming,
  53. but from reading on the subject I gather that even the expensive compilers in
  54. the MS-DOS world often handle things in different ways with different
  55. compilers. I was even reading an article in a C specific magazine by the
  56. secretary of the ANSI C committee where he was discussing parts of the
  57. standard that ended up with a different meaning than intended by the
  58. committee. If they can't completely understand their own standard how do you
  59. think the authors of C compilers are going to correctly implement it? I guess
  60. my point is twofold; first the C compilers for the C= machines were written
  61. pre-ANSI and at that time in the absence of a "standard" the authors took
  62. liberties with the "C" language to implement it on the C 64 and C 128, second
  63. standards for computer languages are written by us humans, and since they are
  64. they are not perfect. It will probably take some time for the ANSI C committee
  65. to and the real working programmers who use C to really clarify the standard
  66. through interpretation and standard practices.
  67.  
  68. And as a footnote, isn't the lack of standards in the C= world really the
  69. result of lack of interest and support by Commodore once the machines were out
  70. the door?
  71.  ------------
  72. Category 5,  Topic 5
  73. Message 3         Mon Nov 19, 1990
  74. D.BURR [Winterhawk]          (Forwarded) 
  75.  
  76. I agree with much of what you are saying D.Ray, but my point was not  made as
  77. clearly as it should have been. When I said 'lack of standard features' I
  78. meant things that are considered 'standard' in more than the ANSI sense of the
  79. word.
  80.  
  81. For instance, almost all compilers (Pascal, C, whatever) come with a  library
  82. of functions. One of these is always a graphics library. Do you see a graphics
  83. lib. for Power C? Nope. Super C? Yes, sort of...A lib. that only works in ONE
  84. graphics mode, ignoring all others. Useful, eh? Super Pascal offers a library
  85. as well, even allowing 80 column graphics, but no color, no circle routines,
  86. etc...If you want any features that are provided by other compilers for other
  87. computers, you better know how to write them yourself! THAT is what ticks me
  88. off. I hate re-inventing the wheel to do some simple task. Oh, and what about
  89. prototyping? Nope. Bit fields? nope. I could go on, but you get my point.
  90.  
  91. I am simply frustrated at how much more work I have to do to create a program
  92. for my 128 than I would if I were using a (gack) IBM, or a  (Gag) Mac, or even
  93. a (DOUBLE GAG) Atari! And yes, I think C= itself is largely responsible for
  94. this failing. If they had supported the products more capably, rather than
  95. copping this 'We made the hardware, let 3rd parties handle the rest' attitude,
  96. then programming on a C= 8 bit would be much easier. This ease would mean that
  97. more programmers would be programming for it. Or would have been...Too late
  98. now though. Sigh
  99.  
  100. Dan
  101.  ------------
  102. Category 5,  Topic 5
  103. Message 4         Sun Jan 20, 1991
  104. PETER-CPM                    (Forwarded) 
  105.  
  106. Lets not blame Commodore for the failings of the 'third parties'. You have to
  107. take into consideration the limitations of the machines..the 64 and 128 just
  108. don't have the memory available to support a full ANSI C. What does surprise
  109. me is that none of the available C packages available for native mode even
  110. follow the K&R 'standard!  However in CP/M mode on the 128 there are several C
  111. compilers that conform to at least K&R. 
  112.  
  113. I can't really blame Commodore for this.. If you look at what's offered on the
  114. IBM and MAC platforms, you'll find that even they have similiar problems with
  115. what one developer has as opposed to another. Not even the MS DOS world can
  116. claim a true ANSI C compiler. Most all the computer manufacturers stay out of
  117. the realm of producing software for their  machines. At most what they'll do
  118. is to make sure that the programs produced live up to certain standards
  119. pertaining to the use of the particular program in the Operating System (i.e.
  120. how it performs, not if it follows some other standard such as ANSI). If you
  121. feel that Power C and Super C don't live up to what they should be, you should
  122. be talking to whoever developed those programs and make your feelings
  123. known.... and not simply blaming Commodore. 
  124.  ------------
  125. Category 5,  Topic 5
  126. Message 5         Sun Jan 20, 1991
  127. C128.JBEE                    (Forwarded) 
  128.  
  129. I have to second that! I don't blame a non standard C on either C= or Abacus. 
  130. With a limit of 64K and a 1541 there is only so much that could be done when
  131. they were introduced.  It would be nice to have a C that supports all the toys
  132. and such.  But for software development on ANY 8 bitter you are better off
  133. writing it in ML, complied basic, or a combo of both. Though I am going to wet
  134. my hands again at C on the C128 for project I want to finish. JBEE (:
  135.  ------------
  136. Category 5,  Topic 5
  137. Message 6         Sun Mar 03, 1991
  138. S.MITCHELL19                 (Forwarded) 
  139.  
  140. Why are there no "STANDARD" languages for CBM?
  141.  
  142.     Let me reply to that, if you don't mind.  I have a C-128, an AT Clone and
  143. a Kaypro-10, so I am not presenting a _Single_ viewpoint.  I first learned
  144. Basic on the 128, then ML, and then about the time I started learning C on the
  145.  128 (in CP/M) I got my Clone.
  146.  
  147.     When you say standard languages, I am not sure what you mean. ML, 
  148. obviously is going to be different with every processor/hardware combination, 
  149. so I asssume you are refering to "High-level" languages.   Let's discuss Basic
  150.  first.  Since it comes with just about every computer, it's available on just
  151.  about every machine.
  152.  
  153. All versions of basic have a for-next loop, if/then constructs, etc.  But 
  154. every version has it's own peculiarities.  Personally, I beleive Basic-7.0 in 
  155. the C-128 is more advanced than GW-Basic on the IBM.  An example of this is in
  156.  their looping structures.  Let me digress a minute...There are 5 kinds of 
  157. loops:
  158.  
  159.     1.  Known number of iterations at start --eg. FOR/NEXT loops
  160.     2.  Unknown number of iterations at start 
  161.         a.  entry condition loops   --eg.  While/LOOP or DO WHILE/LOOP 
  162.         b.  exit condition loops    --eg.  DO/LOOP UNTIL loops 
  163.         c.  middle exit loops       --eg.  DO/LOOP w/IF/THEN/EXIT in middle.
  164.         d.  perpetual loop          --eg.  DO/LOOP loop with no exit condition
  165.  
  166. The IBM GW-Basic has FOR/NEXT & WHILE/LOOPS only! The Amiga Basic has FOR/NEXT
  167. & WHILE/LOOPS only! The C-128 Basic has FOR/NEXT, DO WHILE/LOOPS, DO/LOOP
  168. UNTIL, & DO/LOOP W/IF-THEN
  169.        IN THE MIDDLE--every type listed above!
  170.  
  171. Funny thing is, the ANSI standard for Basics includes a DO/LOOP WHILE, but  GW-
  172. basic doesn't.  Maybe the IBM types should be complaining about not having  a
  173. "standard" language.
  174.  
  175. And that's just one example.  There are others.  Try to do a Block-save on an 
  176. Amiga!  Unless they've added it with the latest version of workbench, it 
  177. doesn't exist.
  178.  
  179. The Basic on the C-128 reflects state-of-the-art looping structures. (If we 
  180. compare it with QuickBasic 4.5 a third-party product, we would have to compare
  181.  Basic 7.0 with the addition of the Diamond Editor and a compiler.)
  182.  
  183. Next Let's consider C.  Ok, which one will we call standard?  As anyone who 
  184. has tried to convert an AztecC program to TurboC, (or any other brand of 
  185. conversion) can tell you, it ain't easy!  They only resemble each other!  I 
  186. have typed up examples meant for TurboC into QuickC and there were enough con-
  187.  version differences that I couldn't learn anything about C itself in the 
  188. process, which was what I was trying to do.  So I gave up.  Let me ask you 
  189. again, Which C is the standard?  If you say ANSI-C, I would have to agree that
  190.  that is the _closest_ thing there is to a standard in the C world. 
  191.  
  192.     When Ansi C was finalized, I bought a couple of books on straight-up ansi 
  193.  C, figuring it would all be downhill now.  But to my consternation, Ansi-C 
  194.  only defines the MINUMUM library to be included with any C dialect.  ALL of 
  195.  the compiler companies add there own extra functions into their libraries, 
  196.  including specific functions for specific hardware.  If you say we should 
  197.  call only the common subset of ansi-C to be the standard, then you better 
  198.  forget doing any graphics!  Better forget supporting a subdirectory 
  199.  structure, or device 8/9, or CP/M user areas, since they are all machine 
  200.  specific and cannot be codified into a universal standard!
  201.  
  202.     Pascal, which I am only passing familiar with, is said to insulate you 
  203. from the machine hardware so you can concentrate on the logic of the program.
  204.   Right.  How many kinds of pascal are there?  I don't know about you, but the
  205.  128's hardware is the biggest reason I selected it as my first computer!  I 
  206. WANT to get down and dirty with the hardware.
  207.  
  208.     The truth is, there is no standard language that goes between machines 
  209. without some kind of changes.
  210.  
  211. If you really want IBM type (non)standard languages, I suggest you turn to 
  212. CP/M mode and start learning Power-C from MIX software.  It will set you back 
  213. $20.00.  Here's how standard it is:  I purchased both the IBM & CP/M versions 
  214. from them.  I wrote a program on my Clone, transferred it with Big Blue Reader
  215.  to a CP/M disk, and it ran with NO MODIFICATIONS.  Oh, I admit, it was a 
  216. simple program that had user input, some calculations, and then it printed to 
  217. the screen--no graphics, etc., but hey dude! it ran! Is that "standard" enough
  218.  for you?  I'm not being sarcastic, but I think what you really want is 
  219. something other that standards, only you can tell what that is.  Perhaps you 
  220. just want "respect" for your (& my) favorite computer.  I used to feel that 
  221. way.  No I have 3 computers and Doc, let the IBM-only weenies eat their hearts
  222.  out!  I _E_N_J_O_Y_ the cosmopolitan flavor of computing.
  223.  
  224. PS.  Aztec C also still makes versions of C for IBM & 128-CP/M too.  PSS. JRT
  225. Pascal was made public domain after they stopped making CP/M versions
  226.      & now make only IBM stuff.  It's standard Pascal... :) PSSS.  Forth is
  227. available for CP/M.  It's standard, too... ;)
  228.  
  229.  
  230. I'd Love to hear from anybody on this subject, or 128 native or CP/M mode C...
  231.  
  232.                 S.Mitchell19
  233.                           *s
  234.  ------------
  235. Category 5,  Topic 5
  236. Message 7         Sun Mar 03, 1991
  237. J.COLLINS5 [GeojoeC]         (Forwarded) 
  238.  
  239. Where can I get these versions of C, Pascal, Forth, and BASIC, that run under
  240. CP/M! I have been exploring higher languages but wanted to get something
  241. closer to the ANSI C Or Pascal! You seem toknow alot about languages on the
  242. 128. Maybe we can meet in Live Wire sometime and chat Mitchell. I do a little
  243. ML and wanted to make better use of C GeojoeC
  244.  ------------
  245. Category 5,  Topic 5
  246. Message 8         Mon Mar 04, 1991
  247. C128.JBEE                    (Forwarded) 
  248.  
  249.  Well, I too got my C128 to get "down and dirty" :D
  250.  As I master ML (I consider myself a coder, not a programmer) and I want to
  251.  learn C on my C128.  I realize it isn't a standard language per say how
  252.  it is implemented, but it should be "good enough".
  253.  Which is what I believe S.Micthell was getting across.
  254.  No matter what machine you come across it's C and Basic and ML is going to
  255.  be slightly different no matter where you go.  One reason for wanting to
  256.  learn Ml and C on my C128 is because in the near future I am buying a 
  257.  68xxx machine (atari st and also a lynx) and I figure what I learn 
  258.  easily on my C128 (which i consider the ultimate 8 bit home computer) will
  259.  prepare me for the tougher stuff.  Since the 68xxx series is basically
  260.  a much bigger 6502 vs learning something completely different with a 
  261.  80xx series from Intel, for me this is the right "route".
  262.  Either way I look forward to enjoying myself and my moNitor :D
  263.  ------------
  264. Category 5,  Topic 5
  265. Message 9         Sun Mar 10, 1991
  266. J.COLLINS5 [GeojoeC]         (Forwarded) 
  267.  
  268. I've found "C" is a little better under CP/M than on the 8502 used in the
  269. C128! You may want to try that version of C if you want to go on to IBM or
  270. AMI/MAC!
  271.  ------------
  272. Category 5,  Topic 5
  273. Message 10        Mon Mar 11, 1991
  274. S.MITCHELL19                 (Forwarded) 
  275.  
  276. Hello Joe!
  277.    Gee, I didn't mean to sound like an expert at c-128 languages, I'm just 
  278.    another hacker.  I probably shot my whole wad of knowledge in that one 
  279.    message.  About those languages...
  280.  
  281.    MIX-C  (actually called POWER-C) runs in CP/M.  
  282.           MIX Software
  283.           1132 Commerce Dr.
  284.           Richardson, TX  75081   214-783-6001
  285.  
  286. For only $19.95 total price you get the program and a 650 page  manual  that
  287. gives examples of the use of every function!  I have purchased 23  C  language
  288. books ( I like to read-- <grin> ) and keep coming back to  this one when I
  289. actually sit down to  code  something.   In  fact,  my  daughter  (8)  and  I 
  290. spent  this afternoon butting our heads against  different  input  functions 
  291. in  Mix-C  to  figure  out  when  to  use  what...none of them suit me, so I'm
  292. going to take another look at that  SuperInput-128 subroutine (basic) and
  293. convert some of it's features to  what  I'd like to see.  I'll post it in a
  294. few weeks if I get anywhere.  If you ever want to do anything on a clone,
  295. MIX's latest  version  for  the  IBM  is  ANSI compatable.  CP/M version
  296. isn't, but since the code  was written by the same guy, Tom Green I think, it
  297. crosses over better  than most.
  298.  
  299.      Anyway, Other Languages...
  300.  
  301. JRT  Pascal -- This used to be a commercial program that whet IBM only  and
  302. released all their cp/m stuff to the public domain  about  a  year  later.   I
  303. have it, if you are interested.  Of all languages, I don't  like pascal, so
  304. have never used it.  A friend who is taking Pascal  in  college  said  it 
  305. looked  pretty  like standard pascal.  How good his  grasp of standard pascal
  306. is, I can't say.  It requires 2  sides  of  a  disk-- so you must have a 71 or
  307. 81 to run it, or copy both programs to  ram-disk...   I  do  have the manual,
  308. about 1/2" thick of photocopies.  Anybody got a scanner? 
  309.  
  310. Forth- this language has always interested me because, like C,  it  is 
  311. extensible,  with  each  new  fuction becoming a new command.  It also  uses
  312. the stack like HP calculators do, so I'm told. This is  where  to  get it for
  313. about $3.00:
  314.  
  315.          Gil Cabral
  316.          4 terry lane
  317.          Wareham,  MA  02571
  318.  
  319. I ordered a bunch of CP/M stuff from him and got value for  my  money.  there 
  320. was  a  couple  of databases, utilities, etc.  He has about 70  CP/M disks--
  321. including languages like prolog, several  disks  of  lib's  etc  for  turbo 
  322. pascal  V.3,  though he doesn't offer the language. a  language called Draco
  323. Systems--sort of C like. and lessee,  a  Small-C  disk with a bunch of source
  324. programs...and...Oh, yes, BASIC! He offers  Z-basic & C-basic on 1 disk --I
  325. purchased both of them, for around $3.   One  of  them  is  interpreted  and 
  326. the other happens to be compiled.   Mbasic might interest you more since it
  327. was written by  Microsoft  way  back  when, & it is as similar to Basic 7.0 as
  328. basic can be, given the  very different environments.  Mbasic came with my
  329. Kaypro.
  330.  
  331.        What else will you need?
  332.  
  333. An editor.  I generally use VDE25 on the Kaypro and  VDE-c128  on  the  128.  
  334. Same  program,  someone  just  installed the second one for the  C128.  Both
  335. are available here on Genie.  Also  is  an  update  called  VDE266.lbr here
  336. too, I believe. Also several other editors, take your pick. 
  337.  
  338. I  guess  I'm  assuming you don't have an editor and know little about  CP/M
  339. already--my apologies if I'm assuing  wrongly.   One  note  about  VDE.   It 
  340. will  only edit files that can fit into memory all at once.   That comes to
  341. about 40K or so.  If  you  need  to  edit  bigger  files  (highly  unlikely 
  342. at  first) use good old WordStar.  I never did like  wordstar, but It's all I
  343. know that will allow you to edit  a  file  as  big as your storage medium. 
  344. (most others make a temporary copy of the  file  on  disk,  and  edit that--
  345. limiting you to files half as big as  your storage medium, assuming that  the 
  346. editor  itself  is  somewhere  else.)  Sorry  about  the verbiage here, I
  347. don't know what will be the  most useful to you.
  348.  
  349. I also have a program that transfers from a  C=  disk  to  CP/M  disk,  while 
  350. running  in  CP/M  mode.  (Also from Gill Cabral) Using it, you  could do your
  351. typing in a native mode word processor, and then  switch  to  CPM  to  do
  352. debugging, compiling, linking, etc.  I used Fontmaster  128 for that a couple
  353. of times, then learned enough  VDE  commands  to  just  do  it  there.  But
  354. since I download on my Clone, a program like  that, called IBM<>CPM (another
  355. $3 disk from Gil Cabral) comes in handy  to get the stuff to CP/M format from
  356. there also.
  357.  
  358. I got to say this--the c-128 is my main machine--but  you  should  see  CP/M 
  359. run  on  my  Kaypro-10!   About  3  times  faster I'd say.  From  Power-Up to
  360. a drive prompt is 3 seconds on mine (4  MHZ).   Some  guys  have  swapped
  361. chips and got theirs to run at 8 Mhz!  The Kaypro-10 has  a 10 Mb hard-drive
  362. which also adds to  its  speed.   I'm  only  saying  that,  since  I  don't
  363. know you, and don't know if your first impress-  ion of CP/M was like mine 2
  364. years ago (ho-hum, so that's cp/m?) I just  had never seen CP/M run like it
  365. was meant to.  I got this  Kaypro  for  $100 a couple of months ago, hard
  366. drive & all..
  367.  
  368. I didn't mean for this to sound like an ad for Gil Cabral's PD  house.  That's
  369. the  only  place  I know of to get these programs.  Hopefully,  others here on
  370. Genie can round this out with other sources. I just  remembered.  there is a
  371. FOG (First Osborne Group) area on Genie.  I  think there is an annual fee to
  372. join FOG, but I bet they might have  all this stuff too.
  373.  
  374. If  you  run  across  any samples of C source code for the 128 (in any 
  375. compiler) let me know!  I don't care if they are as buggy as  can  be.   I
  376. learn best by typing in examples and then tinkering.
  377.  
  378. Steve Mitchell (S.Mitchell19)
  379.  
  380.        PS. your handle - GeoJoeC - that's pr!4_^ good! Hello Joe!
  381.    Gee, I didn't mean to sound like an expert at c-128 languages, I'm just 
  382.    another hacker.  I probably shot my whole wad of knowledge in that one 
  383.    message.  About those languages...
  384.  
  385.    MIX-C  (actually called POWER-C) runs in CP/M.  
  386.           MIX Software
  387.           1132 Commerce Dr.
  388.           Richardson, TX  75081   214-783-6001
  389.  
  390. For only $19.95 total price you get the program and a 650 page  manual  that
  391. gives examples of the use of every function!  I have purchased 23  C  language
  392. books ( I like to read-- <grin> ) and keep coming back to  this one when I
  393. actually sit down to  code  something.   In  fact,  my  daughter  (8)  and  I 
  394. spent  this afternoon butting our heads against  different  input  functions 
  395. in  Mix-C  to  figure  out  when  to  use  what...none of them suit me, so I'm
  396. going to take another look at that  SuperInput-128 subroutine (basic) and
  397. convert some of it's features to  what  I'd like to see.  I'll post it in a
  398. few weeks if I get anywhere.  If you ever want to do anything on a clone,
  399. MIX's latest  version  for  the  IBM  is  ANSI compatable.  CP/M version
  400. isn't, but since the code  was written by the same guy, Tom Green I think, it
  401. crosses over better  than most.
  402.  
  403.      Anyway, Other Languages...
  404.  
  405. JRT  Pascal -- This used to be a commercial program that whet IBM only  and
  406. released all their cp/m stuff to the public domain  about  a  year  later.   I
  407. have it, if you are interested.  Of all languages, I don't  like pascal, so
  408. have never used it.  A friend who is taking Pascal  in  college  said  it 
  409. looked  pretty  like standard pascal.  How good his  grasp of standard pascal
  410. is, I can't say.  It requires 2  sides  of  a  disk-- so you must have a 71 or
  411. 81 to run it, or copy both programs to  ram-disk...   I  do  have the manual,
  412. about 1/2" thick of photocopies.  Anybody got a scanner? 
  413.  
  414. Forth- this language has always interested me because, like C,  it  is 
  415. extensible,  with  each  new  fuction becoming a new command.  It also  uses
  416. the stack like HP calculators do, so I'm told. This is  where  to  get it for
  417. about $3.00:
  418.  
  419.          Gil Cabral
  420.          4 terry lane
  421.          Wareham,  MA  02571
  422.  
  423. I ordered a bunch of CP/M stuff from him and got value for  my  money.  there 
  424. was  a  couple  of databases, utilities, etc.  He has about 70  CP/M disks--
  425. including languages like prolog, several  disks  of  lib's  etc  for  turbo 
  426. pascal  V.3,  though he doesn't offer the language. a  language called Draco
  427. Systems--sort of C like. and lessee,  a  Small-C  disk with a bunch of source
  428. programs...and...Oh, yes, BASIC! He offers  Z-basic & C-basic on 1 disk --I
  429. purchased both of them, for around $3.   One  of  them  is  interpreted  and 
  430. the other happens to be compiled.   Mbasic might interest you more since it
  431. was written by  Microsoft  way  back  when, & it is as similar to Basic 7.0 as
  432. basic can be, given the  very different environments.  Mbasic came with my
  433. Kaypro.
  434.  
  435.        What else will you need?
  436.  
  437. An editor.  I generally use VDE25 on the Kaypro and  VDE-c128  on  the  128.  
  438. Same  program,  someone  just  installed the second one for the  C128.  Both
  439. are available here on Genie.  Also  is  an  update  called  VDE266.lbr here
  440. too, I believe. Also several other editors, take your pick. 
  441.  
  442. I  guess  I'm  assuming you don't have an editor and know little about  CP/M
  443. already--my apologies if I'm assuing  wrongly.   One  note  about  VDE.   It 
  444. will  only edit files that can fit into memory all at once.   That comes to
  445. about 40K or so.  If  you  need  to  edit  bigger  files  (highly  unlikely 
  446. at  first) use good old WordStar.  I never did like  wordstar, but It's all I
  447. know that will allow you to edit  a  file  as  big as your storage medium. 
  448. (most others make a temporary copy of the  file  on  disk,  and  edit that--
  449. limiting you to files half as big as  your storage medium, assuming that  the 
  450. editor  itself  is  somewhere  else.)  Sorry  about  the verbiage here, I
  451. don't know what will be the  most useful to you.
  452.  
  453. I also have a program that transfers from a  C=  disk  to  CP/M  disk,  while 
  454. running  in  CP/M  mode.  (Also from Gill Cabral) Using it, you  could do your
  455. typing in a native mode word processor, and then  switch  to  CPM  to  do
  456. debugging, compiling, linking, etc.  I used Fontmaster  128 for that a couple
  457. of times, then learned enough  VDE  commands  to  just  do  it  there.  But
  458. since I download on my Clone, a program like  that, called IBM<>CPM (another
  459. $3 disk from Gil Cabral) comes in handy  to get the stuff to CP/M format from
  460. there also.
  461.  
  462. I got to say this--the c-128 is my main machine--but  you  should  see  CP/M 
  463. run  on  my  Kaypro-10!   About  3  times  faster I'd say.  From  Power-Up to
  464. a drive prompt is 3 seconds on mine (4  MHZ).   Some  guys  have  swapped
  465. chips and got theirs to run at 8 Mhz!  The Kaypro-10 has  a 10 Mb hard-drive
  466. which also adds to  its  speed.   I'm  only  saying  that,  since  I  don't
  467. know you, and don't know if your first impress-  ion of CP/M was like mine 2
  468. years ago (ho-hum, so that's cp/m?) I just  had never seen CP/M run like it
  469. was meant to.  I got this  Kaypro  for  $100 a couple of months ago, hard
  470. drive & all..
  471.  
  472. I didn't mean for this to sound like an ad for Gil Cabral's PD  house.  That's
  473. the  only  place  I know of to get these programs.  Hopefully,  others here on
  474. Genie can round this out with other sources. I just  remembered.  there is a
  475. FOG (First Osborne Group) area on Genie.  I  think there is an annual fee to
  476. join FOG, but I bet they might have  all this stuff too.
  477.  
  478. If  you  run  across  any samples of C source code for the 128 (in any 
  479. compiler) let me know!  I don't care if they are as buggy as  can  be.   I
  480. learn best by typing in examples and then tinkering.
  481.  
  482. Steve Mitchell (S.Mitchell19)
  483.  
  484.        PS. your handle - GeoJoeC - that's pretty good!
  485.  
  486.  
  487.  ------------
  488. Category 5,  Topic 5
  489. Message 11        Mon Mar 11, 1991
  490. S.MITCHELL19                 (Forwarded) 
  491.  
  492. geez, what happened?  somehow I doubled up that last message, repeated
  493. everything twice,  sorry!
  494.  ------------
  495. Category 5,  Topic 5
  496. Message 12        Mon Mar 11, 1991
  497. C128-BILL [Bill]             (Forwarded) 
  498.  
  499. If you would like to re-post your message, I'll see that the original one is
  500. cleared out, S.Mitchell19.
  501.  
  502. No problem...  sometimes it happens!
  503.  
  504.  ------------
  505. Category 5,  Topic 5
  506. Message 13        Sat Mar 16, 1991
  507. J.COLLINS5 [GeojoeC]         (Forwarded) 
  508.  
  509. Thanks for all the info! I'm working on a few Hardware hacks to increase the
  510. 128's memory to 256K, or more! I only recently got interested in CP/M and C.
  511. You already know more than me so to me you are an expert! I am kind of new to
  512. CP/M, I'll get into it even more when my native mode CP/M hardive software
  513. ships! I have a CMD HD 40. I also have a Northstar advantage that I got for
  514. free! I'm considering putting a Hard drive in it. Now if I could just get it
  515. to read soft sectored disks! Once I fugure out how to do E-Mail I'll send you
  516. my phone number, or if you'ld like you can send me yours. Thanks for the info!
  517. I buffered your message twice! So I have it 4 times! B) Ps, the Geo is for
  518. GEOS, and the C is for Collins! But I like my handle any way! Best, Joe!
  519.  ------------
  520. Category 5,  Topic 5
  521. Message 14        Sun Mar 24, 1991
  522. S.MITCHELL19                 (Forwarded) 
  523.  
  524. Hello Joe!
  525.    I'll send you my address, etc. ini EMail. [D [D [D [D [D [D [D [D [C [C [C
  526. [C [C [C [C When you first sign on, I think you just go to the menu about
  527. GEmail & chat and follow the prompts to get to e mail.  Or I _think_ you can
  528. just type an S by itself (& <cr>) at any genie prompt to send mail, same but R
  529. to read mail, but I'm not sure if that's at all menus or just some.
  530.    I've heard that NorthStar Computers are pretty nice!  & boy, the price was
  531. right on that one!
  532.  
  533.  
  534.  Later! S.Mitchell19
  535.  
  536.  ------------
  537.  ************
  538. Topic 6         Wed Nov 28, 1990
  539. E.DURKIN1 [Montana Kid]      (Forwarded) 
  540. Sub: <Pet Drive compatable with 1541?>      
  541.  
  542. At school we have a PET and a drive and I downloaded some of the CBM programs
  543. in the software librays (uploaded by ME) with my 64 and brought the disk to
  544. school and tried... Continued in first message :(
  545. 10 message(s) total.
  546.  ************
  547.  ------------
  548. Category 5,  Topic 6
  549. Message 1         Wed Nov 28, 1990
  550. E.DURKIN1 [Montana Kid]      (Forwarded) 
  551.  
  552. ...Well anyway I bought the disk to school and tried to load the  programs and
  553. they wouldnt load. I typed RUN and LIST and all I got was READY.
  554.  I tried to run the 4032 program (in the software librarys) and that just put
  555. a bunch of garbage on the screen. The programs works fine and state that they
  556. would work on a PET as well.       HELP
  557.   If you wana look at these files search with E.Durkin1      THANX!!!!!!
  558.      :'(    HELP!  )':
  559.  ------------
  560. Category 5,  Topic 6
  561. Message 2         Wed Nov 28, 1990
  562. VOYAGER-1 [Gary V]           (Forwarded) 
  563.  
  564. That had me stumped for a bit too the first time I tried the same thing. The
  565. problem is that the PET computers load everything at the address that it was
  566. saved from. On a 64 the start of basic is at $0801 and on the PET series it is
  567. at $0400. So what is happening is that the programs have the 64 saved address
  568. and are loading in at $0801 on the PET. (oops I ment to say the start of PET
  569. basic is $0401, not $0400) The two ways to get arround this are to raise the
  570. start of basic on the PET before loading or to lower the start of basic on the
  571. 64, load the program & resave it at the lower address. I chose to do the
  572. latter. It was a bit more work, but I only had to do it once for each program
  573. rather than every time I wanted to run something on the PET. To do this you
  574. must first move the 64's screen memory to as high as it will go, lower the
  575. pointers to the start of basic and then do a NEW. I wrote a short & dirty
  576. program to do this and if you like, I can upload it here.
  577.  
  578. There may be a utility program out there that will convert the files for you,
  579. but I haven't found one yet. Just writing a new start address to the file
  580. alone will not work. The Basic line pointers within the program also need to
  581. be adjusted.
  582.  ------------
  583. Category 5,  Topic 6
  584. Message 3         Wed Dec 26, 1990
  585. E.DURKIN1 [Montana Kid]      (Forwarded) 
  586.  
  587.  Sorry I took so long to reply.. I haven't been in here for a while.
  588.  Quick and Dirty program hu?
  589.          GREAT !
  590.  Is it in the software libraries yet?
  591.  If not could you put it there?
  592.  _`_
  593.  0 0
  594.   ^
  595.  \_/
  596.  ThanX!!!!    Montana Kid!
  597.  ------------
  598. Category 5,  Topic 6
  599. Message 4         Thu Dec 27, 1990
  600. VOYAGER-1 [Gary V]           (Forwarded) 
  601.  
  602. Without any interest, I didn't upload it. Now that you have requested it, it
  603. will be there within a day or two.
  604.  ------------
  605. Category 5,  Topic 6
  606. Message 5         Thu Dec 27, 1990
  607. E.DURKIN1 [Montana Kid]      (Forwarded) 
  608.  
  609. Sorry, I've been reading messages on this board,but it's been a while since
  610. I've done a BROuse!
  611.             :/    M.K.
  612.  ------------
  613. Category 5,  Topic 6
  614. Message 6         Wed Feb 13, 1991
  615. E.DURKIN1 [Montana Kid]      (Forwarded) 
  616.  
  617.  I've been thinking and ...
  618.   Could I use Maverick's GCR editor to change the load addresses and stuff?
  619.    If so anybody wana take a guess at how to do this?
  620.   -=<M.K.>=-
  621.  ------------
  622. Category 5,  Topic 6
  623. Message 7         Wed Feb 13, 1991
  624. VOYAGER-1 [Gary V]           (Forwarded) 
  625.  
  626. Changing the load address is rather simple to do and an automated program to
  627. do so wouldn't take that much effort. The real work is in changing the Basic
  628. Line Links. 
  629.  
  630. First, the GCR editor would no be the correct utility to do this job. It's
  631. purpose is for fixing a corrupted disk or protection hacking. The tool to use
  632. would be the sector editor. You would have to find the starting sector for
  633. each file from the directory entry, go to the first sector of the file, change
  634. the start address, adjust every line link in that sector, continue the process
  635. with each sector of the file. IMHO, you are in for quite a bit of tedious work
  636. ( quite prone to mistakes ) and I would not reccomend doing it this way.
  637.  
  638. I might have a bit of time in the next week to write something simple in basic
  639. that will auto-convert these files for you.
  640.  
  641. BTW: I mailed that listing and map today. You should have it by early next
  642. week.
  643.  
  644. gary
  645.  ------------
  646. Category 5,  Topic 6
  647. Message 8         Fri Feb 15, 1991
  648. E.DURKIN1 [Montana Kid]      (Forwarded) 
  649.  
  650.  _`_
  651.  O -
  652.  \_/           Thanks Gary!     
  653.  ---===<M.K.>===---
  654.  ------------
  655. Category 5,  Topic 6
  656. Message 9         Fri Jul 12, 1991
  657. R.FARQUHAR1                  (Forwarded) 
  658.  
  659. Well, I've changed just the load address of a program and it's executed fine,
  660. maybe that's because I was running the relocated programs on 64s and 128s
  661. though. Here's a thought: Move the 64's screen memory to 32768 ($8000), and
  662. the start of Basic to 1025 ($0401) like it is on the PET.  Load the program,
  663. then save it, and bingo, instant conversion (er, as close to instant as the
  664. '41 will allow).  A program to reconfigure the 64 like that appeared in
  665. Mapping the 64.
  666.  ------------
  667. Category 5,  Topic 6
  668. Message 10        Sat Jul 13, 1991
  669. VOYAGER-1 [Gary V]           (Forwarded) 
  670.  
  671. The 64 and 128 operating systems ( as well as the +/4 ) are designed to allow
  672. for relocatable basic program loads and will automatically adjust the line
  673. link values as the file is being loaded. It does this on files that are not
  674. specified as absolute load with the ,1 command for the 64 or the BLOAD with
  675. the 128.
  676.  
  677. The PET's do not have this feature as part of their operating system and
  678. everything is loaded as saved. The method of changing the memory arrangement
  679. on the 64 and re-saving the file is the way I reccomended earlyer in this
  680. thread. The short ( couple of lines ) program that I uploaded a while back
  681. does as you said - raises screen memory, drops the start of basic and resets
  682. the basic pointers to this new arrangement with a NEW command. This works
  683. great for a few conversions here and there, but I'm sure it would become
  684. tiresome if you had a hundred or so files to convert.
  685.  
  686. Gary
  687.  ------------
  688.  ************
  689. Topic 7         Sat Dec 15, 1990
  690. AMFORD                       (Forwarded) 
  691. Sub: Text as PRG files.                     
  692.  
  693.  How do they get PRG files from text files?
  694. 9 message(s) total.
  695.  ************
  696.  ------------
  697. Category 5,  Topic 7
  698. Message 1         Sat Dec 15, 1990
  699. AMFORD                       (Forwarded) 
  700.  
  701.   Had a friend call me up with this question: In word processors, ie. Write 
  702. Stuff, save their text files as PRG files.  How do they do it? Is there any
  703. conversion of character sets taking place? Can you use the word processor as a
  704. fancy editor?
  705.  
  706.   Hmmm, good questions, but I don't know the answers.  Anyone want to  give
  707. them a shot?
  708.  ------------
  709. Category 5,  Topic 7
  710. Message 2         Sat Dec 15, 1990
  711. VOYAGER-1 [Gary V]           (Forwarded) 
  712.  
  713. Word processors such as TWS and Speedscript save the area of memory that
  714. contains the text. This would be the same as saving a ML file that was not at
  715. the start of basic. It would still list as a PRG file in the directory. (the
  716. first 2 bytes of the file are the load address, folowed by the data). In a SEQ
  717. file the first byte of the file is the first byte of data. This is a bit of
  718. speculation, but I think the purpose of these word processors working this way
  719. was to gain a bit of speed in loading and saving files.
  720.  
  721. Also, these 2 word processors (and some others) store their information as
  722. screen codes rather than PETSCII or True ASCII. This method gives them added
  723. speed in editing. (also a reason why they are saved as PRG files - there isn't
  724. any conversion needed for saves and loads). Only when the text is sent to the
  725. printer, is the conversion to PETSCII done.
  726.  
  727. I got the drift that you were thinking of trying to use one of these as a
  728. fancy basic editor. I'm afraid that it isn't practical. First because the data
  729. is just screen codes and second because there isn't any tokenization of the
  730. information. (what you see when you list or edit a Basic program is quite a
  731. bit different from the data that is actually in the computer. Line numbers are
  732. translated from 2 byte values, there are pointers to the next line that are
  733. not displayed, and the Basic Keywords are in a one byte code). Sorry to shoot
  734. down that idea.
  735.  ------------
  736. Category 5,  Topic 7
  737. Message 3         Tue Dec 18, 1990
  738. C128.JBEE                    (Forwarded) 
  739.  
  740.  I know when saving or loading files from Paperclip III the seq files
  741.  fly loading and saving compared to the PRG files using a 1581 or Jiffy
  742.  Dos.  I just wish PCiii used the seq files as the standard format so I
  743.  wouldn't have to type the filename everytime I am finished editing a 
  744.  file.
  745.  ------------
  746. Category 5,  Topic 7
  747. Message 4         Fri Dec 21, 1990
  748. A.BERNHARDT                  (Forwarded) 
  749.  
  750. It doesn't really matter what type of file the data is stored in.  The reason
  751. some word processors store text as PRG files is because they're using the
  752. Kernal ROM's SAVE routine, which saves a block of memory as a PRG file by
  753. default.  This free's up a little more memory in the word processor because it
  754. doesn't have to have it's own load and save routines.  It's using the Kernal
  755. ones.
  756.  
  757. Aside from the file type, there is no real difference between SEQ and PRG
  758. files.  The data in the file is dependant on what the word processor is
  759. sending to the drive when it saves the data.  The file type has no bearing on
  760. the data.
  761.  
  762. To prove this, try a little experiment with your word processor... If your
  763. word-processor saves files as PRG types, try adding a ",s" to the filename. 
  764. Unless your word-processor internally adds the filetype to the filename when
  765. it opens the file for saving, adding a ",s" will override the default PRG type
  766. and save the file as a SEQ file.  You can also try adding a ",u" to the end of
  767. the filename instead.  This should save the file as a USR filetype.
  768.  
  769. Again, the data in the file will be exactly the same as if you saved it
  770. without the ",s" or ",u".   The filetype makes no difference.
  771.  
  772. To load the file back into the word-processor, you must add the ",s" or ",u"
  773. to the filename also (usually).  This is because the Kernal LOAD routine
  774. expects to load a PRG filetype.  Adding ",s" or ",u" overrides the PRG
  775. default.
  776.  
  777. This comes in handy in other areas.  If, for example, you downloaded a file
  778. from your local BBS as a SEQ file, when it should have been a PRG file, all
  779. you need to do to load the file later is add a ",s" to the filename. For
  780. example:   load "filename,s" ,8
  781.  ------------
  782. Category 5,  Topic 7
  783. Message 5         Wed Oct 16, 1991
  784. R.FARQUHAR1                  (Forwarded) 
  785.  
  786. This is an old topic, I realize, but there is one more advantage to using PRG
  787. files instead of SEQ files. The 1581 drive has an odd habit of "mixing" SEQ
  788. files, which I used to notice on Color 64 BBSs.  For instance, you would be
  789. playing Nuke 'Em, and when you looked at the news file, it would look right,
  790. but stats for another game might sneak in.  Apparantly, the 1581 occasionally
  791. has problems re-allocating scratched files or something when dealing with the
  792. SEQ filetype.  The problem has never turned up in my personal use (though I do
  793. far less scratching of files, etc than a BBS does- a busy BBS will probably
  794. scratch and write more files in one night than I have in a lifetime).  Just to
  795. be safe, I usually use PRG files all the time (except with PC III, because SEQ
  796. files are so much shorter and faster). Is this apparant bug present in
  797. JiffyDos-equipped 1581s as well?
  798.  ------------
  799. Category 5,  Topic 7
  800. Message 6         Thu Oct 17, 1991
  801. C128.JBEE [* Sysop *]        (Forwarded) 
  802.  
  803.  Well, I had heard this rumor more than once and didn't really believe it
  804.  because it never happened to me.  But it did at the worst moment building my
  805.  new catalog.  I was using PCiii with a almost full 1581 disk.  I had been
  806.  saving the files as PRG ASCII but  then decided to save each page as Seq
  807. ASCII
  808.  in case I wanted to read the files on another machine ten years from now.
  809.  So, I saved the final versions back to disk with the scratch/replace and to
  810. my
  811.  horror when I loaded some of them back in they were fritzed.  Boy, I wish I
  812.  had made backups before I did that.  Wasted almost a whole day's worth of
  813.  work.
  814.  I was just wondering if it was the old save and replace bug popping back up
  815.  or a bite or something.  Supposely this seq bug was nuked in JD.  At the time
  816.  I don't think that drive had JD, though it did have the new controller.
  817.  
  818.  re:PCiii
  819.  After reading the manual cover to cover I have never figured out how to save
  820.  files as Seq files with the Control/S command and instead have used the
  821.  Control/Z command.  Any other way?  I like Control/S because it saves it
  822. under
  823.  the default filename.
  824.  Maybe I missed something?
  825.  ------------
  826. Category 5,  Topic 7
  827. Message 7         Thu Oct 17, 1991
  828. VOYAGER-1 [Gary]             (Forwarded) 
  829.  
  830. As I understand PCiii, when you use the Control/S command - it saves the
  831. information as a dump (in screen codes) of the entire memory area taken up by
  832. the document. You might be able to add a comma/s to the end of the filename,
  833. but, if this worked, it would still be the same memory dump - only the SEQ
  834. flag             wi    . About all that would do is to set the flag in the  
  835. disk directory to SEQ instead of PRG. The actual inf would be the same and
  836. would have to be converted to ASCII to be used by another type of computer. 
  837.  
  838. The other thing that has me wondering is that I thought ( or at least it
  839. appears ) that PCiii scratches the old file and then saves the new one,
  840. bypassing the potential save and replace bug.
  841.  ------------
  842. Category 5,  Topic 7
  843. Message 8         Fri Oct 18, 1991
  844. C128.JBEE [* Sysop *]        (Forwarded) 
  845.  
  846. It does!
  847.  ------------
  848. Category 5,  Topic 7
  849. Message 9         Sun Oct 20, 1991
  850. H.HERMAN1                    (Forwarded) 
  851.  
  852. JBEE,
  853.  
  854. Let me put this to rest once and for all!!!
  855.  
  856. With the 1571 and 1581 drives (with the proper upgrade Rom and controller) the
  857. `@save' works!!  There is *NO* bug.  It is fine!!!
  858.  
  859. However....  (what would life be without howevers...)
  860.  
  861. As I was saying, however, there must be disk space available to first write
  862. the new file to disk, after which the old file will be scratched.   It is the
  863. responsibility of the user to see to it that there is sufficient disk space
  864. available.  If there is it works just fine.  If there isn't, then you will run
  865. into probs.
  866.  
  867. I never use the `@save' with an almost full disk because of this.  And, I use
  868. the `@save' a lot, and it always works for me.
  869.  
  870. And....
  871.  
  872. If this does happen, from what I know of the `@save' there is a quick way out.
  873. First, list a directory to see if the original file is there. If not,
  874. unscratch it.  THEN, do a collect.  The original old file will be intact.
  875.  
  876. Howie
  877.  still REUless :P
  878.  ------
  879.  
  880. rea 8-10 nor
  881.  ************
  882. Topic 8         Sat Dec 29, 1990
  883. H.HERMAN1                    (Forwarded) 
  884. Sub: A useful CP/M hack.                    
  885.  
  886. Has anyone considered...
  887. 12 message(s) total.
  888.  ************
  889.  ------------
  890. Category 5,  Topic 8
  891. Message 1         Sat Dec 29, 1990
  892. H.HERMAN1                    (Forwarded) 
  893.  
  894.  Referring to expansion of the C128's intenal RAM to 256K, William Wiese   
  895.  Jr., in his "Commodore 128 Programming Secrets" seems to suggest a new    
  896.  wrinkle to this.                                                          
  897.  
  898.  The machine's designers certainly had this possibility in mind, since the 
  899.  128 is specifically designed to allow for this.  (Or, was it always       
  900.  planned, and just a last minute desicion to limit RAM to 128K?)           
  901.  
  902.  Either way, there would be limited benefit from this hack, at this time,  
  903.  certainly for the 128's native mode.  Only custom written software could  
  904.  take advantage of it, and all the 'mature' 128's existing base of software
  905.  wouldn't know it existed.                                                 
  906.  
  907.  However, Weise seems to suggest that this addition was really intended, in
  908.  the first place, for use on the 128's CP/M side.                          
  909.  
  910.  This seems the most reasonable explanation, from hindsight.  The CP/M side
  911.  would be most likely to be used for business applications.  Having two    
  912.  extra banks of memory addressable RAM could allow three major applications
  913.  to be memory resident (instantly available at a keypress), and have access
  914.  to, and share, all the data files residing in RAM bank 1.                 
  915.  
  916.  In addition to having access to a WP, spreadsheet and data base, often    
  917.  used maintenance utilities could also be tucked away, and accessible.  Add
  918.  to this combo, the REU, and, in theory at least, you would have a machine 
  919.  that would operate almost entirely from fast RAM, except for end of day   
  920.  disk storage.  It all sounds nice.                                        
  921.  
  922.  The way I see it, at least two factors negated this from happening:  [1]  
  923.  At the time of the 128's intro, in late '85, CP/M was well on the way to  
  924.  being eclipsed by MS/DOS, the de facto business sys of choice, and [2]    
  925.  The 128's implementation of CP/M offered slow screen re-freshes.          
  926.  
  927.  The slow screen re-fresh prob would exist for a speed typist using        
  928.  WordStar.  It wouldn't be a major factor using SuperCalc2, the fastest    
  929.  calculating spreadsheet in benchmark tests on the 128, or dBASE.  And,    
  930.  having all the many useful utilities instantly available is a tantilizing 
  931.  possibility.  Add to this Z-Sys options, all operating from RAM. Why not? 
  932.  
  933.  Looking at this hack today, it is still fascinating.  Suppose that extra  
  934.  128K of RAM is limited for use in CP/M?  That's 128K of CP/M applications 
  935.  that would be instantly addressable after a 12 second boot from a 1581.   
  936.  An additional plus, would be that data files stored in parts of bank 1    
  937.  could be shared with existing software on both the 128's native side and  
  938.  CP/M.                                                                     
  939.  
  940.  [To digress for just a minute, those who use dBASEII, might want to       
  941.  consider getting the final release version, 2.43*, which seems to run a   
  942.  lot faster than the 2.4x versions.]                                       
  943.  
  944.  And finally, since all the Z80 source is readilly available, perhaps we   
  945.  could coax one of our resident gurus into re-assembly of the ccp to       
  946.  unleash this power.  (It is the ccp, isn't it?)      :)                   
  947.  
  948.  Did I leave something out?                                                
  949.  
  950.  Howie                                                                     
  951.  ------------
  952. Category 5,  Topic 8
  953. Message 2         Sat Dec 29, 1990
  954. PETER-CPM                    (Forwarded) 
  955.  
  956. You are right in saying that a hack of this sort would benifit CP/M probably
  957. more so than native mode. Fact is, it doesn't really matter. All RAM can be
  958. accessed by sending the proper code to the MMU to  access any RAM bank on the
  959. 128..in ANY mode (this includes the 64 mode). Under CP/M, this switching is
  960. probably easier to accomplish. You could 'hack' the source code.....and write
  961. a .com file to do any bank switching you need but that usually isn't
  962. necessary...just a .com file to switch banks should sufffice. 
  963.  
  964. I'm not sure I'm familiar with the added RAM 'hack' you mention...is it one
  965. where you 'piggyback' RAM on RAM? If thats what it is, the only problem I can
  966. foresee is one of 'timing'..and that could be somewhat difficult to get right.
  967. The hardware/software needs to get that timing right on or all this is moot.
  968. If this sort of mod works in native mode, then it shouldn't be a problem in
  969. CP/M mode.
  970.  ------------
  971. Category 5,  Topic 8
  972. Message 3         Sun Dec 30, 1990
  973. R.ROMINE1                    (Forwarded) 
  974.  
  975. I believe the hack he is talking about is the one mentioned in CAT 4, TOP 6.  
  976. This is the hack that addes two more banks (blocks) of 64K, for a total of
  977. 256K internal memory.   There is another hack that adds extra memory to the
  978. REU's, also.
  979.  
  980. The hack as designed by Richard Curcio(sp?), *is* supported by the C128's
  981. native mode.  It can be accessed by its BASIC 7.0, especially the BANK
  982. command.
  983.  
  984. The c128's CP/M is the banked version.  Adding support for the extra banks of
  985. 64K shouldn't be too hard.  I believe Kaypro users, use the 256K versions of
  986. their machines as RAM Disks.  C128 users, already have RAM Disk support via
  987. the REU.  I would like to see a bank used for disk buffers, in fact for all
  988. buffers that could improve with added memory.  I'm not sure how banked
  989. versions of CP/M would use other banks for TPA.  I would like to see one bank
  990. for the "prg.com" area, another for "variable/data" storage.
  991.  
  992. Ron.
  993.  ------------
  994. Category 5,  Topic 8
  995. Message 4         Sat Jan 19, 1991
  996. H.HERMAN1                    (Forwarded) 
  997.  
  998. This one may be a bit off the wall, but recently I've grown to like mousing,
  999. and would really enjoy having this in CP/M mode, as well.
  1000.  
  1001. Does our sys allow for mouses as input devices?  Can I just define it as a
  1002. device, and then start pointing?  Or, am I just asking too much  from an
  1003. already overtaxed screen output?    :?
  1004.  
  1005. Howie
  1006.  ------------
  1007. Category 5,  Topic 8
  1008. Message 5         Sat Jan 19, 1991
  1009. D.BURR [Winterhawk]          (Forwarded) 
  1010.  
  1011. Well, I have only made use of CP/M on my 128 once in a blue moon, but I am
  1012. fairly certain that the system does not include mouse support. If you can
  1013. write driver code for the mouse in Z-80 assembly then I see no real reason why
  1014. it wouldn't work. However, there aren't any programs that will support a mouse
  1015. are there? What would you be looking to use it for?
  1016.  
  1017.  ------------
  1018. Category 5,  Topic 8
  1019. Message 6         Sat Jan 19, 1991
  1020. H.HERMAN1                    (Forwarded) 
  1021.  
  1022. Well....    Maybe I haven't thought this thing through...    :/
  1023.  
  1024. However, I was thinking it would be nice to be able to use a mouse in some of
  1025. the dBASE things I run.  (Haven't yet sat down to figure out how to get dBASE
  1026. to follow the pointer.)  But.... It seems like the coding is available for
  1027. it...
  1028.  
  1029. Howie
  1030.  ------------
  1031. Category 5,  Topic 8
  1032. Message 7         Sun Jan 20, 1991
  1033. PETER-CPM                    (Forwarded) 
  1034.  
  1035. While there currently isn't a mouse driver for use under CP/M, there is no
  1036. reason why there can't be one. Since there is very little in the line o
  1037. er..GUI's in CP/M, you would need to write the driver to work much like a
  1038. light pen does using absolute x/y cooridinates. In essence, it would be a form
  1039. of GUI.  Would it overtax the system? I don't think it will all that much.
  1040. There are already programs out that 'draw' on the 80 column screen using x/y
  1041. coordinates. One example is COMAL and it does it quite well. If you were to
  1042. disassemble the mouse driver (native) code I think you'll find that its not
  1043. all that difficult to do and can be done with Z80 code. Realise tho,  that all
  1044. screen i/o is done with the 6510 under CP/M..so it probably won't  be as fast
  1045. as it is in native mode.
  1046.  ------------
  1047. Category 5,  Topic 8
  1048. Message 8         Sat Jan 26, 1991
  1049. G.STAGLIANO                  (Forwarded) 
  1050.  
  1051. Three cheers for CP/M on the C128.  I have Commordores Colt and it is quite 
  1052. niece but CP/M on the C128 makes it a great hackers machine!  I will be
  1053. upgrading my 512K Ram expander to 2 megs soon.  Someone pleas write a patch to
  1054. the Bios that would allow it to operate as ether one large drive or two
  1055. smaller ones.  Can bios be modified?  This looks like a doable project.  
  1056. Another Patch is needed for the screen updates.  D.Goodenough is making Q-term
  1057. work at 16.2 Kbaud.  We need to modify the source to speed up the 80 collumn
  1058. screen display.  Remember user fucntoion IV subfunction9 akallows for direct
  1059. 8502 manipulations and User function II 122-126 manipulate the80 collumn chip
  1060. with block fill, block move and character install must be run from the z80
  1061. side as direct calls! <<<---Stag the 128 man--->>>
  1062.  
  1063.  ------------
  1064. Category 5,  Topic 8
  1065. Message 9         Sun Jan 27, 1991
  1066. H.HERMAN1                    (Forwarded) 
  1067.  
  1068.  Stag,
  1069.  
  1070.  I assume that it can be done!
  1071.  
  1072.  After all, Miklos wrote a 6th driver for drive F: for using the QBB
  1073.  along with the REU.
  1074.  
  1075.  Both ram drives ran perfectly.
  1076.  
  1077.  This allowed me to have four disk drives, and the two rams, for a total 
  1078.  of six.
  1079.  
  1080.  Running a short routine from profile initialized the extra drive.  I
  1081.  quess the same thing could be done to address the 2 Megs.
  1082.  
  1083.  However, I haven't heard about anyone taking this on, yet....
  1084.  
  1085.  Howie
  1086.  ------------
  1087. Category 5,  Topic 8
  1088. Message 10        Sat Nov 16, 1991
  1089. HOWIE-CBM [H.HERMAN1]        (Forwarded) 
  1090.  
  1091.  help!   :(
  1092.  
  1093.  Can someone who doesn't have a RAMLink help me...
  1094.  
  1095.  I cannot get a short routine to work, and don't know if it is a program
  1096.  fault, or <shudder> due to the RL.
  1097.  
  1098.  The idea of the routines is that you put whatever CP/M things you want into a
  1099.  512k REU.  Exit from CP/M, and then in 128 mode run 'reu2disk".  This is
  1100.  supposed to make 16 files that will be an image of the REU.
  1101.  
  1102.  With TRON on, it keeps crashing on me at line 140.  :(
  1103.  
  1104.  If you happen to be successful, well then, the idea is:  You can use the REU
  1105.  for other things, or blank it out.  However, next time you want to use CP/M
  1106.  you first run 'disk2reu' to load the REU with CP/M things, and then boot into
  1107.  CP/M, to find your REU ready for use.
  1108.  
  1109.  The idea is to have several of these files, each for different uses.  And,
  1110.  since it is filling the REU in 32k batches, it is a lot faster than copying
  1111.  over 90 or so files in CP/M mode.
  1112.  
  1113.  This was written by Brian Nalewajek, who wrote an article for EIGHT BITS AND
  1114.  CHANGE.  He was not happy that NZBLITZ would not run on his C128 under Z3PLUS
  1115.  but that those running NZCOM could use it.  These routines were his way of
  1116.  effectively doing the same thing.  (NZBLITZ has a picture of the user's
  1117.  customized NZCOM (running under CP/M) system, and instantly boots, instead of
  1118.  loading in the many ZSYS files at boot up.)
  1119.  
  1120.  An extraordinary idea.  Except for me it just won't work. 
  1121.  
  1122.  Before running these, change the UNIT number in line 140, and 130
  1123. respectively
  1124.  to write, and then read from whatever drive you want.  I had mine set to 16.
  1125.  Here are the routines:
  1126.  
  1127.  reu2disk
  1128.  ========
  1129.  
  1130.  100 rem reu memory to disk program
  1131.  105 :
  1132.  110 f$="memblock ":n=0:x=0:y=0
  1133.  115 :
  1134.  120 for n=0 to 15: rem for the 16 32k blocks of memory
  1135.  125 n$=(str$(n)): rem this sets the numerical 'tag'
  1136.  130 fetch (2^15),(2^14),(x*(2^15)),y
  1137.  135 rem 32k, 4000hex, 1st or 2nd 32k half of reu bank y
  1138.  140 bsave (f$+n$),d0,u16,b0,p(2^14) to p((2^14)+(2^15))
  1139.  145 rem  filename          start add         end add
  1140.  150 if x=0 then x=1:else x=0:if x=0 then y=y+1:else y=y
  1141.  155 rem move to next reu bank every second iteration
  1142.  160 next n
  1143.  165 :
  1144.  170 print" transfer complete "
  1145.  
  1146.  disk2reu
  1147.  ========
  1148.  
  1149.  100 rem disk to reu program
  1150.  105 :
  1151.  110 f$="memblock ":n=0:x=0:y=0
  1152.  115 :
  1153.  120 for n=0 to 15
  1154.  125 n$=(str$(n))
  1155.  130 bload (f$+n$),d0,u16,b0,p(2^14)
  1156.  135 bank 0: rem set config to look at ram only
  1157.  140 stash (2^15),(2^14),(x*(2^15)),y
  1158.  145 bank 14: rem back to normal
  1159.  150 if x=0 then x=1:else x=0:if x=0 then y=y+1:else y=y
  1160.  160 next n
  1161.  165 :
  1162.  170 print" transfer complete "
  1163.  
  1164.  Perhaps someone can recognize a programming error?  The 'reu2disk' program
  1165.  doesn't have any of the bank switching that 'disk2reu' has.  Could this
  1166.  be why I can't get to first base?
  1167.  
  1168.  Any and all comments welcome!!  :)
  1169.  
  1170.  Howie
  1171.  
  1172.  P.S.  The author does welcome others improving on this, by using machine
  1173.  code, burst protocols, or (modestly) better Basic code.
  1174.  ------------
  1175. Category 5,  Topic 8
  1176. Message 11        Wed Nov 20, 1991
  1177. HOWIE-CBM [H.HERMAN1]        (Forwarded) 
  1178.  
  1179. Got it to work!!   :)
  1180.  
  1181. Changed reu2disk by adding the following lines:
  1182.  
  1183. 105 slow
  1184.  
  1185. 126 bank0
  1186.  
  1187. 131 bank14
  1188.  
  1189. Changed disk2reu by adding:
  1190.  
  1191. 105 slow
  1192.  
  1193. That's all that was required.  This thing is absolutely amazing.  It
  1194. compeletely restores the REU which is all ready for use when you get into
  1195. CP/M.
  1196.  
  1197. It takes about 5 seconds from a RL, and should run pretty fast from a 1571 or
  1198. 1581 with the addition of burst loads.  
  1199.  
  1200. Now all I've got to do is a quick boot into CP/M, and then run all the
  1201. PROFILE.SUB routines direct from the REU, since everything is there.  :)
  1202.  
  1203. Hmmm.....
  1204.  
  1205. Wondering....  Would this work equally as well with things like CS/DOS,
  1206. Basic8, the Pockets, GEOS??   Interesting possibilities here!
  1207.  
  1208. Howie
  1209.  ------------
  1210. Category 5,  Topic 8
  1211. Message 12        Wed Nov 20, 1991
  1212. C128.JBEE [* Sysop *]        (Forwarded) 
  1213.  
  1214.  I have a program of the that type the restores both the REU and Basic 8
  1215.  structure buffer under Basic 8, so yes, it something like that will work 
  1216.  under Basic 8.  Most useful if you are experimenting and not even a reset
  1217.  will bring back a cursor.
  1218.  
  1219.  BTW:would have helped you with your program but I was both offline and
  1220.  still REUless :P
  1221.  ------------
  1222.  ************
  1223. Topic 9         Thu Jan 09, 1992
  1224. P.HAINES2 [STROBE]           (Forwarded) 
  1225. Sub: WRITING BBS PROGRAMS                   
  1226.  
  1227. INFORMATION ON BBS PROGRAMMING.
  1228. 2 message(s) total.
  1229.  ************
  1230.  ------------
  1231. Category 5,  Topic 9
  1232. Message 1         Thu Jan 09, 1992
  1233. P.HAINES2 [STROBE]           (Forwarded) 
  1234.  
  1235. I WOULD LOVE TO WRITE A BBS  PROGRAM THAT COULD UP/DOWN LOAD PROGRAMS.  I JUST
  1236. DONT  KNOW THE CODING IN BASIC  OR ML.  IF ANYBODY KNOWS OF A BOOK OR OF A
  1237. SUBROUTINE THAT WOULD DO THE JOB PLEASE LET ME KNOW. THANK YOU...
  1238.  
  1239.    [ S T R O B E ]
  1240.  ------------
  1241. Category 5,  Topic 9
  1242. Message 2         Fri Jan 10, 1992
  1243. C128.JBEE [* Sysop *]        (Forwarded) 
  1244.  
  1245.  There are BBSs here online that contain source code.  You could try checking
  1246.  out those.  There really is not much difference between writing a database
  1247.  program and writing a BBS.  The file transfer and communication modules are
  1248.  all pretty much the same.  You can find some modules here online.
  1249.  ------------
  1250.  ************
  1251. Topic 10        Sat Jan 18, 1992
  1252. C.AMEZAGA [GeoBasic]         (Forwarded) 
  1253. Sub: PetSpeed                               
  1254.  
  1255. Anyone know what a Recompiler for PetSpeed64 is?? For that matter anyone know
  1256. of something that will decompile PetSpeed64??
  1257.  
  1258. 4 message(s) total.
  1259.  ************
  1260.  ------------
  1261. Category 5,  Topic 10
  1262. Message 1         Sat Jan 18, 1992
  1263. C.AMEZAGA [GeoBasic]         (Forwarded) 
  1264.  
  1265.  
  1266.    Someone wrote me a letter from sweden asking if I knew of anything that
  1267. would recompile. After reading through his letter I come to think that what he
  1268. is asking for is a decompiler.  So anyone know of a decompiler for
  1269. Petspeed64??  The gentleman whats to decompile a program so he can modify it
  1270. to his specs, and the compile it once again for speed. Anyone??  Thanks and
  1271. take care.....
  1272.  
  1273. Carlos
  1274.  ------------
  1275. Category 5,  Topic 10
  1276. Message 2         Sat Jan 18, 1992
  1277. C128.JBEE [* Sysop *]        (Forwarded) 
  1278.  
  1279.  The only decompiler I have seen is for BLITZ! and I believe it only
  1280. decompiles
  1281.  the program into Assembly Language source files.  Which considering the
  1282.  file is now uncommented and a tangled mass of twisted logic because it was
  1283.  originally BASIC I can not see it being of much use to anyone.
  1284.  ------------
  1285. Category 5,  Topic 10
  1286. Message 3         Sat Jan 18, 1992
  1287. AMFORD                       (Forwarded) 
  1288.  
  1289.   Nah, the de-BLITZ pgm takes it back to basic. Still no comments and some
  1290. twisted logic, but what do you expect from basic anyways?  :0
  1291.  ------------
  1292. Category 5,  Topic 10
  1293. Message 4         Sat Jan 18, 1992
  1294. C128.JBEE [* Sysop *]        (Forwarded) 
  1295.  
  1296.  I stand corrected :)
  1297.  ------------
  1298.  
  1299. 5 ?