=========================================================================
 
INFO-ATARI16 Digest         Mon,  5 Mar 90       Volume 90 : Issue  288
 
Today's Topics:
                           ATTN Mickey Boyd
                     GEM programming, STE memory
                      Mac Emulator, what to buy?
                       MIDI Data files (2 msgs)
                    MIDI Sequence Standard (Query)
                     Need help with Kermit/Xmodem
                       PD Font Editor & Loader
                            Phantom Typist
                        stmain.c  RE: C Source
----------------------------------------------------------------------
 
Date: Mon, 5 Mar 90  20:42 GMT
From: Vision Newspapers <SOCS18%vaxb.york.ac.uk@NSFnet-Relay.AC.UK>
Subject: ATTN Mickey Boyd
 
ATTN Mickey Boyd (boyd@fsucs.cs.fsu.edu)
 
I tried to mail you a copy of ST Blank as requested, but the the EARN gateway
has given up after failing to deliver the message (it's been trying for
eight days).
 
How can I contact you?
 
Apologies for using net bandwidth in this way, but I can't see another method.
 
Mathew Lodge (JANET : SOCS18@uk.ac.york.vaxa)
 
------------------------------
 
Date: Mon, 5 Mar 90  20:37 GMT
From: Vision Newspapers <SOCS18%vaxb.york.ac.uk@NSFnet-Relay.AC.UK>
Subject: GEM programming, STE memory
 
Re : Preventing "Data is damages in drive..." dialogue.
 
I believe that you have to nobble the critical error handler vector
(evt_critic, I think) which is in the $4xx region, and documented in the
Abacus book. I haven't tried this, but I think that if you make it point
to an RTS you won't get the dialogue. Sorry this is so vague, but I'm quoting
from memory here.
 
 
Re : Mixing 256 and 1M SIMMs in the STE
 
In the lastest edition of ST World (English version) there is an ad. from a
company offering cheap SIMM upgrades for STE owners. The mention that the
520 STE has two 256K SIMMs fitted, while the 1040 STE has one 1M SIMM, and
that you can't mix the two. They offer to "upgrade" your 520 STE to 1Mb by
selling you a 1Mb SIMM, and buying back your 256K SIMMs for (wait for it) 10
pounds each!
 
They also offer 520 STEs upgraded to 1Mb for less than the price of a 1040 STE!
 
 
Re : Bitblt failure with GDOS
 
What device handle are you using when you do your v_opnvwk call? You must use
the one returned by graf_handle if you're opening a screen workstation, or
you'll get no end of GDOS problems.
 
 
Re : AC_CLOSE messages
 
GEM sends all accessories AC_CLOSE messages when an application ends. This means
you get one when a program is launched from the Desktop (because the Desktop
program has now finished), or when you quit any other program. By writing a
little program that popped up an alert when it received AC_CLOSE, I found
that the AC_CLOSE message usually gets sent well after the program has actually
finished. For example, after quitting any program and returning to the Desktop
the "AC_CLOSE received" alert didn't appear until just before the Desktop
opened its first window.
 
This effect could be due to the fact that GEM won't let the accessory display
its alert until the main application makes some GEM calls (this is cooperative
multitasking remember). Any comments?
 
Regards,
 
Mathew Lodge
***********************************************************************
* c/o Dept. Computer Science    * "Baldrick, fetch me a turkey _so    *
* University of York            * big_, you'd have thought its mother *
* Heslington                    * had been rodgered by an Omnibus"    *
* York, UK                      *                                     *
* YO1 5DD                       * JANET : SOCS18@uk.ac.york.vaxa      *
***********************************************************************
 
------------------------------
 
Date: 5 Mar 90 17:37:06 GMT
From: psuvm!phb100@psuvax1.cs.psu.edu
Subject: Mac Emulator, what to buy?
Message-ID: <90064.123706PHB100@psuvm.psu.edu>
 
In article <2309@syma.sussex.ac.uk>, nickw@syma.sussex.ac.uk (Nick Watkins)
says:
>
>We have a 1040 ST here in the lab at Sussex, and will shortly have a few more.
>We are  interested in buying a Mac emulator, and we gather that those which
>use Mac roms are better than "pure" software emulations.
>
Are there any "PURE" software emulators?  And if so, how are they?  Inquiring
minds want to know...:)
 
-------
In the dark, no one can hear the color of your eyes...
 
