Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #1239 > unrolled thread

SHR in cc65 - Super Hi-Res Image Loader - Proof of Concept Available for Download

Started by"Bill Buckels" <bbuckels@mts.net>
First post2014-07-12 20:52 -0500
Last post2014-07-13 20:08 +0000
Articles 4 — 2 participants

Back to article view | Back to comp.sys.apple2.programmer


Contents

  SHR in cc65 - Super Hi-Res Image Loader - Proof of Concept Available for Download "Bill Buckels" <bbuckels@mts.net> - 2014-07-12 20:52 -0500
    Re: SHR in cc65 - Super Hi-Res Image Loader - Proof of Concept Available for Download Bob Hilden <bobjetzet@sogetthis.com> - 2014-07-13 17:21 +0000
      Re: SHR in cc65 - Super Hi-Res Image Loader - Proof of Concept Available for Download "Bill Buckels" <bbuckels@mts.net> - 2014-07-13 12:54 -0500
        Re: SHR in cc65 - Super Hi-Res Image Loader - Proof of Concept Available for Download Bob Hilden <bobjetzet@sogetthis.com> - 2014-07-13 20:08 +0000

#1239 — SHR in cc65 - Super Hi-Res Image Loader - Proof of Concept Available for Download

From"Bill Buckels" <bbuckels@mts.net>
Date2014-07-12 20:52 -0500
SubjectSHR in cc65 - Super Hi-Res Image Loader - Proof of Concept Available for Download
Message-ID<lpsoog$4vv$1@speranza.aioe.org>
Download it here:

http://www.appleoldies.ca/cc65/programs/shr/piclode.zip

Complete with source code and disk image. You will need to run this on an 
Apple IIgs or on a VOC or on a CB with Charlie's SHR mods, or on a IIgs 
emulator. It works in kegs32.

This is a gutted proof of concept and is utterly featureless. It contains 
only the necessary code to load an SHR PIC file. It is also very easy to 
understand simply because it is so featureless.

I only meant to accomplish one thing with this loader and that was to make 
sure that I wouldn't have any issues working with cc65 in SHR mode.

As it turns out there are apparently no issues.

This should compile everywhere that cc65 runs. A MAKEFILE is included.

I must of course warn you all again that I am not attempting to optimize 
cc65 since apparently cc65 is working pretty optimally already.

This compiled to a mere 6642 bytes and seems to work quite quickly. The disk 
image contains 3 SHR PIC files so you can easily try it out for yourself.

I will need to leave cc65 optimizations to those who think they can do such 
things and instead concentrate on writing some stuff that's more fun for 
this compiler.

I'll get some routines together over the next few days to load PIC and PNT 
files, and do some documentation again (which takes forever of course).

I will also be interested to see if I can write a BROOKS loader in cc65. 
Aztec C65 wouldn't have been quick enough but I think cc65 is quick enough.

I rather think that a VOC loader for interlaced mode might be relatively 
straight-forward in cc65 as well. The fact that this code is 8 bit 6502 code 
means that it will run on an Apple IIe with a VOC.

Bill 

[toc] | [next] | [standalone]


#1240

FromBob Hilden <bobjetzet@sogetthis.com>
Date2014-07-13 17:21 +0000
Message-ID<jetzet-1405272089@macgui.com>
In reply to#1239
Bill Buckels wrote:
> Download it here:
> 
> http://www.appleoldies.ca/cc65/programs/shr/piclode.zip
> 
> Complete with source code and disk image. You will need to run this on an 
> Apple IIgs or on a VOC or on a CB with Charlie's SHR mods, or on a IIgs 
> emulator. It works in kegs32.
> 
> This is a gutted proof of concept and is utterly featureless. It contains 
> only the necessary code to load an SHR PIC file. It is also very easy to 
> understand simply because it is so featureless.
> 
> I only meant to accomplish one thing with this loader and that was to make
>
> sure that I wouldn't have any issues working with cc65 in SHR mode.
> 
> As it turns out there are apparently no issues.
> 
> This should compile everywhere that cc65 runs. A MAKEFILE is included.
> 
> I must of course warn you all again that I am not attempting to optimize 
> cc65 since apparently cc65 is working pretty optimally already.
> 
> This compiled to a mere 6642 bytes and seems to work quite quickly. The
> disk 
> image contains 3 SHR PIC files so you can easily try it out for yourself.
> 
> I will need to leave cc65 optimizations to those who think they can do
> such
> 
> things and instead concentrate on writing some stuff that's more fun for 
> this compiler.
> 
> I'll get some routines together over the next few days to load PIC and PNT
>
> files, and do some documentation again (which takes forever of course).
> 
> I will also be interested to see if I can write a BROOKS loader in cc65. 
> Aztec C65 wouldn't have been quick enough but I think cc65 is quick
> enough.
> 
> I rather think that a VOC loader for interlaced mode might be relatively 
> straight-forward in cc65 as well. The fact that this code is 8 bit 6502
> code 
> means that it will run on an Apple IIe with a VOC.
> 
> Bill
>

Nice work!

[toc] | [prev] | [next] | [standalone]


#1241

From"Bill Buckels" <bbuckels@mts.net>
Date2014-07-13 12:54 -0500
Message-ID<lpuh5k$2m8$1@speranza.aioe.org>
In reply to#1240
"Bob Hilden" <bobjetzet@sogetthis.com> wrote:
>Nice work!

Thanks Bob. Are you able to try this on IIgs to make sure it really does 
work:)  My IIgs is moth-balled at the moment...

This is faithfully ported from the Aztec C65 version but works differently 
on a VOC than the Aztec C65 version.

I updated this a little and it probably works a little quicker. If anyone's 
got a GS handy could you give it a try? It works fine in kegs32.

My update may also have solved the VOC problem. I suppose I'll know soon:)

Bill 

[toc] | [prev] | [next] | [standalone]


#1242

FromBob Hilden <bobjetzet@sogetthis.com>
Date2014-07-13 20:08 +0000
Message-ID<jetzet-1405282113@macgui.com>
In reply to#1241
Bill Buckels wrote:
> "Bob Hilden" <bobjetzet@sogetthis.com> wrote:
>>Nice work!
> 
> Thanks Bob. Are you able to try this on IIgs to make sure it really does 
> work:)  My IIgs is moth-balled at the moment...
> 
> This is faithfully ported from the Aztec C65 version but works differently
>
> on a VOC than the Aztec C65 version.
> 
> I updated this a little and it probably works a little quicker. If
> anyone's
> 
> got a GS handy could you give it a try? It works fine in kegs32.
> 
> My update may also have solved the VOC problem. I suppose I'll know soon:)
> 
> Bill
>

Sure thing! I'll get back to you when I can.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.apple2.programmer


csiph-web