Username Password
Bookmark and Share

HGR Macro


  HGR macro


  Revive the past!  Use Apple II High Resolution Graphics (HGR) as assets on
  your WebGUI system.  No conversion needed!


  The HGR macro displays Apple II High Resolution Graphics image files stored
    on ProDOS formatted disk images as PNG files on your WebGUI system.
    No image conversion is required.  No disk images need to be unpacked or
    otherwise harmed.  Safe for children under 3.
    Bring your classic art collection into the future!


  Toss the following macro wherever you feel the need to awe your visitors:

    The first parameter is the URL you assigned to the ProDOS formatted disk
    image in your asset manager.
    The second parameter is the Apple II ProDOS filename of the image file to
    display.  HGR files are 8192 bytes in length.  It does not matter if the
    image was saved on page 1 ($2000) or 2 ($4000).  HGR is smart like that.
    The sample disk image has a fantastic out-the-window view of Megs Field in
    Chicago from the cockpit of a Piper single-engine aircraft.  To gaze upon
    it in amazement, use the following:
    You can almost feel the wind in your hair, can't you?  Just check out the
    majestic Sear's Tower off to the left of the runway!


  - Place in /data/WebGUI/lib/WebGUI/Macro.
    - Add HGR to your site's configuration file.
    - Give it the old /data/wre/sbin/rc.webgui restart
  - Put all your ProDOS por^H^Hhoto disks in the asset manager.
    - Go wild!


  First, I'd like to thank my brain.  It's responsible for most of this macro.
    A lot of very important Apple II technical information is still kept there.
    You can find more of my brain at and at

    Christopher J. Madsen for the LibA2 module.  I really didn't want to have
    to write the disk reading code myself!
    David M. Cotter for assistance with my broken color decoding routine.  His
    Apple II image tool, a2pix, can be found on his web site at
    Bob Bishop for detailed information on how the Apple II maps RAM to the
    display.  Not all of this information stayed in my head over the last 25
    I can't forget all the people I pestered in #WebGUI on FreeNode while trying
    to learn the API calls I needed to make this work.  Thanks again!

System Requirements

Please be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.

LinksScott Duensing
Statistics Downloads: 723
Views: 4133
Rating: 0
Updated: 9/1/2008
Keywords acme apple graphics
NavigationMore from Scott Duensing
Back to the Bazaar
© 2022 Plain Black Corporation | All Rights Reserved