Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Ghetto Image Converter for HGR modes
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  24 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Osgeld  
View profile  
 More options Dec 23 2010, 2:24 am
Newsgroups: comp.sys.apple2
From: Osgeld <osg...@cheesefactory.us>
Date: Wed, 22 Dec 2010 23:24:18 -0800 (PST)
Local: Thurs, Dec 23 2010 2:24 am
Subject: Ghetto Image Converter for HGR modes
I entered ludum dare last weekend, which is a 48 hour from scratch
game development compo, and I decided I was going to make an Apple II
"battleship" clone (since the theme was discovery) currently its 4
days past deadline and I am still fighting with it lol

anyway a half hour before the competition started, I decided I needed
a way to draw highres graphics and export them to the II, so I whipped
up this little ghetto system to do just that

Requirements:
PC running The Gimp
PC with lua 5.1 installed (older versions of the lua interpreter will
not work)
The Gimp palette file I made for the Apple II HGR colors
The Lua conversion script I made

Basic Rundown: you make a 280x192 or 280x160 graphic using the gimp
and the pallet, save it as a ppm file, edit the convert.lua file to
change what image file your working on, that spits out a ginormous
list of HPLOT and HCOLOR commands that you copy n paste (hopefully in
a emulator running as fast as it will go, otherwise prepare to be
bored ... for a long while)

Gimp pallet:
Apple-II.gpl  (save as)
open The Gimp, right click in the main window, choose Windows >
Dockable Dialogs > Palettes, this will open a pallets window, right
click on that window, and choose Import Palette, choose Palette file
and select the Apple-II.gpl file to install

Lua 5.1
debian based systems do sudo apt-get install lua5.1
MS windows download from http://luabinaries.sourceforge.net/download.html
and unzip to c:\lua

Graphics:
Make an image or convert an image using the supplied palette at
280x192 or 280x160 and save as a *.ppm file

Script:
convert.lua (save as)
edit the convert.lua file to point to the *.ppm file you are currently
wanting to convert, and save

The convert.lua script as posted needs to be in the same directory as
your ppm files !!
If your using windows, AND unzipped to the suggested location above
there is a "click n go" cmd file for you, everyone else will need to
run lua convert.lua OR lua5.1 convert.lua from the command line. This
reads the ppm file and produces a *.ppm_out file, which is just a
bucket-ton of basic statements

You can then copy and paste them into an Apple II system, BSAVE them
and recall them

BE WARNED!!
this produces tens of thousands of HPLOT and HCOLOR statements, I
strongly recommend you paste them into an emulator running at full
tilt warp speed, Apple II win can do it in a matter of seconds, but
needles in eyes speed at 1MHz, ALSO this does not account for any of
the funnier aspects of the Apple II video system, what you see in the
gimp is NOT what you get on the apple, but its close

Links:

Download here http://www.cheesefactory.us/apple2/gfxcv/
Screenshots here (apple IIc) http://www.cheesefactory.us/apple2/gfxcv/screenshots/

enjoy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xerxes409  
View profile  
 More options Dec 30 2010, 11:38 pm
Newsgroups: comp.sys.apple2
From: Xerxes409 <colin_to...@hotmail.com>
Date: Thu, 30 Dec 2010 20:38:00 -0800 (PST)
Subject: Re: Ghetto Image Converter for HGR modes
This is such a ghetto fabulous brute-force solution. I love it!

Recently I've been trying to take my ridiculously huge 12 megapixel
DSLR photos and scaling them down to Apple IIGS (and given the
scalability of the image, standard Apple II DHR / HGR) resolutions.
Convert 3200 seens to have the best all-round SHR mode conversion
chops, though the images I get from a program called JpeGS are the
most supernaturally amazing 16-color graphics I've ever seen on my
Apple monitor.

Unfortunately JpeGS is lacking a "save" function and timed CDA screen
savers don't work :(

Wondering if anyone else has done any nutty graphics conversions or
has any tips for a modern+retro process.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sheldon Simms  
View profile  
 More options Jan 5 2011, 6:46 pm
