[comp.sys.apple2] Integer Basic program

tim.c@pro-freedom.cts.com (Tim Craven) (11/26/90)

I have a question about running an Integer basic program off a hard drive.  I
have a IIgs with a 20 meg Sider.  I want to run an old program called "Mr
Calendar" that runs in Integer basic.  I put it in subdirectory with basic
system and Int.Basic file in the same subdirectory as the basic program. It
won't run off the hard drive.  I get the message

Loading Integer into Language Card
No buffer available
Break in 210

Does any one know of a way to get this program to run.  I have no problem with
the program off a floppy disk in DOS 3.3.

Thanks in advance,
Tim

lee@chsun1.uchicago.edu (Dwight A Lee) (11/27/90)

tim.c@pro-freedom.cts.com (Tim Craven) writes:

[can't run Integer BASIC program from ProDOS subdirectory even thought
 INTBASIC is there too]

Unless something strange has happened that I don't know about, Integer
BASIC is not supported under ProDOS.  See, that INTBASIC file that
works under DOS 3.3 goes into the memory whose address space is shared
by Applesoft, and DOS 3.3 switches between the two with FP and INT.
Since ProDOS already uses that memory, attempts to overwrite it will
probably result in a crash, or a memory protection error if those
sections of memory are included in the system global page memory map
(I don't remember these things too well in my old age).

Anotherwards, it can't be done easily.

Your best bet is to convert that Integer BASIC program into Applesoft
and go from there.  Unless the program uses hires graphics or imbeds
raw code in the program load, it shoudn't be much of a problem.  On
the other hand, if the program is the size of Apple-Trek, it might be
rather time-consuming.

Another interesting avenue might be to conjure up one of those Integer
BASIC compilers (wasn't there one called FLASH?) and use the
executable under ProDOS.

Wondering what happens when the level gets to zero in Ceiling Zero,

Dwight A Lee
-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Dwight A Lee / lee@chsun1.uchicago.edu / T902038@NIUCS.BITNET / tCS/BB / Font
I speak only for myself.  /  "I am not the only dust my mother raised" - TMBG
Twilight, skylight, chair and hues,  /  Can words describe what dream imbues?

msuacm@plains.NoDak.edu (MSU ACM Student Chapter) (11/27/90)

I suspect that the reason this doesn't work is because you MIGHT be using
ProDOS to load the file into memory.  There are too many differences between
ProDOS and DOS 3.3.  To use the integer basic loader file, you need to either
have a dos 3.3 partition (don't know if it's possible on a sider) or you
must stick with floppies to use your calendar program.  I'm not aware of
an Integer.Basic file usable under ProDOS.  Integer BASIC has sort of went
the way of DOS 3.2 (remember that) and the PC (ahem) Jr.  I know a while
back in A2-Central there was talk of (maybe) someone writing an integer
basic system for ProDOS but I never heard any more about it.  ProDOS uses
the extra 16K for it's own ends and that's where Integer BASIC usually
resides.

If anyone knows about an Integer Basic usable under ProDOS I'd be interested
in hearing about it.

Eric Ondler
<msuacm@plains.nodak.edu>

...All The Way With "Bob"...

alfter@uns-helios.nevada.edu (SCOTT ALFTER) (11/29/90)

Integer BASIC is unavailable under ProDOS since they both use the same
part of memory--the main bank-switched memory.

-----------------------------------------------------------------------------
Scott Alfter                             _/_
                                        / v \ Apple II:
Internet: alfter@uns-helios.nevada.edu (    ( the power to be your best!
   GEnie: S.ALFTER                      \_^_/

greg@hoss.unl.edu (Hammer T. H.) (12/08/90)

In <2383@unsvax.NEVADA.EDU> alfter@uns-helios.nevada.edu (SCOTT ALFTER) writes:

>Integer BASIC is unavailable under ProDOS since they both use the same
>part of memory--the main bank-switched memory.

So why not store INTBASIC in an aux. bank of memory that ProDOS doesn't
use, and conjure up some new code to handle the routing of files between
INTBASIC and ProDOS, and possibly adding some phony DOS 3.3 routines to
pass it through ProDOS.  It would be simpler on a IIgs, but not
impossible.

I remember wishing it was possible to run INT ProDOS type files in ProDOS.
Why have a filetype if you can't run the damn thing!  This came about when
I wanted to move all my games from multiple DOS 3.3 disks to a couple
ProDOS 800K disks.  Got to really hate people who would have their
programs start at $07FD just so they could store a JMP there.  A little
special relocation code took care of that, although sometimes clobbering
ProDOS, who cares.  Once a game is loaded, going back to DOS isn't a
normal thing that people would do.

>-----------------------------------------------------------------------------
>Scott Alfter                             _/_
>                                        / v \ Apple II:
>Internet: alfter@uns-helios.nevada.edu (    ( the power to be your best!
>   GEnie: S.ALFTER                      \_^_/

--
     __  _____________  __
     \ \_\ \__   __/ /_/ /    The trigger has been pulled.  We've got to get
      \greg@hoss.unl.edu/       there before the hammer falls.
       \_\ \_\|_|/_/ /_/          --Kirk, "Errand of Mercy," stardate 3372.7