whiteplanet Posted August 13, 2015 Share Posted August 13, 2015 Does anyone have any programming examples or information about Double Hi-Res Graphics? In BASIC from Applesoft it's not possible, apart the Beagle Bros Graphics which has it's own routines that they have written. I have found this on the web which can be of use for simple drawing. http://www.atarimagazines.com/compute/issue89/Chrome.php I am looking for arcade animation (as there are more colors). Quote Link to comment Share on other sites More sharing options...
Osgeld Posted August 14, 2015 Share Posted August 14, 2015 Remember there is no graphics chip so more colors, mode resolution, and more complicated routines on a already sparse system... Quote Link to comment Share on other sites More sharing options...
whiteplanet Posted August 15, 2015 Author Share Posted August 15, 2015 My apologies. I really meant that I am looking for the workings of how double hi-res works in software. Programming examples or any info pointing to this direction. Quote Link to comment Share on other sites More sharing options...
MarkO Posted August 17, 2015 Share Posted August 17, 2015 My apologies. I really meant that I am looking for the workings of how double hi-res works in software. Programming examples or any info pointing to this direction. Apple IIe #3: Double High-Resolution Graphics ftp://ftp.cuhk.edu.hk/pub/oldies/apple2/unsorted/DHR.BAS.SHK.INFO.TXT ftp://ftp.cuhk.edu.hk/pub/oldies/apple2/unsorted/DHR.BAS.SHK PDF Page 19 and 20 http://www.applelogic.org/files/GSTECHINTRO.pdf Maybe something here: http://www.verycomputer.com/20_b44527cd530796f6_1.htm MarkO Quote Link to comment Share on other sites More sharing options...
Iamgroot Posted August 17, 2015 Share Posted August 17, 2015 The Graphics Magician disk has all the software needed for drawing on the dbl-hi-res screen and includes animation routines. The game "Black Cauldron" uses the graphics and animation routines from the Graphics Magician disk. To try to understand graphics and animation in dbl-hi-res takes more than one session. Nibble magazine has a 10 part series including animation routines that explains it pretty good. Nibble magazine also published and article called "Double Stuff" including software that uses normal hi-res shape tables for animation. I wrote an applesoft program that allows you to plot on the dbl-hi-res screen. But animation is a little more complex. 5 HGR : POKE 49237,0: CALL 62450 : REM clear hires screen, then Auxiliary's memory part of the hires screen 6 POKE 49246,0: PG = 49236 : REM turn on ANNunciator 3 to display dbl-hi-res screen 7 SVN = 7: HCOLOR = SVN: P5 =.5 9 GOTO 100 : REM also try GOTO 140 10 X2 = X * 4: CL = CO: TMP = 8 20 FOR I = 3 TO 0 STEP - 1:BIT = CL >= TMP:CL = CL - BIT * TMP:TMP = TMP * .5 30 X1 = X2 + I:HCOLOR = SVN * BIT: GOSUB 40: NEXT : RETURN 40 XX = X1 / SVN:H = INT (XX) * P5:XX = INT ((INT(H) + (XX - INT (XX))) * SVN + P5) 50 POKE PG + (H= INT(H)),0: HPLOT XX,Y: POKE PG,0: RETURN 100 FOR CO = 0 TO 15 110 FOR X = C0 * 8 TO CO * 8 + 7: FOR Y = 0 TO 10: GOSUB 10: NEXT : NEXT 120 NEXT: END 140 HCOLOR = 7 : Y = 1: FOR X1 = 0 TO 559 : Y = INT ( X1 / 3): GOSUB 40 : NEXT : REM this plots 560 points diagonally in black/white mode Quote Link to comment Share on other sites More sharing options...
whiteplanet Posted August 17, 2015 Author Share Posted August 17, 2015 ftp://ftp.cuhk.edu.hk/pub/oldies/apple2/unsorted/DHR.BAS.SHK.INFO.TXT ftp://ftp.cuhk.edu.hk/pub/oldies/apple2/unsorted/DHR.BAS.SHK Thanks for the links Marko. I am unable to goto the above links as it does not display anything that I can read. Is there another way I can access this? Quote Link to comment Share on other sites More sharing options...
MarkO Posted August 17, 2015 Share Posted August 17, 2015 ftp://ftp.cuhk.edu.hk/pub/oldies/apple2/unsorted/DHR.BAS.SHK.INFO.TXT ftp://ftp.cuhk.edu.hk/pub/oldies/apple2/unsorted/DHR.BAS.SHK Thanks for the links Marko. I am unable to goto the above links as it does not display anything that I can read. Is there another way I can access this? .SHK is a SHrinKit Archive. The .TXT is a regular Text File... CiderPress will UnPack it as well as some other Archivers. MarkO Quote Link to comment Share on other sites More sharing options...
whiteplanet Posted August 18, 2015 Author Share Posted August 18, 2015 To try to understand graphics and animation in dbl-hi-res takes more than one session. Nibble magazine has a 10 part series including animation routines that explains it pretty good. Nibble magazine also published and article called "Double Stuff" including software that uses normal hi-res shape tables for animation. Yes it would be great if you could access these articles. The only way I am aware is that you have to buy the magazines as a bundle. Quote Link to comment Share on other sites More sharing options...
whiteplanet Posted August 18, 2015 Author Share Posted August 18, 2015 .SHK is a SHrinKit Archive. The .TXT is a regular Text File... CiderPress will UnPack it as well as some other Archivers. MarkO When I download the text file it just displays random letters. ( I am using a PC obviously) So I do not want to approach the .shk file in case that also happens. Quote Link to comment Share on other sites More sharing options...
magnusfalkirk Posted August 19, 2015 Share Posted August 19, 2015 When I download the text file it just displays random letters. ( I am using a PC obviously) So I do not want to approach the .shk file in case that also happens. That's strange, because when I click on the link I get a readable article that I copied to my laptop computer. Quote Link to comment Share on other sites More sharing options...
MarkO Posted August 19, 2015 Share Posted August 19, 2015 Yes it would be great if you could access these articles. The only way I am aware is that you have to buy the magazines as a bundle. You can buy the Nibble Magazines, a Year at a Time, directly from the Editor, Mike Harvey. I have bought 1983 & 1985 and the Sourer Assembler and MacroSoft Compiler. MarkO Quote Link to comment Share on other sites More sharing options...
MarkO Posted August 19, 2015 Share Posted August 19, 2015 (edited) When I download the text file it just displays random letters. ( I am using a PC obviously) So I do not want to approach the .shk file in case that also happens. CiderPress is a Windows Application. I get regular Text with Windows 7, Windows 81, and Mac OS X 10.10.4. Also, According to the Nibble Disk Archive, 1988 has the "Double Hi-Res Display". GOTO the Page in the Previous Link, and Download the "The Stoddard Major Nibble Programs Collection (in a zip file)". MarkO Edited August 19, 2015 by MarkO Quote Link to comment Share on other sites More sharing options...
whiteplanet Posted August 19, 2015 Author Share Posted August 19, 2015 That's strange, because when I click on the link I get a readable article that I copied to my laptop computer. Really.What does it say? Quote Link to comment Share on other sites More sharing options...
whiteplanet Posted August 19, 2015 Author Share Posted August 19, 2015 CiderPress is a Windows Application. I get regular Text with Windows 7, Windows 81, and Mac OS X 10.10.4. Also, According to the Nibble Disk Archive, 1988 has the "Double Hi-Res Display". GOTO the Page in the Previous Link, and Download the "The Stoddard Major Nibble Programs Collection (in a zip file)". MarkO Excellent. This is great. That's for the tip. Quote Link to comment Share on other sites More sharing options...
MarkO Posted August 27, 2015 Share Posted August 27, 2015 Really.What does it say? Double Hires Subroutines Written by Allen Watson IIIFrom an Article in "Apple Orchard" magazine January 1984.Assembled by Rick Fincher using the ORCA/M assembler by Hayden Software.NOTE:These routines are for the Apple //e with 128K, Apple //c, Laser 128 or otherApple //e compatibles with 128K.Your extended 80 col card must have the jumper installed that connects pin 50and 55 of the Auxiliary Slot of the Apple IIe. The Apple Extended 80 col cardcomes with the jumper connected, I have a Titan Technologies Neptune board thathas the jumper pins but the jumper is not installed. All you have to do is wrapa piece of wire around the two posts so that there is a good connection. AlsoTitan technologies will send you the jumper (a small clip that fits over the twopins) free of charge if you have one of their cards. Before you buy an extendedmemory card be sure that there is a jumper on it.ANOTHER NOTE:Your Apple IIe must have a revision B motherboard to use the double hiresgraphics. To see if yours does, open it up and look for the part number of themother board along the back edge- it should be 820-0064-B. If your number endsin "A" you have a revision A board that you can have replaced free of charge byyour Apple dealer. All you have to do is state that you have a need for the newboard, which of course you do if you want to do double Hires graphics! It seemsthat the IIe had already entered production before Apple discovered that DoubleHires was possible, so some of the earlier IIe machines have the old board. Thejumper connects the annunciator to a circuit that forces the machine out of theinterleaving mode so that regular hires graphics are possible with the 80 colcard turned on. There weren't any soft switches left for this so Apple used theanunciator to do this via the jumper on the extra memory card.WARNING: DON'T USE AN EXTENDED 80 COL CARD WITH THE JUMPER INSTALLED ON AREVISION A BOARD, YOUR COMPUTER WON'T WORK IF YOU DO.LOCATION:These routines were assembled at $6000 (Hex) and don't work when moved unlessthey are re-assembled at a new location. A listing of the assembler file wasuploaded to make this possible (see Machine Language below). You can set LOMEMto 25660 to move your program variables above the routines to give you a littlemore room.HOW TO USE:To use the subroutines save the file on this board in the General downloadsection called DHIRES.BIN2 as a binary file and then use the FROM.BINARY or BLUto unpack it. It will create a file called DHIRES.SUBS on your disk. BRUN thisfile from Basic to prepare to use the double hires commands, or, if you areusing the routines from a Basic program, have your program BRUN this file. TwoBasic programs that use these routines and this doc file will also be created.Now we are ready to go.TO USE THE ROUTINES FROM THE KEYBOARD OR APPLESOFT:Use the following ampersand(&) commands.1. &DG This initializes the double hires display.2. &PEN This sets the line width to 1 for either black or white drawing with 560 dot horizontal resolution. If you try to draw in color in this mode you get bizarre effects.3. &BRUSH This sets the the line width to 4 for 16 color drawing.4. &HUE = c This set the drawing color where c is a number from 0 to 15 representing the 16 LoRes colors. A number of 128 or greater sets reverse drawing.5. &BKGND This sets the entire background to whatever color has been selected by the &HUE= command.6. &DOT AT x,y This draws a dot of the current color and line width at the x,y position where x is between 0 and 559 and y is between 0 and 191.7. &LINE TO x,y This draws a line from either the last dot plotted or the end of the last line drawn to the x,y position where x and y are within the limits mentioned above.RESOLUTION:Colored lines are actually four dots wide so their resolution is no greater thanin the regular hires mode, but you have 16 colors to choose from and nointerference effects from mixing colors. The &PEN command lets you draw withtrue 560x192 resolution in black or white. To get the best effects you can drawoutlines in black or white and then fill an area with color (See the demoprograms).UNDESIRABLE EFFECTS:Colored dots and lines can be drawn at any coordinate in the 560x192 range butif you draw a colored dot past an x coordinate of 556 (Four dots from the rightof the screen) it will overlap to the extreme left of the screen on the samescan line. This is because colored dots are actually 4 dots wide and drawingpast 556 does not give enough room for the four dots to be drawn without wrapingaround to the other side of the screen. This does not occur when using & PENand a color of 0 or 15 (Black or white).ERRORS:Attempts to draw outside the 560x192 range, i.e. x between 0 and 559 and ybetween 0 and 191, will cause a syntax error and a beep, just like with regularhires. So will a misspelling of the Ampersand commands, although they arepretty tolerant of spaces between words of mult-word commands.PROGRAMS USING DOUBLE HIRES:I have also uploaded two demo programs that were also in Apple Orchard. One iscalled DHIRES.CUBE and the other DHIRES.COLORS. The first is a stack of 3-Dcubes drawn in all of the 16 colors. The second is is a color wheel that showsall 16 colors in swatches in order with the dark colors in the outer ring, themedium colors in the middle ring (these are the regular hires colors) and thelight colors in the center ring.MACHINE LANGUAGE:If you wish to use these routines from assembly language either see a copy ofthe magazine article or contact me on the NCSU Apple Users Group BBS(919-783-9010) and I will be happy to send you a list of the entry points foreach function. I have also uploaded a copy of the assembler text listing. Theoriginal magazine listing used the Apple EDASM but I have ORCA/M so I made thenecessary changes. The ORCA/M listing is what is on the board, but I'll sendyou a copy of the EDASM listing if you want it or will help you convert it if Ican. Quote Link to comment Share on other sites More sharing options...
whiteplanet Posted August 29, 2015 Author Share Posted August 29, 2015 (edited) Mark O Thanks for posting. Edited August 29, 2015 by whiteplanet 1 Quote Link to comment Share on other sites More sharing options...
MarkO Posted August 30, 2015 Share Posted August 30, 2015 Mark O Thanks for posting. Not a Problem... I have been interested in doing some Double Hi-Res graphics myself... So I have been collecting some links and utils... MarkO Quote Link to comment Share on other sites More sharing options...
MarkO Posted September 1, 2015 Share Posted September 1, 2015 AUG-2015 Open Apple has a Segment on Double Hi-Res. I haven't listened to it yet, so I don't know what Info is there, but since Quinn Dunki is one of the Hosts, she might have some "Brilliant Insight" into Double Hi-Res. MarkO Quote Link to comment Share on other sites More sharing options...
whiteplanet Posted September 3, 2015 Author Share Posted September 3, 2015 Marko Thanks for the tip. Will look it up. Quote Link to comment Share on other sites More sharing options...
MarkO Posted September 7, 2015 Share Posted September 7, 2015 And..... This Just In, from SpeedyG.. upload of the pages related tohires graphicssound at the apple IIampersand routinesmacro routinesand several related topics. MarkO Quote Link to comment Share on other sites More sharing options...
MarkO Posted September 7, 2015 Share Posted September 7, 2015 SpeedyG's Article is from the MAR-1985 Nibble Magazine, Page 58, ( PDF Page 60 )... MarkO Quote Link to comment Share on other sites More sharing options...
whiteplanet Posted September 9, 2015 Author Share Posted September 9, 2015 AUG-2015 Open Apple has a Segment on Double Hi-Res. I haven't listened to it yet, so I don't know what Info is there, but since Quinn Dunki is one of the Hosts, she might have some "Brilliant Insight" into Double Hi-Res. MarkO Mark O I have just listened to the podcast. Unfortunately there is no brilliant insight into double-hires graphics in this edition. Just admitting how difficult it is to program and there wasn't much software released for it. Will look at other notes. Quote Link to comment Share on other sites More sharing options...
MarkO Posted September 10, 2015 Share Posted September 10, 2015 Mark O I have just listened to the podcast. Unfortunately there is no brilliant insight into double-hires graphics in this edition. Just admitting how difficult it is to program and there wasn't much software released for it. Will look at other notes. OK... I am just listening to the POD Cast right now... MarkO Quote Link to comment Share on other sites More sharing options...
MarkO Posted September 12, 2015 Share Posted September 12, 2015 Update on SpeedyG's Apple Box DE Page... A LOT MORE High-Res and Double-High-Res info.. See the Guide on AppleFritter.. MarkO Quote Link to comment Share on other sites More sharing options...
whiteplanet Posted September 14, 2015 Author Share Posted September 14, 2015 Yes. Great notes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.