Newsgroups: comp.sys.apple2
From: Sheldon Simms <wsspa...@gmail.com>
Date: Wed, 5 Jan 2011 15:46:18 -0800 (PST)
Local: Wed, Jan 5 2011 6:46 pm
Subject: Re: Ghetto Image Converter for HGR modes
This reminded me of something I did a long time ago and, rather than dig through old archives, I decided to start rewriting it, so here's the first release:

http://wsxyz.net/tohgr.html

Right now, it only converts XPM images to HGR format. DHGR is almost finished and I'll update when that's done. For what it's worth, enjoy.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sicklittlemonkey  
View profile  
 More options Jan 6 2011, 12:15 am
Newsgroups: comp.sys.apple2
From: sicklittlemonkey <nick.westg...@gmail.com>
Date: Wed, 5 Jan 2011 21:15:15 -0800 (PST)
Local: Thurs, Jan 6 2011 12:15 am
Subject: Re: Ghetto Image Converter for HGR modes
On Jan 6, 12:46 pm, Sheldon Simms <wsspa...@gmail.com> wrote:

> Right now, it only converts XPM images to HGR format. DHGR is almost finished and I'll update when that's done. For what it's worth, enjoy.

Looks great. Would be even better with the “Atkinson” dithering
filter:
http://www.tinrocket.com/software/hyperdither/
(scroll down)

Cheers,
Nick.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Image Converter for HGR modes (with DHGR file question)" by Sheldon Simms
Sheldon Simms  
View profile  
 More options Jan 6 2011, 10:50 pm
Newsgroups: comp.sys.apple2
From: Sheldon Simms <wsspa...@gmail.com>
Date: Thu, 6 Jan 2011 19:50:32 -0800 (PST)
Local: Thurs, Jan 6 2011 10:50 pm
Subject: Image Converter for HGR modes (with DHGR file question)
Ok I took a look at the Atkinson dither. It is interesting that it does seem to get subjectively better results on some images because algorithmically, it looks like Atkinson's main concern was performance: his dither doesn't require any multiplications. I'll include it as an option in the next release.

To anyone reading - is there a preferred file format for DHGR images? I'm leaning towards a straight memory image, like HGR, but even then, should the file contain the aux memory image followed by main memory? The other way around? Interleaved in display order? If there's no "standard" then I'll probably go with the first of the options I just mentioned.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Toinet  
View profile  
 More options Jan 6 2011, 11:58 pm
Newsgroups: comp.sys.apple2
From: Toinet <antoine.vig...@laposte.net>
Date: Thu, 6 Jan 2011 20:58:50 -0800 (PST)
Local: Thurs, Jan 6 2011 11:58 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)
Hi,
The standards are binary files, with auxtype of either $4000 or $4001.
Data being compressed with PackBytes.

There's a standard for HGR, described in a file type note:
http://mirrors.apple2.org.za/ground.icaen.uiowa.edu/Mirrors/uni-kl/fi...

and one  for DHGR, described in a file type note:
http://mirrors.apple2.org.za/ground.icaen.uiowa.edu/Mirrors/uni-kl/fi...

For the DHGR format, the aux part always come first in a file.

antoine


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sicklittlemonkey  
View profile  
 More options Jan 7 2011, 12:16 am
Newsgroups: comp.sys.apple2
From: sicklittlemonkey <nick.westg...@gmail.com>
Date: Thu, 6 Jan 2011 21:16:32 -0800 (PST)
Local: Fri, Jan 7 2011 12:16 am
Subject: Re: Image Converter for HGR modes (with DHGR file question)
On Jan 7, 4:50 pm, Sheldon Simms <wsspa...@gmail.com> wrote:

> To anyone reading - is there a preferred file format for DHGR images? I'm leaning towards a straight memory image, like HGR, but even then, should the file contain the aux memory image followed by main memory? The other way around? Interleaved in display order? If there's no "standard" then I'll probably go with the first of the options I just mentioned.

I think of Dazzle Draw as the "standard", but might be wrong. IIRC
their format is [Aux][Main], whereas another app (Blazing Paddles?)
used [Main][Aux].

Cheers,
Nick.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wizard Of Oz  
View profile  
 More options Jan 7 2011, 7:26 am
