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


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

Anyone have a double high-res routine?

Started byMark Lemmert <mark.lemmert@gmail.com>
First post2017-02-02 14:37 -0800
Last post2017-02-06 10:36 -0800
Articles 9 — 6 participants

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


Contents

  Anyone have a double high-res routine? Mark Lemmert <mark.lemmert@gmail.com> - 2017-02-02 14:37 -0800
    Re: Anyone have a double high-res routine? gids.rs@sasktel.net - 2017-02-03 09:11 -0800
      Re: Anyone have a double high-res routine? Steve Nickolas <usotsuki@buric.co> - 2017-02-03 13:34 -0500
        Re: Anyone have a double high-res routine? Mark Lemmert <mark.lemmert@gmail.com> - 2017-02-03 13:29 -0800
          Re: Anyone have a double high-res routine? Michael J. Mahon <mjmahon@aol.com> - 2017-02-03 17:03 -0600
            Re: Anyone have a double high-res routine? denisbytezone@gmail.com - 2017-02-03 16:39 -0800
              Re: Anyone have a double high-res routine? "Bill Buckels" <bbuckels@mts.net> - 2017-02-05 13:56 -0600
    Re: Anyone have a double high-res routine? "Bill Buckels" <bbuckels@mts.net> - 2017-02-05 12:22 -0600
      Re: Anyone have a double high-res routine? Mark Lemmert <mark.lemmert@gmail.com> - 2017-02-06 10:36 -0800

#3238 — Anyone have a double high-res routine?

FromMark Lemmert <mark.lemmert@gmail.com>
Date2017-02-02 14:37 -0800
SubjectAnyone have a double high-res routine?
Message-ID<9e611e4b-1ed4-42c2-a3fd-5417d03462e7@googlegroups.com>
I recently downloaded the Buckshot conversion tool and it seems to work really well for converting images to hi-res and double high-res.

I only have experience with single high-res in 6502, and rather than possibly reinvent the wheel going through the learning curve of writing a double-hi res routine that can render a full screen image from hex sequenced in raster order*, I am wondering if anybody has the code for one that they would be willing to share the code for use in Nox Archaist user a GPL license? If so, I really appreciate it!

I’d enjoy writing it myself but the game will get done sooner if there is an existing routine available to use :-)

Mark


*I’m not 100% sure raster order is the correct term, so to confirm, what I am seeing in the buckshot single hi-res hex is that the first !40 hex codes in the output file represents the first line on the video display. The next !40 hex codes in the output file represent the second line on the video display. I suspect the double hi-res hex codes are format in a similar way, where the sequence relates to what is seen on the screen visually rather than in the sequence of the memory addresses the hex codes get written to. 

[toc] | [next] | [standalone]


#3242

Fromgids.rs@sasktel.net
Date2017-02-03 09:11 -0800
Message-ID<9b13357c-ffc2-420b-95a2-799c39547a31@googlegroups.com>
In reply to#3238
On Thursday, February 2, 2017 at 4:37:04 PM UTC-6, Mark Lemmert wrote:
> I recently downloaded the Buckshot conversion tool and it seems to work really well for converting images to hi-res and double high-res.
> 
> I only have experience with single high-res in 6502, and rather than possibly reinvent the wheel going through the learning curve of writing a double-hi res routine that can render a full screen image from hex sequenced in raster order*, I am wondering if anybody has the code for one that they would be willing to share the code for use in Nox Archaist user a GPL license? If so, I really appreciate it!
> 
> I’d enjoy writing it myself but the game will get done sooner if there is an existing routine available to use :-)
> 
> Mark
> 
> 
> *I’m not 100% sure raster order is the correct term, so to confirm, what I am seeing in the buckshot single hi-res hex is that the first !40 hex codes in the output file represents the first line on the video display. The next !40 hex codes in the output file represent the second line on the video display. I suspect the double hi-res hex codes are format in a similar way, where the sequence relates to what is seen on the screen visually rather than in the sequence of the memory addresses the hex codes get written to.



