Your Basic Basic Thread.

Discussion in 'Apple Collectors' started by Spock, Jul 16, 2003.

  1. macrumors 68000

    Spock

    Joined:
    Jan 6, 2002
    Location:
    Vulcan
    #1
    00 PRINT "I just got an old Apple //c and have been playing around with Basic and wondering if anyone remebers Basic and how fun it is to play with."

    10 input a$
     
  2. macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #2
    Oh yea, I remember.

    What do you want to know?

    Try this,
    If you have a game that displays in high resolution play it.
    At some point press, hard escape or reset.
    During the boot immediately press control reset to stop it.
    Type call-3111.
    You will have restored the last high-resolution image.

    Call-3110 will also restore the last high-resolution image, but it will have the text window below it.

    Another tip, if you end up in the machine code, *] prompt, by using an improper call, you can often escape back into the dos, prodos, or general command prompt by typing 3d0g. That’s three d zero g, or what I remember as “3 dog”.

    Something else, if want a joystick, you can build your own. A simple restive joystick element, a serial cable, and two buttons are all you need. As a side note, the joystick buttons map as Open Apple and Closed Apple.

    Oh, and Brickout is hidden on the Prodos disks.
     
  3. macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #3
    I didn't completely understand the thread title until now.
    Coffee, I need coffee.

    Some basic Beginners All-purpose Symbolic Instruction Code

    Input n$, for a string
    Get a$, for a single charcter
    If a = "y" then goto nnnn
    is the same as
    If a = char(89) then goto nnnn

    skip line numbers in sets of 10 or 100
    the key combination <control G> = bell = char(7)

    Short hand for print " is just ?"

    remember rem statements
     
  4. macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #4
    Oh some other stuff.

    Dependent on what version of Dos you loaded, your basic comands and the amount of memory basic can use.
    The internal memory also limits how many charcters and line numbers you can use. Most people wont type a program larger than the computer can handle.

    Poor man's cut and paste.

    Try this
    10 print "Wow I would like to see this twice."

    then press <esc> and use the arrow keys to go to the begenning of line 10. Press <esc> again

    then type a <2> over the 1 and use -> arrow key to get you to the end of the line. Press <return>

    Then type RUN or LIST

    By the way Input A and Input A$ are simular. 'A' by its self will be a numeric responce, 'A$' is any keyboard charcter except Open-apple, control, shift, closed apple, and reset.
     
  5. Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #5
    I remember about BASIC far too well. My first 8-bit machine had a BASIC interpreter like all the other machines of the time. I couldn't wait until I got an assembler because speed was an issue at 1.79 MHz. :D Of course, that IIc is operating at 2 MHz, so there's no speed issue.

    Then, last summer, I was taking a class on algorithms. The instructor of the class taught it with QuickBASIC on x86 machines. It was an easy A because I remembered everything back then, but it was easy to see with the beginners how many people could make mistakes since BASIC is a lazy language.

    Just remember not to goto to create a never-ending loop. :D
     
  6. macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #6
    Look for books on Apple MLX at flea markes. They usualt came with disks that contained the compilers, sets of simple utilities, and sample programs.

    Same for books on Basic. There is also the web.
     
  7. macrumors 6502a

    bbarnhart

    Joined:
    Jan 16, 2002
    Location:
    Stilwell, Kansas
    #7
    Anyone remember the Beagle Bros ads with their two liners that make the Apple IIe do the most crazy things? I loved their software.
     
  8. macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #8
    I loved the Beagle Bros.
    I saw a book and animation that refrenced their brillant use of single small animations to make a picture come alive, like the fly on thier logo.

    I saw this book. It might help you. I have neve had problems with Amazon's auction site. Once a vender was slow in shipping a product and they got on his a**.
     
  9. macrumors member

    Joined:
    Jul 22, 2003
    Location:
    Down the hall and to the right.
    #9
    I use BASIC on my IIe a lot. A few days ago I finished my Temperture Conversions program. I have it recoreded on a .WAV file if anyone wants it. It draws a thermometer when you start it... Took me a few hours...

    I learned a quick trick for doing the edges that are straght... Define something as being the starting point and ending point...

    5 color = x
    10 FOR V = 1 to 32
    20 plot v,1
    25 NEXT V
    30 text
    40 end
    1 gr


    that would draw a straight line down the edge of your screen
     
  10. macrumors member

    Joined:
    Jul 22, 2003
    Location:
    Down the hall and to the right.
    #10
    also... i found if youre ever at a * prompt thingey... if you type

    walmart

    the machine will just stop and you have to control-reset to get back... strange..

    EDIT:
    typing microsoft does the same
    typing big blue, or ibm... inverts the text and changes the keyboard layout... :p

    this might be a feature or something... or some command, but it think it's an easter egg.
     
  11. macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #11
    No Easter egg.
    At the ML prompt (*) I inverts the screen.
    N will make it normal text again.
    F should flash the text, but in (*) mode it will only show up as inverted.
    L will list the code from the last hex entry and for the next 16. (I think it was 16)
    B and M are also commands, but I can't remember what they do.

    I don't think that Wal-Mart and Microsoft are Easter eggs.
    What you’re doing is chaining a set of tools or macros.
    Try this: Type "
    Ill " It should inverse the screen and print two consecutive lists.
     
  12. macrumors 65816

    tpjunkie

    Joined:
    Nov 24, 2002
    Location:
    NYC
    #12
    the command "Flash" can be used to make all text that appears on screen after its entered to flash. "Invert" works the same way, with inverting the text. "Normal" will make the text normal again. These commands can be used inside a program as well.

    My favorite command: peek -136336 (i beleive thats the number, it has been a while

    it makes a click! put it in a program, and goto the command repeatedly to make a buzzing tone! stick some POKEs in there for different tones!
     
  13. macrumors 68000

    Eniregnat

    Joined:
    Jan 22, 2003
    Location:
    In your head.
    #13
    Aha yes. I was just talking about the ML prompt.
    Flash will flash on the later // computers, but not in 80col mode.

    I'm visiting my parents next week.
    I will try to dig up some of my old programs.
    I will be able to salvage some code and comands frome there.
     

Share This Page