You can find the hi-res drawing code in an Applesoft disassembly. HPLOT starts at $F6FE.
The ROM code is optimized for size, and parts are tricky to sort out. If you want something a bit more straightforward, you can find Applesoft-ish line drawing in fdraw. Some commentary on how Applesoft's line drawing code sets bits on the hi-res screen can be found ...
Here is a picture (to scale) of how memory is being used in
units of "pages" (256 bytes) on the Apple 2.
000000001111111111111111 2222222222222222 3 ... ... 9
89ABCDEF0123456789ABCDEF 0123456789ABCDEF 0 ... ... 6
|Basic:::::::::::::::::::|::: HGR | |
The routines are documented in the Programmers Aid #1 manual
These are basically the same as the ones in the Applesoft ROM. They might use different zero page locations and won't handle floating point numbers but they are the same algorithms.
The comma syntax does not work in Commodore BASIC, neither on the PET (Commodore BASIC V4.0), nor on C64 (Commodore BASIC V2.0), C16/116 (Commodore BASIC V3.5) or Commodore 128 (Commodore BASIC V7.0). Using a construction like INPUT "ENTER SOMETHING",A$ yields a SYNTAX ERROR. There are however other ways to suppress the question mark prompt on a C64, see the ...
Here is a simple way for you to get your program working and continue working on it (for now).
Save your existing DHARMA INITIATIVE LOGO program to disk as a file called MAIN.
Now type this program and save it as START:
10 POKE 103,1:POKE 104,64:POKE 16384,0
20 PRINT CHR$(4);"RUN MAIN"
When you run START it will set up and run the ...
(Warning, all from Memory without checking any manual)
AFAI read the question, you're using an Apple II with highres graphics from BASIC and did run into memory problems - usually by interference of BASIC memory management with the graphics location. You 'solved' it (well, not rally) by moving to page two, but now you can't write any text.
Problem #1 Text ...