I have programmed this simple APPLE ][ NOTEPAD for Applesoft basic:
5 SPEED=150
6 HOME
10 PRINT "APPLE ][ NOTEPAD BY MATTEO TREVISAN VERSION 1.0"
20 PRINT "WRITE TITLE HERE ": INPUT A$
30 PRINT "WRITE COMMENT HERE ": INPUT B$
40 PRINT "WRITE BODY HERE TYPE RETURN AFTER EVERY LINE YOU HAVE 19 LINE OF TEXT MAXIMUM IF YOU WANT TO LEAVE BLANK LINE TYPE RETURN UNTIL THE END OF 19 LINES"
50 INPUT C$:INPUT F$ :INPUT G$ :INPUT H$ :INPUT I$:INPUT L$:INPUT M$
60 INPUT N$:INPUT O$:INPUT P$:INPUT Q$:INPUT R$:INPUT S$:INPUT T$:INPUT U$:INPUT V$:INPUT Z$:INPUT X$:INPUT Y$
70 PRINT "DO YOU WANT I SHOW YOUR TEXT ": INPUT D$
80 IF D$ = "YES" THEN PRINT A$:PRINT B$:PRINT C$:PRINT F$ :PRINT G$ :PRINT H$:PRINT I$:PRINT L$:PRINT M$:PRINT N$:PRINT O$:PRINT P$:PRINT Q$:PRINT R$:PRINT S$:PRINT T$:PRINT U$:PRINT V$:PRINT Z$:PRINT X$:PRINT Y$
90 IF D$ <> "YES" THEN GOTO 10
100 PRINT "DO YOU WANT TO SAVE TO CASSETTE ": INPUT E$
110 IF E$ = "YES" THEN SAVE
120 IF E$ <> "YES" THEN GOTO 10
130 END
Here a downloadable .dsk version https://archive.org/download/APPLENOTEPADBYMATTEOTREVISAN
APPLE ][ NOTEPAD BY TOOLKITMAN
May 26, 2016 - 8:42pm
#1
APPLE ][ NOTEPAD BY TOOLKITMAN
No.
Hello Toolkitman
Nice code! Thanks for sharing.
I guess what Insanitor wanted to suggest (I am not a native speaker too) is:
Would be better to change "DO YOU WANT I SHOW YOUR TEXT" to something else
Maybe: "DO YOU WANT TO SHOW YOUR TEXT ON THE SCREEN?"
How about a slight modification for DOS?
New saving code (unless you want a non-functional program, do not enter the HTML line breaks):
This code saves the entire program under a given filename in Apple DOS. I don't know how to do it in ProDOS. Simply enter
RUN filename
at the Applesoft prompt with DOS loaded to load your text.
If I were you, I would also consider adding the ability to edit individual lines.
I was thinking of doing the same thing, (adding disk save capability) but give it a choice. (disk or cassette)
KF5SDR i'm a little tired to program right now, you can experiment by yourself no problem ; ).