Newsgroups: comp.sys.apple2
From: Wizard Of Oz <Wiz...@EmaraldCity.Gov>
Date: Fri, 07 Jan 2011 06:26:26 -0600
Local: Fri, Jan 7 2011 7:26 am
Subject: Re: Image Converter for HGR modes (with DHGR file question)
On 11-01-06 09:50 PM, Sheldon Simms wrote:

> Ok I took a look at the Atkinson dither. It is interesting that it does seem to get subjectively better results on some images because algorithmically, it looks like Atkinson's main concern was performance: his dither doesn't require any multiplications. I'll include it as an option in the next release.

> To anyone reading - is there a preferred file format for DHGR images? I'm leaning towards a straight memory image, like HGR, but even then, should the file contain the aux memory image followed by main memory? The other way around? Interleaved in display order? If there's no "standard" then I'll probably go with the first of the options I just mentioned.

        This probably won't be much of a help... I was working on a
utility/program subroutine which stored the data of a DHGR page as a
linear buffer of 4bit pixels and made the conversion to DHGR whenever
requested by the programmer. I got kind of busy when I was near the end
so I was only able to get it partly working. Maybe reversing the process
would let you perform different forms of compression on the data...

                                Later
                                Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ict@ccess  
View profile  
 More options Jan 7 2011, 1:55 pm
Newsgroups: comp.sys.apple2
From: "ict@ccess" <gids...@sasktel.net>
Date: Fri, 7 Jan 2011 10:55:27 -0800 (PST)
Local: Fri, Jan 7 2011 1:55 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)

> For the DHGR format, the aux part always come first in a file.
> antoine

That baffles me as it requires 2 moves.  From Main $2000 to Aux $2000
then Main $4000 to Main $2000, whereas the the other way is just one
move, Main $4000 to Aux $2000 as the first part is already in the
right place.  Can anyone see a good reason for this?

> To anyone reading - is there a preferred file format for DHGR images? I'm leaning towards a straight memory image, > like HGR, but even then, should the file contain the aux memory image followed by main memory? The other way
> around? Interleaved in display order? If there's no "standard" then I'll probably go with the first of the options I just
> mentioned.

Yes, it is preferred my way.  :)

You might want to check out my Dbl hi-res screen compressor.  It has
one of the highest compression algorythms as well as it can compress
any part of the screen.  This allows for compressed animation that can
be animated in one spot on the screen.   Loading a smaller file and
uncompressing the file is faster than loading the complete file
uncompressed plus it save a lot of disk space.

My compressor saves anywhere from 1 to 5 blocks over Beagles Double
Scrunch routine.

You are welcome to it here:  www.pv3.ca/Apple/MyDblCruncher.2mg.zip

I am slowing bringing my software to the light of day.  A couple of
more off the top of my head is: for users of the extended keyboard on
their IIGS, a way to turn the caps lock, scroll lock and num lock
lights on and off for Prodos 8 users. and short and simple font
routines for the Dbl Hires screen.

Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Toinet  
View profile  
 More options Jan 7 2011, 3:09 pm
Newsgroups: comp.sys.apple2
From: Toinet <antoine.vig...@laposte.net>
Date: Fri, 7 Jan 2011 12:09:11 -0800 (PST)
Local: Fri, Jan 7 2011 3:09 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)
On 7 jan, 19:55, "ict@ccess" <gids...@sasktel.net> wrote:

> > For the DHGR format, the aux part always come first in a file.
> > antoine

> That baffles me as it requires 2 moves.  From Main $2000 to Aux $2000
> then Main $4000 to Main $2000, whereas the the other way is just one
> move, Main $4000 to Aux $2000 as the first part is already in the
> right place.  Can anyone see a good reason for this?

Because Apple said it is the way it should be. If you want your images
to be loaded by existing software, it is the best solution to choose
(not the most efficient for sure) but I doubt somebody will write a
new/update an existing software to handle your format.

That is what was done on the IIgs with the Apple Preferred Format
(handles all kinds of image files) vs proprietary formats like the
Dreamgraphix one (better LZxx (c) (tm) compression), that one being
compatible with... Dreamgraphix only.

In French, we say "le mieux est l'ennemi du bien", is "let well alone"
correct?

