Category: Programming

Appending Applesoft

By Val J. Golding Here are simple routines that will allow you to append programs in both version of Applesoft. While appending can be done under program control in App. II, it is really simpler to do it without. The routines are the same in both versions; only the pointers have been changed (to protect the innocent!). A word of caution: Apple soft programs store in memory just the opposite of Integer Basic, i. e., from the bottom up. Therefore,…

An Apple ][ Memory Test

By Bob Huelsdonk I wrote this simple program to test new memory chips I bought. Just store the correct end address for your Apple in locations 4 and 5, run 300G and display 800 to the end. 300.32A 0300- A0 00 A9 55 91 02 D1 02 0308- D0 1D A9 AA 91 02 D1 02 0310- D0 15 20 18 03 90 EB 60 0318- A5 02 C5 04 A5 03 E5 05 0320- 3A FF 00 – 4C…

Save Memory On A String

By Don Williams One of the minor deficiencies in Apple Integer BASIC is the omission of the Data statement. In search of a remedy for this, I wrote a program to save memory in a BASIC string assignment. This is listed as program lines 1020 through 1190. Upon embarking on the first routine, I quickly found a second omission in the language; a way to store a non-string variable into a string, the remedy for which is shown as program…

Applesource

by Dana Redington = Apple Computer, Inc. More word on the utility Rom. In addition to the routines previously mentioned, this Rom will have new high-res operating routines, including a SHAPGEN command that will eliminate the need to manually write HIRES vectors. You will be able to directly address a d0t matrix, and there will also be a HIRES Ascii character set, displayable concurrently with the graphics. The Applesoft Rom board is scheduled for release to dealers July I st…

Meeting Minutes

18 April 1978 Meeting Time: 1905 Place: Omega Stereo in Bellevue The meeting was held at Omega Stereo in Bellevue. Val Golding called the meeting to order at 7:05 and led the introductions to the 22. members present. Mike Thyng read the March minutes, which were then approved. Val reported he had contacted a Sottech representative concerning club use of their software.  They appear to be willing to work with us on royalties, and we voted to ask Val to…

Apple ][ Programming Tips

To set HIMEM at locations above 32767, use minus figures, i.e., HIMEM (-32767-1) would set it at 32768; -32766 sets 32770 .

Assembly Language Class

Don Williams will be our instructor for an 18 hour Assembly Language programming course. The cost is $35, which includes the Synertek 6502 Programming manual, and will be taught two nights per week at Empire Electronics, 616 SW 152nd St. , Burien, starting in the early part of May, so time is short. Contact Don at (206)242-6807 or Tom Geer at (206)244-5200 to sign up.

Apple Basic Decoded

This is a program which will allow you to dump BASIC statements to Hexadecimal code. 1 REM PROGRAM TO DUMP BASIC2 REM STATEMENTS TO HEX3 REM TO USE … ADD A LINE4 REM OF BASIC AFTER 12005 REM AND RUN.6 REM WRITTEN BY7 REM D.R. WILLIAMS 2/7810 DIM S$(16):S$=”0123456789ADCDEF”20 LOCF= PEEK (203)*256+ PEEK (202)30 INPUT “STMT #”,N35 IF N<0 THEN END40 LOC=LOCF50 K= PEEK (LOC+2): IF K>127 THEN 9055 STHT=K*256+ PEEK (LOC+1)60 IF STMT=N THEN 10070 LOC=LOC+ PEEK <LOC)80 IF…

Bytes from the Apple

This month, we have a number of brief programming aids. For starters, here is how you can break your long PRINT statements in pages:For more than two pages, use this subroutine, inserting the GOSUB after 20 or less lines: 200 VTAB 22:PRINT “HIT RETURN FOR NEW PAGE”: CALL -676: CALL 936: RETURN. This will halt the program with a bell, and wait for a Return to resume. To correct a line in a program listing, POKE __, 33 before listing….

Program Submission Guidelines

As we indicated last month, we need your software for our library, in order to make it available to others. You can help cut down on our processing time by observing the following guidelines. All programs should be completely self-prompting. This means all user instructions should be embedded within the program as “print” statements, so the user can run the program Without any additional information at all. Please state the language the program is written in, i. e., Integer BASIC,…

Applesauce

The following recipe will save you loading time on your Applesoft programs. 1. Load Applesoft 2. Do not “RUN” it. 3. Using the DEL command, delete lines 0,940, inclusiv. 4. Enter this line: 950 POKE 18,255 This will give you a preset version of Option 1, Applesoft graphics mode. 5. “SAVE” this at the beginning of a blank cassette and follow it with saves of programs written in Option 1. For Option 2, do the same except make line 950…

Tones Dress Up Programs

Users can dress up their Apple II program with a simple tone subroutine to direct attention to error messages and other items of importance. From BASIC, you simply need a Call -1050 ($FBE6).  This will produce a 1·000 cycle tone to be emitted from your computer.

BASIC for Beginners

A recent letter from Apple Computer announced the publication of a new manual scheduled for late March, designed to teach Apple BASIC to those with no prior programming experience. We look forward with anticipation to its publication. Editors Note: We need it!

“POKE” This in your Apple!

By Bob Huelsdonk and Val Golding A subroutine to find the Basic POKE statements for a machine language program or subroutine.  Find the starting address of the routine you wish to Poke and convert that to Decimal. Now, in Basic, enter the following program. (n=starting address) 1000  A=n : B=A+19 1010 FOR 1= A TO B: PRINT I, PEEK(l): NEXT I 1020 X =PEEK (-16384) : POKE -16368, 0 : IF X=127 THEN 1030: GOTO 1020 1030 A=A+20: B=A+19: GOTO…