Paul Baughman                 |   Senior Student Consultant
   AKA Unka Paul              |   Student Support Initiative
   AKA The Man From UNKA      |
   AKA The Cloned OP          |   227C Computer Building
   AKA The Consultant's OP    |   University Park  PA   16801
   AKA The OP's Consultant    |   (814) 865-2160
 
------------------------------
 
Date: Mon, 5 Mar 90  17:30 GMT
From: "Bru von Mousewielder." <ZDAC810%elm.cc.kcl.ac.uk@NSFnet-Relay.AC.UK>
Subject: MIDI Data files
 
  Does anybody have the slightest idea of the actual format of MIDI data
files?? I am completely stuck on this- all the MIDI books are concerned only
with the stuff that gets sent down the cable, not what resides on disk!
Thanks in advance,
 
Marcus Bointon, King's College London.
 
------------------------------
 
Date: Mon, 5 Mar 90  17:30 GMT
From: "Bru von Mousewielder." <ZDAC810%elm.cc.kcl.ac.uk@NSFnet-Relay.AC.UK>
Subject: MIDI Data files
 
  Does anybody have the slightest idea of the actual format of MIDI data
files?? I am completely stuck on this- all the MIDI books are concerned only
with the stuff that gets sent down the cable, not what resides on disk!
Thanks in advance,
 
Marcus Bointon, King's College London.
 
------------------------------
 
Date: 5 Mar 90 09:42:56 GMT
From: hp-ses!hpbbn!hpgnd!jmrosset@hplabs.hp.com  (Jean-Michel ROSSET)
Subject: MIDI Sequence Standard (Query)
Message-ID: <4280010@hpgnd.HP.COM>
 
I am also interested by this information and I could not reach Stephen
by e-mail. If anybody has this information electronically available, I
think it is interesting enough to post it.
 
Thanks,
 
Jean-Michel Rosset.
jm@hpgnd.hp.com
 
------------------------------
 
Date: 5 Mar 90 19:26:26 GMT
From: cosc10hv@elroy.jpl.nasa.gov  (Paul Sears)
Subject: Need help with Kermit/Xmodem
Message-ID: <5727.25f26903@elroy.uh.edu>
 
In article <9217.25ea918c@ecs.umass.edu>, beroll@ecs.umass.edu writes:
> Hi All,
>   I'm having trouble with transfer from the VAX (running VMS 5.2) and my
> 1040 ST (using Uniterm V2.0e 002).  I've tried both xmodem (I don't know the
> version number on the VAX) and VMS Kermit-32 version 3.3.118.
>
>   I am able to send files from my ST to vax, But I can do the reverse.  With
> both methods I get disk write error just before it is complete.  According to
> the transfer screen, it transferes, but the file doesn't get written to the
> disk.
>
>   I was able to do this with the school's AT&T computers, but not my own.  If
> anyone has any ideas, please either post them, or e-mail me direct.
>
>   Thanks (in advance).
>                                                    David Beroll
>
>                                        Bitnet: BEROLL@UMAECS.bitnet
>                                      Internet: BEROLL@Ecs.umass.edu
 
I use Kermit all the time when transfering from VAX to the ST.  I use Uniterm
2.0e and I use the KERMIT utility on the VAX and not FTP or someother way.  I
also always use a ramdisk and I never encountered the problem - maybe the disk
you are using is full? or is the protect tab opened?  When I use KERMIT on the
vax I tell it to go into server mode then I do all the stuff through Uniterm.
It seems that may be a hardware problem, maybe a cable is loose or something.
Try to use a ram disk and then copy the files to the disk manually...
 
 
                --------------------------------------------
                |  Paul Sears       University of Houston  |
                | "ThunderCat"      ---------------------  |
                |  node             COSC10HV@Elroy.Uh.Edu  |
                | 129.7.1.2      or TECHJW@Elroy.Uh.Edu    |
                |__________________________________________|
 
        'the greater an individual's power over others,
        the greater the evil that might possibly originate with him'
                -  PROPAGANDA, off the CD, A SECRET WISH
 
 
 
------------------------------
 
Date: 5 Mar 90 22:01:24 GMT
From:
 zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!jarvis.csri.toronto.edu!clyde.conco
 rdia.ca!sherlock!agostino@tut.cis.ohio-state.edu  (DELIGIA agostino)