antoine
antoine


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ict@ccess  
View profile  
 More options Jan 7 2011, 7:57 pm
Newsgroups: comp.sys.apple2
From: "ict@ccess" <gids...@sasktel.net>
Date: Fri, 7 Jan 2011 16:57:23 -0800 (PST)
Local: Fri, Jan 7 2011 7:57 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)

> In French, we say "le mieux est l'ennemi du bien", is "let well alone"
> correct?

> antoine

we English have many sayings too,  "Let by-gones be by-gones"
but I am the type of guy that looks under every cloud for a silver
lining
and sometimes even killing 2 birds with one stone comes in handy.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sheldon Simms  
View profile  
 More options Jan 7 2011, 8:08 pm
Newsgroups: comp.sys.apple2
From: Sheldon Simms <wsspa...@gmail.com>
Date: Fri, 7 Jan 2011 17:08:41 -0800 (PST)
Local: Fri, Jan 7 2011 8:08 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)
Good info. Thanks. I'm not so sure about those crazy packbytes image formats, but the algorithm seems to be really simple, so I'll go ahead and include it as an option.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sheldon Simms  
View profile  
 More options Jan 7 2011, 8:15 pm
Newsgroups: comp.sys.apple2
From: Sheldon Simms <wsspa...@gmail.com>
Date: Fri, 7 Jan 2011 17:15:10 -0800 (PST)
Local: Fri, Jan 7 2011 8:15 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)
Probably just because the aux memory byte leads every scan line.
It seems like it would be possible to load the image directly into auxiliary memory at $2000
and then copy the second half to main.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerry  
View profile  
 More options Jan 7 2011, 11:22 pm
Newsgroups: comp.sys.apple2
From: Jerry <awande...@yahoo.ca>
Date: Fri, 07 Jan 2011 21:22:48 -0700
Local: Fri, Jan 7 2011 11:22 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)

Sheldon Simms <wsspa...@gmail.com> writes:
> Probably just because the aux memory byte leads every scan line.  It
> seems like it would be possible to load the image directly into
> auxiliary memory at $2000 and then copy the second half to main.

Even from BASIC and ProDOS it's not so bad:

load the aux half:
     BLOAD DHR.PIC,A8192,L8192,B0

move it to aux with the $C311 routine (using a short asm routine to set
up $3C-3F,$42-43)

     BLOAD DHR.PIC,A8192,B8192

In assembly it would be even simpler since you don't have to open the
file twice.

   OPEN
   READ 8192 bytes => $2000
   ...
   jsr AuxMove
   READ 8192 bytes => $2000
   set DHGR display mode

--
Jerry    awanderin at yahoo dot ca


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Ghetto Image Converter for HGR modes" by Sheldon Simms
Sheldon Simms  
View profile  
 More options Jan 8 2011, 4:40 am
Newsgroups: comp.sys.apple2
From: Sheldon Simms <wsspa...@gmail.com>
Date: Sat, 8 Jan 2011 01:40:48 -0800 (PST)
Local: Sat, Jan 8 2011 4:40 am
Subject: Re: Ghetto Image Converter for HGR modes

I have completed the double hires output option so there is a newer version of 'tohgr'
for anyone who is interested. If anyone has actually downloaded the program, you will
want to get this update because I fixed a bug in the scaling algorithm that negatively
impacted image quality.

I'm actually pretty impressed at some of the double hires images produced. The extra
colors available really improve the results considerably.

http://wsxyz.net/tohgr.html

I also added Atkinson dithering as an option in this release. It works best on greyscale
images. I prefer Floyd-Steinberg for most color pictures.

The next thing I will probably do is add the option to produce the crazy packbits-enabled
HGR and DHGR image formats. After that I'll probably work on IIgs graphics modes.
After that I'll see about some other input options (better than XPM).


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Image Converter for HGR modes (with DHGR file question)" by Bill Buckels
Bill Buckels  
View profile  
 More options Jan 9 2011, 5:18 pm
Newsgroups: comp.sys.apple2
From: "Bill Buckels" <bbuck...@mts.net>
Date: Sun, 9 Jan 2011 16:18:24 -0600
Local: Sun, Jan 9 2011 5:18 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)

