Welcome to my Apple IIe Lo-Res page
my last years in highschool(85-86) and after I started to program in 6502
machine language I got interested in a little used graphics mode LO-RES.
Lores gave you a 40 by 40 screen with 16 colors (blocky to say the
least). By writing in machine code I could work in the lores memory very very
quickly and created a color cycling routines.
I also used Applesoft basic to come up with a number of lores screens.
When I moved away from the apple in the early 90’s I created backups of
everything I had created on the apple to my new 386.
Over the years I’ve missed that great computer & started to bring
this across to new file formats. First
were my hi-res stuff then all my double hi-res stuff.
I then planed to do all the lo-res graphics
s well, I had started to write the code the month my wife died needless to say
it got tabled. Well in Nov 2003 an
old friend challenges me to get it done. Well
here it is!
choose to use the demo of dark basic for the grunt work & graphics stuff,
see listing to the left. Basically I
used the apple IIe memory dumps of lores memory as a templates to create
640x480x16 color images. Then I had
the program draw all 16 frames of the animation at the same screen resolution. I
then used a C utility I wrote to create the animated gif’s. All the original
images as at 640x480 but I ran the whole process again at 120x100 and 320x200 to
get the images for my site, it was a
graphics mode provides 40x40 + 4 lines of text or 40x48 graphics on the screen
with 16 fixed colors available. It does this by replacing each character on the
text screen with two blocks. Each byte in the screen memory (8 bites) is divided
into two nibbles of 4 bits each. 4
bits can encode 0-15($0-$f) or 16 values.
Lores graphics screen can be turned on in "mixed" mode of 40x40 with 4
lines of text at the bottom with the 'GR'
command. This clears all of the 40x40 field to black, and puts the current
prompt line in the space at the bottom. 'COLOR=n'
sets the color to the appropriate selection. Valid colors are 0 (Black), 1
(Magenta), 2 (Dark Blue), 3
4 (Dark Green), 5 (Dark Gray), 6 (Medium Blue), 7 (Light Blue), 8 (Brown), 9 (
sets the specified point to the current color. Coordinates start with 0,0 in the
top-left corner of the screen, and increase towards the bottom and right. While
there is no arbitrary lores line function, there is functionality to draw
horizontal or vertical lines. They have the following form: 'HLIN x1,x2 AT y'
and 'VLIN y1,y2 AT x'
will return the color (0-15) of the pixel at coordinated x,y.
II soft switches
operation to soft switch’s physical address would toggle the function
Full Screen (if graphics mode)
Mixed Text and Graphics (if graphics mode)