Subject: PD Font Editor & Loader
Message-ID: <1892@clyde.concordia.ca>
 
Hello again!
 
Does anybody out in net territory know of a PD font editor capable of editing
all 256 ASCII characters with a desk accessory font loader?  I've already
posted this query before, but I haven't received any replies yet.  I hope this
doesn't mean that there are _not_ any PD font editors & loaders as described
above.  Hopefully, my previous message just got lost somewhere.  :-)
 
 
Agostino Deligia                 | "If the bears don't eat you,
agostino@sunkisd.cs.concordia.ca |    it's home."
agostino@concour.cs.concordia.ca |      --Binbiniqegabenik
 
------------------------------
 
Date: 5 Mar 90 02:57:12 GMT
From: tiamat!mjbtn!raider!dlh@uunet.uu.net  (Dana L. Holt)
Subject: Phantom Typist
Message-ID: <185@raider.MFEE.TN.US>
 
In article <2891@umbc3.UMBC.EDU>, petey@fox.acslab.umbc.edu (Jack P. Axaopoulos;
 (C)) writes:
>
 
>
> Your st will definitley crash if you hold down any of the mouse buttons
> or click a button at the wrong time during booting.
 
        Well, I would like to add that holding down BOTH mouse buttons
during boot will make the keyboard processor (6301) enter external ROM mode.
It looks for ROM chips which the ST doesn't provide so of course it crashes.
So, if anyone says their ST crashes at boot when they hold both mouse buttons
down, say: "It's supposed to do that!".. just another note...
                                        dlh@raider.MFEE.TN.US
 
Any questions? (You can buy a piggyback RAM upgrade to about 8K for the 6301)
 
------------------------------
 
Date: Mon, 05 Mar 90 11:02:54 EDT
From: Wolfgang Thiel <UPSYF173%DBIUNI11.BITNET@Forsythe.Stanford.EDU>
Subject: stmain.c  RE: C Source
 
/*
    This is an example for simple ARGV parsing without complicated
    (and complicating) getarg/getopt stuff:
    It can handle :
    - no options
    - single and/or multiple options: -xyz or -x -y -z
    - options with directly following specification: -b100
    - options with specification after a blank: -f name
    - all mixed together.
    and it prints use() after -?, -h, or ?.
        Wolfgang Thiel (UPSYF173@DBIUNI11.BITNET)
*/
 
 
#define _V  0x0001
#define _W  0x0002
 
#define NULL    ((char *)0)
 
extern long strtol();
 
int flag;
long blksiz;
char file[80];
 
use()
?
    printf("use: -vw] [-b#[k]] [-f name] [arg ...]\r\n");
    exit(0);
?
 
int main(argc, argv)
int argc;
char **argv;
?
    char *cp;
    int c;
    char *next;
 
    flag = 0;
    blksiz = 0l;
    file[0] = 0;
 
    while((cp = *++argv) != NULL && *cp++ == '-')
    ?
        while((c = (int) *cp++) != 0)
        ?
            switch(c)
            ?
                case 'v':
                    flag |= _V;
                    break;
                case 'w':
                    flag |= _W;
                    break;
                case 'b':
                    blksiz = strtol(cp, &next, 10);
                    if (next == cp)
                    ?
                        printf("no number found after -b\r\n");
                        use();
                    ?
                    if (*next == 'k')
                    ?
                        blksiz *= 1024l;
                        ++next;
                    ?
                    cp = next;
                    break;
                case 'f':
                    if (*cp)
                    ?
                        printf("blank expected after -f\r\n");
                        use();
                    ?
                    if ( *++argv == NULL)
                    ?
                        --argv;
                        printf("file name expected after -f\r\n");
                        use();
                    ?
                    if (**argv == '-')
                    ?
                        printf("file name expected after -f\r\n");
                        use();
                    ?
                    strcpy(file, *argv);
                    break;
                default:
                    printf("unknown option: -%c\r\n", c);   /* thru */
                case '?':
                case 'h':
                    use();
                    break;
            ?
        ?
    ?
    printf("Flag:x%04x  Blk:%ld   File:'%s'\r\n", flag, blksiz, file);
    if (*argv != NULL && **argv == '?')
        use();
    while((cp = *argv++) != NULL)
        printf("Arg: %s\r\n", cp);
    return 0;
?
 
------------------------------
 
End of INFO-ATARI16 Digest V90 Issue #288
*****************************************