"Sheldon Simms" <wsspa...@gmail.com> wrote:
>To anyone reading - is there a preferred file format for DHGR images?

Here's what I do...

http://www.appleoldies.ca/azgraphics33/bmpa2fc.htm

This utility will allow you to convert to  Apple II Double Hi-Res 140 x 192
x 16 color images from IBM-PC graphics files in the following formats:

CGA 320 x 200 x 4 color BASIC BSAVED IMAGE (.BAS) Files
CGA 320 x 200 x 4 color ZSOFT .PCX Files
EGA 320 x 200 x 16 color Windows .BMP Files

Double Hi-Res Graphics

The double high-resolution display mode that is available for the Apple IIe
displays 140 columns of color, for which all 16 of the low-resolution colors
are available. Because the double high-resolution graphics mode provides
twice the horizontal dot density as standard hi-res graphics does, double
hi-res requires twice as much memory as does standard hi-res.

The double hi-res display interleaves bytes from the two different memory
pages (auxiliary and motherboard). Seven bits from a byte in the auxiliary
memory bank are displayed first, followed by seven bits from the
corresponding byte on the motherboard. The bits are shifted out the same way
as in standard hi-res (least-significant bit first).

http://www.appleoldies.ca/azgraphics33/index.htm#doublehi

You might also want to check-out some of my other utilities including
Clipshop...

http://www.clipshop.ca/

Cheers,

Bill


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sheldon Simms  
View profile  
 More options Jan 9 2011, 7:32 pm
Newsgroups: comp.sys.apple2
From: Sheldon Simms <wsspa...@gmail.com>
Date: Sun, 9 Jan 2011 16:32:08 -0800 (PST)
Local: Sun, Jan 9 2011 7:32 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)

On Sunday, January 9, 2011 5:18:24 PM UTC-5, Bill Buckels wrote:

> Here's what I do...

> http://www.appleoldies.ca/azgraphics33/bmpa2fc.htm

> This utility will allow you to convert to  Apple II Double Hi-Res 140 x 192
> x 16 color images from IBM-PC graphics files in the following formats:

Thanks Bill. Source code like that is why I can't release my source code yet. I've been
shamed!

Your program and my program have a similar purpose, but mine takes XPM files as
input.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ict@ccess  
View profile  
 More options Jan 9 2011, 10:21 pm
Newsgroups: comp.sys.apple2
From: "ict@ccess" <gids...@sasktel.net>
Date: Sun, 9 Jan 2011 19:21:14 -0800 (PST)
Local: Sun, Jan 9 2011 10:21 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)
On Jan 7, 10:22 pm, Jerry <awande...@yahoo.ca> wrote:

You can also use this pure applesoft routine to load dbl res without
having to use ML move routine.

10 D$=CHR$(4): ? D$ "PR#3": ?
20 F$="DBL.RES.PIC,A$2000,L$2000"
30 HGR : POKE 49246,0
40 POKE 49237,0: ?D$"BLOAD" F$
50 POKE 49236,0: ?D$"BLOAD "F$",B$2000"
60 POKE 49234,0


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerry  
View profile  
 More options Jan 10 2011, 12:06 am
Newsgroups: comp.sys.apple2
From: Jerry <awande...@yahoo.ca>
Date: Sun, 09 Jan 2011 22:06:03 -0700
Local: Mon, Jan 10 2011 12:06 am
Subject: Re: Image Converter for HGR modes (with DHGR file question)

Hey, that's cool.  I assumed ProDOS would diddle with the $C054/5
switches, but apparently not!  Good stuff!

--
Jerry    awanderin at yahoo dot ca


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Buckels  
View profile  
 More options Jan 10 2011, 6:45 am
Newsgroups: comp.sys.apple2
From: "Bill Buckels" <bbuck...@mts.net>
Date: Mon, 10 Jan 2011 05:45:45 -0600
Local: Mon, Jan 10 2011 6:45 am
Subject: Re: Image Converter for HGR modes (with DHGR file question)

"Sheldon Simms" <wsspa...@gmail.com> wrote:
>Source code like that is why I can't release my source code yet. I've been
>shamed!

