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


Groups > comp.sys.apple2 > #19944

Re: Double Hi-Res Demo in cc65 available for Download

From "Bill Buckels" <bbuckels@mts.net>
Newsgroups comp.sys.apple2
Subject Re: Double Hi-Res Demo in cc65 available for Download
Date 2014-05-25 17:06 -0500
Organization Aioe.org NNTP Server
Message-ID <lltph7$nl2$1@speranza.aioe.org> (permalink)
References <llmfkk$mpi$1@speranza.aioe.org>

Show all headers | View raw


>"Bill Buckels" <bbuckels@mts.net> wrote:
>http://www.appleoldies.ca/cc65/programs/dhgr/dhishow.zip
>Includes working disk images and source code.
>Documentation and more to follow.

After talking with the guys, I decided to use page 1 of DHGR instead of page 
2 of DHGR.

Going to page 1 with a cc65 program start address at 0x4000 provides a 
considerable amount of more RAM than trying to squeek a program under page 
2. Oliver's loader.system has no problem loading a cc65 DHGR program using 
either page 1 or page 2 DHGR.

I am in the process of porting line drawing routines, and font routines, 
etc. for DHGR page 1 so I can see for sure that this is going to work in all 
cases, but this changes some things that in the final analysis probably 
provide pretty much the same amount of memory to a DHGR BIN program in cc65 
as in an Aztec C65 SYS program.

It also potentially provides the same free space under the program for 
useful buffers.

The best part is that only 1 address setting in the config file needs to 
change.

I have alot of code to move from Aztec C to make this all work. I am 
anticipating smaller fastert code in cc65, so I think the end result will be 
much better, and in most cases as efficient as pure 6502 machine code.

At this point I have 2 DHGR slideshows working, one with each configuration.

What I need is a complete graphics library.

Anyone who is interested can send me private mail until I am ready to 
publish this.

I do need to point out that a BIN program in Aztec C65 has more available 
memory, so the DOS 3.3 DHGR examples in Aztec C65 are especially efficient 
memory7 wize, but this adavantage is totally chewed-up with Aztec C65's 
bloated code due to cc65's  much smaller footprint and better use of the 
stack.

In some previous posts I boldly stated that doing DHGR in cc65 was trivial. 
I think in all fairness I'd better say that this is a very subjective 
statement.

After I provide you with my libraries and examples that will follow, doing 
DHGR in cc65 will become trivial. It's only program code after all. Using 
the standard config files that Oliver and Uz provide with very minor 
modifications will support DHGR but this is a very complicated business 
unless you have these routines "nailed cold".

Someone who has already done DHGR may have some success at this point, but 
that would not be possible without extreme programming and a really 
hard-core effort. After I am finsihed this part of the port, I am committed 
to providing everyone with a relatively effortless set of routines that will 
make DHGR in cc65 trivial.

However, having said that, you need to understand that C programming was 
never really for BASIC programmers. If you are stuck in a BASIC programming 
mindset this is not for you.

The same holds true for someone who is an ML programmer. If you are 
convinced that ML is an end in itself, you will likely not enjoy this very 
much.

If however, you know both BASIC and ML and you want to bang-off some cc65 
DHGR C programs, this will be an incredible toy for you. Just give me some 
time to complete this and write it up.

Bill



Back to comp.sys.apple2 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Double Hi-Res Demo in cc65 available for Download "Bill Buckels" <bbuckels@mts.net> - 2014-05-22 22:34 -0500
  Re: Double Hi-Res Demo in cc65 available for Download "Bill Buckels" <bbuckels@mts.net> - 2014-05-22 23:03 -0500
    Linker Configs and Screen Holes (Was: Re: Double Hi-Res Demo in cc65 available for Download) David Schmidt <schmidtd@my-deja.com> - 2014-05-23 07:49 -0400
    Re: Double Hi-Res Demo in cc65 available for Download Antoine Vignau <antoine.vignau@laposte.net> - 2014-05-23 04:50 -0700
      Re: Double Hi-Res Demo in cc65 available for Download "Bill Buckels" <bbuckels@mts.net> - 2014-05-23 15:58 -0500
    Re: Double Hi-Res Demo in cc65 available for Download Payton Byrd <plbyrd@gmail.com> - 2014-05-23 06:42 -0700
      Re: Double Hi-Res Demo in cc65 available for Download "Bill Buckels" <bbuckels@mts.net> - 2014-05-23 16:22 -0500
  Re: Double Hi-Res Demo in cc65 available for Download "Bill Buckels" <bbuckels@mts.net> - 2014-05-25 17:06 -0500
  Re: Double Hi-Res Demo in cc65 available for Download - Doumentation, Demo, and Update "Bill Buckels" <bbuckels@mts.net> - 2014-06-01 20:44 -0500

csiph-web