TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: BLuRry
date: 2009-01-14 21:03:02
subject: Re: Revenge of `Apple Crunch`

On Jan 14, 9:04=A0pm, lyricalnanoha
 wrote:
> I'm gonna do a rerelease of Apple Crunch. =A0I've recompressed a bunch of
> the games, recracked a couple, reripped a few more.
>
> Though, I really don't like the menus I'm capable of doing in the current
> system. :( =A0And since I keep the files as BASIC-type (it makes them eas=
ier
> to handle), I can't use Beautiful Boot without hacking them.
>
> Here's my questions:
>
> 1. Does anyone know how I might go about doing something like Beautiful
> Boot - a menu with a fastloader that runs in HGR mode - but with the
> ability to run BASIC programs as well as binary? =A0My current approach i=
s
> to use RDOS 3.3.

Executing a basic program as a binary is pretty easy... (once you know
about the onerr flag anyway)
; Clear onErr flag
LDA #$00
STA $d8
; Store start of basic program (e.g. $801)
LDA #$01
STA $67
LDA #$08
STA $68
; Store end of basic program (start + filesize -- e.g. $6000)
LDA #$00
STA $AF
LDA #$60
STA $B0
;Set LOMEM (optional?)
LDA #$00
STA $69
LDA #$80
STA $69
;Set HIMEM (optional?)
LDA #$ff
STA $69
LDA #$af
STA $69
;Start the basic program
JMP $d566

So you could shove this loader somewhere low in memory like $300 or
you could pre-pend it to the beginning of the basic file.  This is
exactly what I use for AGS to execute basic programs and it seems to
work pretty well.  I set LOMEM to START+SIZE+1 and HIMEM to DOS -1
(and if you don't care about DOS, then just DFFF).   I have a feeling
that what you're doing probably doesn't matter too much if LOMEM or
HIMEM are set -- but I could be mistaken.

> 2. Recommendations - if anyone's seen the Crunch disks, are there any goo=
d
> single-load games I lack? =A0(And where might they be found on Asimov?)

Holy cow, goodness no.  There's over 256 of those things, and many
gems among them.  I'd be hard-pressed to complain without feeling like
a total jerk for doing so.  ;-)

> I am using the same compressor I used originally (Exomizer 2.0), but with
> a series of new conversion tools that makes the process mostly automated
> and painless. =A0The main program is one I wrote,
"bincvtii", and is capa=
ble
> of converting between a few binary formats I use internally, plus the
> Commodore binary format (these are all a matter of headers), and patching
> a Commodore BASIC stub (changing its SYS token to fpbasic's CALL token).
> I did a lot of this by hand for the original Apple Crunch volumes. =A0I n=
ow
> just run a Korn shell script on the source file, and get a .txt file read=
y
> to load into ApplePC (which automagically saves the file too). =A0I can
> prolly put this stuff up if needed.

Any chance you're willing to share that?  ;-)  I could use something
like that to speed up the AGS menu...

By the way, thank you! :-D

-B
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 128/2 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.