Don't worry about stuff like that...

Release early and release often... There aren't that many people left in the
world interested in Apple II's so play with them while you have the chance:)

And if people can easily convert from a common image format to an apple II
graphic they won't worry about your source code.

Cheers,

Bill


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Buckels  
View profile  
 More options Jan 10 2011, 6:53 am
Newsgroups: comp.sys.apple2
From: "Bill Buckels" <bbuck...@mts.net>
Date: Mon, 10 Jan 2011 05:53:29 -0600
Local: Mon, Jan 10 2011 6:53 am
Subject: Re: Image Converter for HGR modes (with DHGR file question)

"Sheldon Simms" <wsspa...@gmail.com> wrote:
>It seems like it would be possible to load the image directly into
>auxiliary memory at $2000 and then copy the second half to main.

Here's what I do...

/* dlode.c by bill buckels 2009  */
/* a picture viewer for the apple II */
/* written in Manx Aztec C65 Version 3.2b */
/* runs under DOS 3.3 */
/* displays BSaved double hi-res Images */

http://www.appleoldies.ca/azgraphics33/dlode.htm


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John B. Matthews  
View profile  
 More options Jan 10 2011, 12:03 pm
Newsgroups: comp.sys.apple2
From: "John B. Matthews" <nos...@nospam.invalid>
Date: Mon, 10 Jan 2011 12:03:47 -0500
Local: Mon, Jan 10 2011 12:03 pm
Subject: Re: Image Converter for HGR modes (with DHGR file question)
In article <igerh7$5o...@speranza.aioe.org>,
 "Bill Buckels" <bbuck...@mts.net> wrote:

> "Sheldon Simms" <wsspa...@gmail.com> wrote:
> >Source code like that is why I can't release my source code yet.
> >I've been shamed!

> Don't worry about stuff like that...

> Release early and release often... There aren't that many people left
> in the world interested in Apple II's so play with them while you
> have the chance:)

Bill's points are well taken; and, like so many others here, his code is
exemplary, as well as instructive. One of my favorite examples of
constructive analysis is Neil Parker's examination of this old demo:

<http://www.llx.com/~nparker/a2/kal2.html>
<http://home.roadrunner.com/~jbmatthews/apple2.html#rp2>

I just can't resist learning new ways to bum the code:

<http://www.iwar.org.uk/hackers/resources/faq/jargon.htm#bum>

> And if people can easily convert from a common image format to an apple II
> graphic they won't worry about your source code.

Agreed!

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Buckels  
View profile  
 More options Jan 11 2011, 6:55 am
Newsgroups: comp.sys.apple2
From: "Bill Buckels" <bbuck...@mts.net>
Date: Tue, 11 Jan 2011 05:55:18 -0600
Local: Tues, Jan 11 2011 6:55 am
Subject: Re: Image Converter for HGR modes (with DHGR file question)

"Bill Buckels" <bbuck...@mts.net> wrote:
>Here's what I do...

Loader Code only with comments...

http://www.appleoldies.ca/azgraphics33/drlode.c.txt

Program Main:

http://www.appleoldies.ca/azgraphics33/dlode.htm


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "New release: "tohgr" image converter" by Sheldon Simms
Sheldon Simms  
View profile  
 More options Jan 25 2011, 2:19 pm
Newsgroups: comp.sys.apple2
From: Sheldon Simms <wsspa...@gmail.com>
Date: Tue, 25 Jan 2011 14:19:46 -0500
Local: Tues, Jan 25 2011 2:19 pm
Subject: New release: "tohgr" image converter

I've just uploaded a new version of my little command line image
converter 'tohgr' (new name suggestions are welcome...)

http://wsxyz.net/tohgr.html

The new features are conversion to 3200 color super hires "Apple
Preferred" images and the ability to select packed output (filetypes
$08/$4000 & $08/$4001) for hires and double hires images.

This is a feature-incomplete release, but it's been a while and I
wanted to get something out there.
The Mac (Snow Leopard) executable is up and I'll get a Mac PPC
executable and a Windows EXE up sometime later today. I've also put up
a disk image of 3200 color pictures.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »