Re: 80 Columns under cc65?



Dave Althoff, Jr. wrote:

If I remember correctly, BASIC.SYSTEM parses lines that are printed from running BASIC programs, but NOT characters that are passed through COUT. Sending the DOS command via COUT worked beautifully in DOS 3.3, but in ProDOS you have to send the command to ProDOS directly. The problem with THAT is that there is no equivalent for PR# in the ProDOS MLI. It looks like there is a method where you can put the command string into the input buffer:

$200:D0 D2 A3 B3 8D

....then JSR to DOSCMD at $BE03. The reference I am looking at, though, cautions that this only works in deferred mode...that is, while a BASIC program is running. I wonder how you can simulate that...Wasn't this covered in one of the last issues of Softalk....?

It's always worth trying. I've found that the cases of several commands
I wanted to use but were "not supported" through DOSCMD worked fine.

-michael

AppleCrate: An Apple II "blade server"!
Home page: http://members.aol.com/MJMahon/

"The wastebasket is our most important design
tool--and it's seriously underused."
.



Relevant Pages

  • Re: The Spectrum is a computer for GIRLS !!!
    ... have a load of code after it but all programs were basic programs ... that start out like this are machine code. ... Four POKES and a SYS command and the block of memory you specify is saved to ... the load is finished, is pointing to a new piece of machine code. ...
    (comp.sys.cbm)
  • Re: Writing Basic Programs
    ... As operating systems grew more complicated and command line systems disappeared BASIC disappeared. ... My question is can simple BASIC programs be written and run using what is built into XP? ... I don't know about writing new programs, but I'm still using a checking account program I wrote in BasicA in 1982, from a command screen. ... I'm able to modify it when necessary, like adding new accounts or changing printers. ...
    (microsoft.public.windowsxp.basics)
  • Re: How to parse output from a command
    ... I'm just using the ping scenario as an easy example. ... I'm trying to find a way to get any string out of any output. ... bypass the DOS command all together, thinking there would be an easy way to ... I'm trying to find a way to either do this by executing the DOS command ...
    (microsoft.public.scripting.vbscript)
  • RE: Printing from command line
    ... Never considered using a dos command for an application like ... database program), with attachments specific to the particular form letter. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Cant delete corrupt C:WINDOWSsystem32driversetchosts fil
    ... I tried to delete it with the dos command and was stopped by an error that ... said I didn't have permission... ... At the command prompt ...
    (microsoft.public.windowsxp.general)