Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #5173

Re: Apple lle commands, Applesoft basic commands

Message-Id <eii0qb-8ck.ln1@sonnyboy.foo>
From "Peter \"Shaggy\" Haywood" <phaywood@alphalink.com.au>
Subject Re: Apple lle commands, Applesoft basic commands
Newsgroups comp.programming
Date 2015-02-01 14:19 +1100
References <kdqdnRdemesbiFTJnZ2dnUU7-bWdnZ2d@giganews.com> <20150128124250.222@kylheku.com>

Show all headers | View raw


Groovy hepcat Kaz Kylheku was jivin' in comp.programming on Thu, 29 Jan 2015
07:54 am. It's a cool scene! Dig it.

> On 2015-01-28, Waffleman <blaisesanta@gmail.com> wrote:
>> Hey, I just need someone to tell me how to do the following commands are
>> How do i save a program to a floppy disk
> 
> What kind of program? Applesoft Basic?
> 
> The BASIC program is loaded with "LOAD <filename" and saved with "SAVE
> <filename>". CATALOG lists the files on disk.
> 
> Machine code is saved with BSAVE <filename>, <start_address>, <length>.

  Actually, it's BSAVE <filename>, A<start_address>, L<length> 
or BSAVE <filename>, A<start_address>, E<end_address>. Note the A and L and
E. Addresses and length can be expressed in decimal or in hex preceeded by
a $ sign. Eg.:

BSAVE HI-RES-GFX, A$2000, E$3FFF

> There is BLOAD to load binary code into memory and BRUN to execute it.

  BRUN loads a file in and runs it. BLOAD only loads it in. You can then run
it by using the CALL command. Pass the address (in decimal) of the loaded
file to CALL.
  BLOAD <filename> will do; but there's also BLOAD <filename>, A<address> to
load the file at a different address. The same options exist for BRUN.
However, be careful running non-relocatable executable binaries in
addresses they're not ment to run in.

>> What is the command that that lets people enter input like saying yes or
>> no All of these for the apple lle

  There's INPUT for line based input and GET for single character input.
Take your pick.

-- 


----- Dig the NEW and IMPROVED news sig!! -----


-------------- Shaggy was here! ---------------
              Ain't I'm a dawg!!

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Apple lle commands, Applesoft basic commands Waffleman <blaisesanta@gmail.com> - 2015-01-28 10:59 -0600
  Re: Apple lle commands, Applesoft basic commands Kaz Kylheku <kaz@kylheku.com> - 2015-01-28 20:54 +0000
    Re: Apple lle commands, Applesoft basic commands "Peter \"Shaggy\" Haywood" <phaywood@alphalink.com.au> - 2015-02-01 14:19 +1100
      Re: Apple lle commands, Applesoft basic commands Richard Heathfield <invalid@see.sig.invalid> - 2015-02-01 20:41 +0000
        Re: Apple lle commands, Applesoft basic commands "Peter \"Shaggy\" Haywood" <phaywood@alphalink.com.au> - 2015-02-06 00:13 +1100

csiph-web