TIP: Click on subject to list as thread! ANSI
echo: cis.tandy.coco
to: All
from: steve Crump 71550,3115
date: 1990-08-10 01:19:27
subject: Privledges in BASIC09

#: 5962 S10/Tandy CoCo
    10-Aug-90  01:19:27
Sb: Privledges in BASIC09
Fm: steve Crump 71550,3115
To: All

Everyone,
  I have been working on a sound playing module for BASIC09 that will
  play .pla (macsound) files.  I disassembled the newest PLAY command
  and discovered that its author uses 4 system mode calls (AllRam,
  MapBlk, ClrBlk, and DelRam) to play up to 2 meg for sound.  I have
  tried this techque from BASIC09 using SYSCALL but it won't work
  I get an "ILLEGAL MODE" error. I assume OS9 is telling me I can't
  use those calls from a user program... but if not why can PLAY also
  a user program get away with it. I have disassembled SYSCALL and
  it makes no checks so the error must be coming from OS9 (right?).
  Is there anyway around this problem and if not how do I go about
  "un-protecting" the system mode calls as is mentioned in the manual
  I know someone out there must know.

  Any help would be great.
  Steve Crump
  [71550,3115]

SOURCE: compuserve via textfiles.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™.