Welcome to my Apple IIe Lo-Res page     

During 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!  

I 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 LOT of work.  

Lores 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.  

The 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

(Violet), 4 (Dark Green), 5 (Dark Gray), 6 (Medium Blue), 7 (Light Blue), 8 (Brown), 9 ( Orange ), 10 (Light Gray), 11 (Pink), 12 (Bright Green), 13 (Yellow), 14 (Aqua) and 15 (White). If the value for your color is greater than 15, only the remainder when divided by 16 is used, so 'COLOR=16' is equivalent to 'COLOR=0' and the like. I used a apple 2 emulator to write a applesoft program to draw all 16 colors to the screen & saved it to a 24 bit bmp.  I then used photoshop to get the RGB values of the colors se below  

0 (Black)

1 (Magenta)

2 (Dark Blue)

3 (Violet)

4 (Dark Green)

5 (Dark Gray)

6 (Medium Blue)

7 (Light Blue)

8 (Brown)

9 ( Orange ),

10 (Light Gray)

11 (Pink)

12 (Bright Green)

13 (Yellow)

14 (Aqua)

15 (White)  

‘PLOT x,y' 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'  

'SCRN(x,y)' will return the color (0-15) of the pixel at coordinated x,y.  

Apple II soft switches

Any operation to soft switch’s physical address would toggle the function  

C050 Graphics Mode

C051 Text Mode

C052 Full Screen (if graphics mode)

C053 Mixed Text and Graphics (if graphics mode)

C054 Page 1

C055 Page 2

C056 Lores mode

C057 Hires Mode