Use Beagle Bros Dbl Plot disk that has most everything you will need for dbl-hi-res.
it has a convert single hi-res screens to dbl-hi-res screen program.
and a dbl-hi-res plotting program.

If you can locate Nibbles Dbl Stuff program, it has a shape drawing routine that allows you to draw shapes created for single hi-res on the dbl-hi-res screen.

Also check into Graphics Magician disks for drawing on the dbl-hi-res screen and creating animations.  You will need to read the manual to be able to use the animation routines though.  Animations require 7 or 8 pre-shifted shapes for smooth animation.

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


#3245

FromSteve Nickolas <usotsuki@buric.co>
Date2017-02-03 13:34 -0500
Message-ID<alpine.BSF.2.02.1702031333380.67942@frieza.hoshinet.org>
In reply to#3242
On Fri, 3 Feb 2017, gids.rs@sasktel.net wrote:

> Use Beagle Bros Dbl Plot disk that has most everything you will need for 
> dbl-hi-res.
> it has a convert single hi-res screens to dbl-hi-res screen program.
> and a dbl-hi-res plotting program.

It's called "Beagle Graphics".  I think it would only be useful if he's 
coding in BASIC.

-uso.

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


#3248

FromMark Lemmert <mark.lemmert@gmail.com>
Date2017-02-03 13:29 -0800
Message-ID<e06d6f1e-6446-43f7-bf41-5a33d199bdf8@googlegroups.com>
In reply to#3245
On Friday, February 3, 2017 at 12:34:27 PM UTC-6, Steve Nickolas wrote:
> On Fri, 3 Feb 2017, gids...@sasktel.net wrote:
> 
> > Use Beagle Bros Dbl Plot disk that has most everything you will need for 
> > dbl-hi-res.
> > it has a convert single hi-res screens to dbl-hi-res screen program.
> > and a dbl-hi-res plotting program.
> 
> It's called "Beagle Graphics".  I think it would only be useful if he's 
> coding in BASIC.
> 
> -uso.

Thanks. To clarify I'm looking for am assembly language routine. 

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


#3249

FromMichael J. Mahon <mjmahon@aol.com>
Date2017-02-03 17:03 -0600
Message-ID<OfidnWiX2pLDkQjFnZ2dnUU7-L3NnZ2d@giganews.com>
In reply to#3248
Mark Lemmert <mark.lemmert@gmail.com> wrote:
> On Friday, February 3, 2017 at 12:34:27 PM UTC-6, Steve Nickolas wrote:
>> On Fri, 3 Feb 2017, gids...@sasktel.net wrote:
>> 
>>> Use Beagle Bros Dbl Plot disk that has most everything you will need for 
>>> dbl-hi-res.
>>> it has a convert single hi-res screens to dbl-hi-res screen program.
>>> and a dbl-hi-res plotting program.
>> 
>> It's called "Beagle Graphics".  I think it would only be useful if he's 
>> coding in BASIC.
>> 
>> -uso.
> 
> Thanks. To clarify I'm looking for am assembly language routine. 
> 

I would expect that Beagle Graphics is an ampersand extension programmed in
assembly language. 

If it were disassembled, the ampersand front end could be easily removed,
and would serve as a "directory" for the DHR routines. 

-- 
-michael - NadaNet 3.1 and AppleCrate II:  http://michaeljmahon.com

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


#3250

Fromdenisbytezone@gmail.com
Date2017-02-03 16:39 -0800
Message-ID<66edbd9b-e96f-4d7c-9d27-6556d342c8fd@googlegroups.com>
In reply to#3249
On Saturday, 4 February 2017 10:04:04 UTC+11, mjm...@aol.com  wrote:
> Mark Lemmert <mark.lemmert@gmail.com> wrote:
> > On Friday, February 3, 2017 at 12:34:27 PM UTC-6, Steve Nickolas wrote:
> >> On Fri, 3 Feb 2017, gids...@sasktel.net wrote:
> >> 
> >>> Use Beagle Bros Dbl Plot disk that has most everything you will need for 
> >>> dbl-hi-res.
> >>> it has a convert single hi-res screens to dbl-hi-res screen program.
> >>> and a dbl-hi-res plotting program.
> >> 
> >> It's called "Beagle Graphics".  I think it would only be useful if he's 
> >> coding in BASIC.
> >> 
> >> -uso.
> > 
> > Thanks. To clarify I'm looking for am assembly language routine. 
> > 
> 
> I would expect that Beagle Graphics is an ampersand extension programmed in
> assembly language. 
> 
> If it were disassembled, the ampersand front end could be easily removed,
> and would serve as a "directory" for the DHR routines. 
> 
> -- 
> -michael - NadaNet 3.1 and AppleCrate II:  http://michaeljmahon.com

I recently rewrote the double unscrunch routine in java if that's any help. The code is on github.

https://github.com/dmolony/DiskBrowser

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


#3252

From"Bill Buckels" <bbuckels@mts.net>
Date2017-02-05 13:56 -0600
Message-ID<o7802b$11b3$1@gioia.aioe.org>
In reply to#3250
<denisbytezone@gmail.com> wrote:
> I recently rewrote the double unscrunch routine in java if that's any 
> help. The code is on github.
> https://github.com/dmolony/DiskBrowser

This is a big help. Now... how about wrting a double crunch for us in Java 
too :) (ducks)

Bill 

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


#3251

From"Bill Buckels" <bbuckels@mts.net>
Date2017-02-05 12:22 -0600
Message-ID<o77qi8$ns6$1@gioia.aioe.org>
In reply to#3238
"Mark Lemmert" <mark.lemmert@gmail.com> wrote:

> I recently downloaded the Buckshot conversion tool and it seems to work 
> really well for converting images to hi-res and double high-res.

If you take a closer look you will see that Buckshot uses my conversion 
tool, Bmp2DHR (does the actual conversion).

You're welcome.

> rather than possibly reinvent the wheel going through the learning curve 
> of writing a double-hi res routine

Read this document... there are some links that will help you to not attempt 
to reinvent stone wheels that been improved upon:

Some Considerations for Display and Conversion of Apple II Double Hi-Res 
Graphics

http://www.appleoldies.ca/a2b/DHGRColors2017.htm

Perhaps you need to learn to write in a more modern language than 
unstructured BASIC or machine code... try these links..

http://www.appleoldies.ca/a2b/DHGRColors2017.htm#_Toc471812435

In particular...

http://www.appleoldies.ca/bmp2dhr/silly/

http://www.appleoldies.ca/bmp2dhr/sprites/

http://www.appleoldies.ca/cc65/docs/dhgr/dhishow.pdf

http://www.appleoldies.ca/cc65/docs/dhgr/dhiworld.pdf

You are pretty safe to ignore everything else unless you want to fall down a 
rabbit hole and be crushed by old stone wheels.

Bill 

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


#3259

FromMark Lemmert <mark.lemmert@gmail.com>
Date2017-02-06 10:36 -0800
Message-ID<264e32d5-952f-4259-9695-e52993cfdd32@googlegroups.com>
In reply to#3251
On Sunday, February 5, 2017 at 12:23:08 PM UTC-6, Bill Buckels wrote:
> "Mark Lemmert" <mark.lemmert@gmail.com> wrote:
> 
> > I recently downloaded the Buckshot conversion tool and it seems to work 
> > really well for converting images to hi-res and double high-res.
> 
> If you take a closer look you will see that Buckshot uses my conversion 
> tool, Bmp2DHR (does the actual conversion).
> 
> You're welcome.

Bill, thanks for the reply and thanks so much for writing bmp2DHR! The conversion quality really is amazing. 

The output format is great too. To display the image as converted, it looks like the hex output can just be slotted into the correct video memory addresses.

Mark

[toc] | [prev] | [standalone]


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


csiph-web