|||||| |||||| || || |||||| |||||| || || ||| || || || || ||| |||| |||||| || |||| Your || || || || ||| || || |||||| |||||| || || |||||| |||||| GEnieLamp Computing || |||||| || || |||||| RoundTable || || || ||| ||| || || || |||||| |||||||| |||||| RESOURCE! || || || || || || || ||||| || || || || || ~ WELCOME TO GENIELAMP A2Pro! ~ """"""""""""""""""""""""""" ~ Spring Wackyness ~ ~ NBAs Wanted ~ ProTERM & the Atomic Clock ~ ~ HyperTalk Course Wraps Up ~ FExts in ORCA/Modula-2 ~ ~ HyperLogo RTC Transcript ~ Tour of 8/16 Central ~ ~ HOT NEWS, HOT FILES, HOT MESSAGES ~ ////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ GEnieLamp A2Pro ~ A T/TalkNET OnLine Publication ~ Vol.4, Issue 14 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Editor.......................................................Nate Trost Publisher.................................................John Peters Copy-Editor............................................Bruce Maples \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\//////////////////////////////////// ~ GEnieLamp IBM ~ GEnieLamp ST ~ GEnieLamp [PR] ~ GEnieLamp Windows ~ ~ GEnieLamp A2Pro ~ GEnieLamp Macintosh ~ GEnieLamp TX2 ~ ~ GEnieLamp A2 ~ LiveWire (ASCII) ~ GEnieLamp MacPRO ~ ~ Solid Windows ~ Config.sys ~ A2-Central ~ ~ Member Of The Digital Publishing Association ~ GE Mail: GENIELAMP Internet: genielamp@genie.geis.com FTP: sosi.com ////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ >>> WHAT'S HAPPENING IN THE APPLE A2Pro ROUNDTABLE? <<< """"""""""""""""""""""""""""""""""""""""""""""""""""""" ~ April 1, 1994 ~ FROM MY DESKTOP ......... [FRM] HEY MISTER POSTMAN ...... [HEY] Notes From The Editor. Is That A Letter For Me? A2PRO ROUNDTABLE STAFF .. [DIR] TOUR OF 8/16 CENTRAL .... [TOU] Directory of A2Pro Staff. Great Programmers Magazine. LIBRARY BIT BONANZA ..... [LIB] HYPERLOGO TRANSCRIPT ... [HYP] HOT Files You Can Download. RTC Transcript. DEVELOPERS CORNER ....... [DEV] OFF THE DEEP END ........ [OFF] News From Online Developers. This month, Top-10 gone hyper. CAMPUS GREEN ............ [CAM] LOG OFF ................. [LOG] New HyperTalk course. GEnieLamp Information. [IDX]""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" READING GEnieLamp GEnieLamp has incorporated a unique indexing """"""""""""""""" system to help make reading the magazine easier. To utilize this system, load GEnieLamp into any ASCII word processor or text editor. In the index you will find the following example: HUMOR ONLINE ............ [HUM] [*]GEnie Fun & Games. To read this article, set your find or search command to [HUM]. If you want to scan all of the articles, search for [EOA]. [EOF] will take you to the last page, whereas [IDX] will bring you back to the index. MESSAGE INFO To make it easy for you to respond to messages re-printed """""""""""" here in GEnieLamp, you will find all the information you need immediately following the message. For example: (SMITH, CAT6, TOP1, MSG:58/M530) _____________| _____|__ _|O__ |____ |_____________ |Name of sender CATegory TOPic Msg. Page number| In this example, to respond to Smith's message, log on to page 475 enter the bulletin board and set CAT 6. Enter your REPly in TOPic 1. A message number that is surrounded by brackets indicates that this message is a "target" message and is referring to a "chain" of two or more messages that are following the same topic. For example: {58}. ABOUT GEnie GEnie's monthly fee is $8.95 which gives you up to four hours """"""""""" of non-prime time access to most GEnie services, such as software downloads, bulletin boards, GE Mail, an Internet gateway, multi-player games and chat lines. GEnie's non-prime time connect rate is $3.00 an hour. To sign up for GEnie, just follow these simple steps. 1. Set your communications software to half duplex (local echo) 8 bits, no parity and 1 stop bit, at 300, 1200 or 2400 baud. 2. Call (with modem) 1-800-638-8369. Upon connection type HHH. 3. Wait for the U#= prompt. Type: JOINGENIE and hit RETURN. When you get the prompt asking for the signup/offer code, type: DSD524 and hit RETURN. 4. Have a major credit card ready, as the system will prompt you for your information. If you need more information, call GEnie's Customer Service department at 1-800-638-9636. SPECIAL OFFER FOR GEnieLamp READERS! If you sign onto GEnie using the """""""""""""""""""""""""""""""""""" method outlined above you will receive an *additional* six (6) free hours of standard connect time (for a total of 10) to be used in the first month. Want more? Your first month charge of $8.95 will be waived! Now there's no excuses! *** GET INTO THE LAMP! *** """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" [EOA] [FRM]////////////////////////////// FROM MY DESKTOP / ///////////////////////////////// Notes From My Desktop """"""""""""""""""""" o TOP OF THE PAGE >>> TOP OF THE PAGE <<< """"""""""""""""""""""" SPRING FEVER HITS A2PRO And everyone has the giggles! Well, maybe not. """"""""""""""""""""""" But anyway, HyperMania continues this month with a transcript from the HyperLogo RTC with Mike Westerfield, more information on the HyperTalk A2 University course, and a selection of Hyper related messages from the bulletin board. Before anyone thinks the A2Pro blood-sugar level has risen too high, let me point out all the other neat and non-hyper stuff in this issue of the Lamp! Enjoy, and remember....this be April! Nate Trost GEnieLamp A2Pro [EOA] [DIR]////////////////////////////// A2PRO ROUNDTABLE STAFF / ///////////////////////////////// By Nate Trost [A2PRO.GELAMP] ______________________________________________ APPLE II PROGRAMMERS & DEVELOPERS ROUNDTABLE _____ ______ ______________________________________________ /_____|/______\ /__/|__| ___|__| /__/_|__| /_____/ Your Sysops: Greg Da Costa (A2PRO.GREG) /________|/__/ __ __ __ Todd P. Whitesel (A2PRO.TODDPW) /__/ |__|__/______ /_//_// / Nathaniel Sloan (A2PRO.HELP) /__/ |__|________// / \/_/ Nate Trost (A2PRO.GELAMP) [*][*][*] [EOA] [HEY]////////////////////////////// HEY MISTER POSTMAN / ///////////////////////////////// Is That A Letter For Me? """""""""""""""""""""""" By Nate Trost [A2PRO.GELAMP] o BULLETIN BOARD HOT SPOTS o WHAT'S NEW? o PROGRAMMER'S TIPS o FOR SALE o MESSAGE SPOTLIGHT >>> BULLETIN BOARD HOT SPOTS <<< """""""""""""""""""""""""""""""" [*] CAT9, TOP7, MSG{98}................Applesoft BASIC help please! [*] CAT13, TOP25, MSG{1}.............................Universal Access [*] CAT15, TOP2, MSG{116}.............................Memory Manager [*] CAT15, TOP15, MSG{63}................................Menu Manager [*] CAT16, TOP2, MSG{123}..........................Programmer's Cafe [*] CAT22, TOP26, MSG{1}..........................Hypertalk Tutor 101 [*] CAT30, TOP2, MSG{85}.........................Using the GNO Shell [*] CAT33, TOP3, MSG{3}.................................Wishing Well [*] CAT36, TOP10, MSG{130}................................ORCA/Pascal >>> WHAT'S NEW? <<< """"""""""""""""""" HYPERSTUDIO NBAS WANTED Ok, here's the deal. """"""""""""""""""""""" I am in need, no, everyone that developes HyperStudio stacks are in need of NBAs. Good ones, that do very neat stuff. First, I am in need of an NBA that will play NoiseTracker _Modules_ and I am willing to pay for it. I have picked the Module format because it's the most convenient, the music sequence and the instruments are all saved into one file. I require that it be able to load the NT Module from any directory I choose, not just the one the stack is in, and it needs to play and stop play in the same manner that the MIDISynth NBA does. I'll pay $50 for this. Also, I have other ideas for NBAs and I'd love to see them become reality. Although, I can't promise much, if any, money for this, at least from me. 1> Telecomm NBA: This NBA should allow you to send and receive text to and from the modem port. 2> DOS NBA: This NBA should allow you to copy/delete/rename/etc.. With an NBA like this you could create a stack that will install software, etc. Just to name one of it's uses. If you would like to help me bring more power to HyperStudio please email me or post here ASAP. Thanks, Jeffery S. Rash GS Resources (GS.OZONEMAN, CAT16, TOP7, MSG:53/M530) DESKTOP UTILS PROGRAMMING INFO Something I picked off """""""""""""""""""""""""""""" comp.binaries.apple2 tonight... I'll let Tony's post speak for itself. The AWP file mentioned will be available in A2Pro as soon as I can get my hands on it. Article: 2064 of comp.binaries.apple2 Newsgroups: comp.binaries.apple2 From: amorton@kakadu6.ecr.mu.oz.au (Anthony MORTON) Subject: Desktop Utilities 4.0 Programmer Documentation (1/2) Followup-To: comp.sys.apple2.programmer Summary: How to write modules for DTUtils 4.0 Keywords: desktop utilities dtutils kernel programmer docs Organization: Computer Science, University of Melbourne, Australia Date: Mon, 21 Mar 1994 01:02:33 GMT The following posting is a 140K AppleWorks file in standard shrunk, BinSCIIed form, containing all the details on writing modules for Desktop Utilities 4.0, a radically souped-up new version of our multi-purpose utility program. Included are details of the calling structure for Desktop Utilities and its modules (based around the Inter Process Communication facility built into System 6), things Desktop Utilities does on behalf of modules, and a host of public functions, intended to supplement the Toolbox. This documentation describes the Desktop Utilities kernel program, of which the first fully-functional beta version has just been completed. The NDA interface and Virtual DA manager modules are also substantially complete, and a module to manage objects in the menu bar (and allow them to be moved off the menu bar and onto the desktop) should be ready fairly soon. Beta testing should commence in a few weeks' time. Rob is also trying his hand at a fax module, for those who have fax modems. Please let me know if anything in this documentation needs clarifying. Followups have been directed to comp.sys.apple2.programmer. Tony Morton (amorton@ee.mu.oz.au) Electrical Engineering Masters student & diehard IIGS lover Co-author with Rob Mueller (robm@ecr.mu.oz.au) of Desktop Utilities 3.3 & 4.0 University of Melbourne, Australia (B.TAO, CAT16, TOP13, MSG:168/M530) >>> PROGRAMMER'S TIPS <<< """"""""""""""""""""""""" SELECT IN HCGS I'm trying to figure out how to get an insertion point """""""""""""" into a field from a script. For Instance: on closeField if fld "ThisField" is "Something" then (somehow go to) fld "NextField" else (go to) fld "SomeOtherField" end closeField "Go" will just take me to another card or stack as far as I can tell, and "Select" selects the field as an object, but doesn't allow input. I've also tried "Send openField" to the field, but that doesn't seem to do anything. This would be a _very_ handy feature for the time keeping stack I'm working on. Is it possible? (J.EDDY1, CAT18, TOP4, MSG:6/M530) <<<<< You can use "select", but think about what you are trying to """"" select. If you tell HCGS to select a field, you get a field selected. If you want to select some _text_ in a field you must tell HCGS that! B-)> So if we have a field named "textHolder" we could: select word 1 of cd fld "textHolder" select line 5 of cd fld "textHolder" select word 8 of line 12 of cd fld "textHolder" select line 3 to line 6 of cd fld "textHolder" select before text of cd fld "textHolder" or select after text of cd fld "textHolder" as well as a myriad of other combinations. Also, if you're moving between a series of flds on the same card you can use the Tab Key to move sequentially among them. With this being true you could do the same thing via a script by sending the message "tabKey". More then you wanted to know , did this help any? -- HangTime [Script-Central] B-)> (A2.HANGTIME, CAT18, TOP4, MSG:7/M530) >>>>> Thanks for the help. I've since discovered an additional tidbit on """"" this. HyperCard considers the insertion point to be a string of 0 length. You can put an insertion into an empty field by: if the Length of fld "Whatsis"> 0 then select char 1 to the length of fld "Whatsis" else select char 1 to 0 of fld "Whatsis" With this in there, the stack runs pretty well, tho it is slow (After all, I'm really pretending that HCGS is the database that never was written for the GS). I do find that tabKey doesn't always seem to consistantly take me to the next field if I trap the field for some kind of input. Sometimes the next field (text) selected is the first field. I'm sure there's a reason, but I haven't looked too hard to find what it is. And, of course, if I insert a new field, it isn't in the order I would want by just hitting the tabKey (is there a way to change Fld numbers?) I'm just glad I've got a chance to mess with HC. I really enjoy the heck out of it. (J.EDDY1, CAT18, TOP4, MSG:8/M530) <<<<< The tabKey moves sequentially through the fields starting at 1 or """"" the field after the one currently holding selectd text. You can re-arrange the order of flds and btns with the Bring Closer and Move Further (or whatever their names are) menu items. -- HangTime [Script-Central] B-)> (A2.HANGTIME, CAT18, TOP4, MSG:9/M530) >>>>> Excellent! I handn't connected Bring Forsward with the tab """"" sequence. Now another question. Is the Sort command crippled on the GS? The mac (according to my Mac HyperCard guide) can sort the lines in a field, cards within a background, etc by some parameter. It appears that all the GS version can do is sort cards by a field. Is this true? Thanks Lots for your help. Jim (J.EDDY1, CAT18, TOP4, MSG:10/M530) <<<<< You can't sort lines _in_ a field (on the Mac either), you can sort cards _based_ on a _container_. A container can be a: o Variable o chunk of a variable o field o chunk of a field, etc. (A2.HANGTIME, CAT18, TOP4, MSG:11/M530) BEAGLE COMPILER LICENSING I'm writing a word game in Applesoft using """"""""""""""""""""""""" Program Writer. My plan is to release the completed program as freeware. I'm far enough along to see that the Beagle Compiler gives my program the speed it needs. As instructed by the Beagle Compiler manual, I wrote concerning distribution of the run-time module (COMPILER.SYSTEM) to The Software Touch, c/o Compiler Licensing, 9625 Black Mountain Rd., #204, San Diego, CA 92126. Not surprisingly given the passage of time, the letter was returned by the post office marked "forwarding order expired". Does anyone know the current address? Of course, if someone had certain and definite knowledge that the COMPILER.SYSTEM licensing fee is no longer being collected for freeware, that would be even better. Steve Eisenberg (S.EISENBERG, CAT9, TOP10, MSG:16/M530) <<<<< Steve, I am working from old memory here, and my memory is """"" notoriously bad, but... it's my understanding that you can use COMPILER.SYSTEM for an application like yours as long as you acknowledge it in your startup screen(s). This came from a discussion about the file 19014 FORMULAGAME.BXY over in A2. I checked with S.Boomer, the uploader and author, and he responded that he was told by Alan Bird himself that it was OK. Of course, COMPILER.SYSTEM isn't useful outside your application without the COMPILER program, which is required to compile new programs. Like I said, I am very hazy on this. If S.BOOMER is still around here on GEnie, he might be able to point you in the right direction. TomZ (T.ZUCHOWSKI, CAT9, TOP10, MSG:18/M530) EXTRAS MENU IN HYPERCARD IIGS Yes, I did mean HyperCard. :) I'm looking """"""""""""""""""""""""""""" for something in HyperCard that is the equivalent of a HyperStudio Extra menu item... something that would let me add a function to HyperCard that is _not_ connected to a button or accessible only through a script, as I understand an XCMD would be. Any suggestions? Mike Westerfield (BYTEWORKS, CAT18, TOP8, MSG:3/M530) <<<<< B.BELLINA has just uploaded the following file to A2: """"" 22318 HC.EXTRAS.BXY X B.BELLINA 940226 20224 Desc: Creates an Extras menu in all stacks Does that sound like what you're looking for? What a coincidence :) Tony Ward [via GEM 4.21/PT 3.1] (A2.TONY [A2 Librarian], CAT18, TOP8, MSG:5/M530) >>>>> It wouldn't be hard to create a stack that would not only install """"" an Extras menu, but install any code resources you wanted as well. Piece o' cake. -- HangTime [Script-Central] B-)> (A2.HANGTIME, CAT18, TOP8, MSG:8/M530) <<<<< Yea, but Hangtime, my application is an add-on that has no """"" connection to any button, and has no use unless it han be used from any stack--and that means _without_ modifying the stack to make a script that will call something extra. Sounds like this is a little outside of the abilities of HC, which is OK. I just wanted to check. It's always nice to release a program under multiple platforms, but I guess this one will only go into HS. Mike Westerfield (BYTEWORKS, CAT18, TOP8, MSG:9/M530) >>>>> Mike, this modification would be made to the Home stack. The Home """"" stack is left open through any session so that its Scripts and Code Resources are in fact available to ANY stack. -- HangTime [Script-Central] B-)> (A2.HANGTIME, CAT18, TOP8, MSG:10/M530) <<<<< Ahhh... that's a difference between HS and HC I wasn't aware of. """"" From using the Mac version of HC, I assumed that the original stack was closed when you opened a new one. So let's see if I have this right. The process would be something like this: In the home stack, I would create a button with a script, and have the button be executed automatically when the Home stack is first displayed. In this script, I would end up calling an XCMD that would install a new menu item, and perhaps a new menu to hold it, in the main system menu bar. Somehow (details are no doubt buried in some documentation or in the sample code cited earlier) I would arrange for a subroutine in my own XCMD to be called when this menu item is selected. No matter what stacks the user runs after opening the home stack, my XCMD is still in place, and still prepared to handle the menu command. Is that about right, or did I misinterpret something? Mike Westerfield (BYTEWORKS, CAT18, TOP8, MSG:11/M530) >>>>> Mike: You're close. You can't have HyperCard automatically """"" activate a button (as you can with HyperStudio). Instead, you'd probably put something into the Home stack's openStack handler, which gets called when the stack is first opened. HyperCard has a hierarchy of objects. When you click a button, for example, two messages are generated (mouseDown and mouseUp). The message is sent to the button's script; if there is no handler in the script for the message, it gets sent to the card (which can have a script of its own), then to the card background (which can have its own script), and finally to the stack itself (which, yes, has its own script too). Well, that's NOT finally it. If there is no handler in the current stack, the Home stack is also checked. Each new item on the menu you define will generate a message when an item is selected from that menu. All you have to do is put a handler for that message in the Home stack. That handler will probably just call one of your XCMDs. HyperTalk is really, really slick. Reading the first couple of chapters on a good HyperTalk book will clear up an awful lot of this for you. B) (QUALITY, CAT18, TOP8, MSG:12/M530) <<<<< Jerry has it pretty close. HCGS doesn't generate a standard """"" message when a menuItem is selected, you have to trap it with an ON DOMENU handler. It's all a lot harder to explain then it is to do . For the most part, aside from a couple of details, the previous two messages sum up an outline of what would work. Oh, another note, you wouldn't want to use the OpenStack handler, Jerry, you'd want to use the StartUp handler. This way if another stack was launched instead of the Home stack you're guaranteed a shot at handling the message. -- HangTime [Script-Central] B-)> (A2.HANGTIME, CAT18, TOP8, MSG:13/M530) SETTING FROM ATOMIC CLOCK IN PROTERM This is a quesion from some EMail """""""""""""""""""""""""""""""""""" I received on another system. Has anyone done anything like this or is there anyone interested in doing anything like this? > I'm using PT3.0, and would like to write a macro file that calls the > National Atomic Clock, receives the current time from it, compares it to > the system time, and updates the system time. The last part is the hard > part - how do I set the GS clock? Can I poke some values into bram > somewhere? If so, where and how do I do this poking? > I am planning on putting this file (once created) out in PD. Any help > that you can give me would be greatly appreciated. If there is interest, I could point the user at GEnie to get assistance. Jerry Cline @ InTrec Software, Inc. (INTREC, CAT16, TOP12, MSG:1/M530) >>>>> Jerry, (from the A2 Library): """"" 21996 PT3.SETTIME.BXY ProTERM macro to set the GS clock B.WELLS5 (J.L.D. [|]--John--[|], CAT16, TOP12, MSG:6/M530) <<<<< >> 21996 PT3.SETTIME.BXY ProTERM macro to set the GS clock """"" But I can't get it to work for me using PT3.0. . It goes to run and demands a numeric argument for the ''me 47110,"8B4BAB....'' statement (if I install it as the dox reccommend and try to run it as a global macro) (it barfs at the double quote mark following the comma). (K.LUCKE [Ken], CAT16, TOP12, MSG:7/M530) >>>>> Yes, I did write this macro set --- """"" > 21996 PT3.SETTIME.BXY ProTERM macro to set the GS clock B.WELLS5 It (as you all have already found out) does not work with ProTERM 3.0 The macros only work with version 3.1 or later. The reasons? I wrote the macros on version 3.1 and when I got the 3.1 update, I had thrown away the old 3.0 manuals. :( So I wasn't able to easily see the changes in the macro system from one version to the next. The reasons why it doesn't work under 3.0 are: 1) I use ';' for comments. 3.0 didn't allow that sort of thing. 2) The MEm command didn't have the nifty hex strings feature for storing code. I could convert that to single MEm statements for each byte. I did the above to my macros, but I don't think that 3.0 had the JSr command, which is needed for my macros. To get the whole thing working, I need to rewrite the machine language routines for use with the OVerlay command. I'll try to do this within the next week or so. In the meantime, I'm going to upload a new version of the macros that have will specificly state that they are 3.1 only. (B.WELLS5 [Brian], CAT16, TOP12, MSG:14/M530) DESTROYING A FILE WITH GS/OS I have just started playing around with """""""""""""""""""""""""""" GS/OS calls to read and write files from ORCA/PASCAL instead of using the built-in PASCAL functions. I have managed to do this using examples from the "ORCA Learn to Program in Pascal" disks. I got the following code segment to work. The code creates and writes the file "newfile". When I rerun it I get a ProDOS error because the file already exists. How can I delete a file within PASCAL, or open one for rewrite using GS/OS calls? Mark Sand ---------code example----------------------------------- uses Common, ProDOS, GSOS; var DCBcreate: createOSDCB; DCBopen: openOSDCB; writeDCB: readWriteOSDCB; buffer: array [0..255] of byte; newfile: gsosInString; (* Initialize pathname of file to create *) with newfile do begin size := 7; theString := 'newfile'; end; (* Create a new file *) with DCBcreate do begin pcount := 7; (* send GS/OS all 7 parameters *) pathName := gsosInStringPtr (@newfile); (* newfile in curr. dir *) access := $00E3; (* enable all access bits *) fileType := $0004; (* ASCII text file *) auxType := 0; (* sequential file *) storageType := 1; (* seedling file *) dataEOF := 0; (* don't preallocate any bytes *) resourceEOF := 0; (* not a MAC extended file *) end; CreateGS ( DCBcreate ); (* Open newfile for output *) with DCBopen do begin pcount := 15; pathName := pointer (@newfile); requestAccess := $0002; (* open for output *) optionList := pointer (@'buffer'); end; OpenGS ( DCBopen ); (* Write to the file *) writeDCB.refNum := DCBopen.refNum; DCBclose.refNum := DCBopen.refNum; with writeDCB do begin pcount := 5; dataBuffer := pointer (@words); requestCount := 20; (* number of bytes to write *) cachePriority := 0; (* don't cache *) end; WriteGS ( writeDCB ); (M.SAND1, CAT8, TOP8, MSG:119/M530) >>>>> I don't know pascal but I know a little GSOS. """"" There is a destroy command for erasing files. If you want just to write to a file, open it without creating it. Before overwritting a file is a good idea to make sure it is the same file type. If it isn't it might contain some other unrelated information and you should change the file name you are saving to something else. Clay (C.JUNIEL [Clayburn], CAT8, TOP8, MSG:120/M530) <<<<< Mark, Clay is right. I'd add that the original routines in the """"" course did use a Destroy call to get rid of any existing file before trying to create a new one. Clay's point about checking the file type is a good one for many kinds of programs. The routines in the course don't do that, since they were designed to be used with the SFO tools, which make that check for you. If you're not using SFO, Clay's suggestion is worth the trouble of implementing. Mike Westerfield (BYTEWORKS, CAT8, TOP8, MSG:121/M530) TML PASCAL PROBLEM Help! In a graphic program, I have drawn a vertically """""""""""""""""" sliding button. The up and down movement is controlled by three Point variables; "thePoint" - a global variable, "firstPoint" , and "secondPoint" - which are local variables. The routine goes something like this: begin GetMouse(thePoint); GlobalToLocal(thePoint); firstPoint := thePoint; while WaitMouseUp(0) do begin GetMouse(secondPoint); if (secondPoint.v > firstPoint.v) then begin { move the button down one pixel } end; end; T This routine works fine until I add the following: if ------- then begin MoveTo(388,148); Write(-----); end; What happens is that the routine moves the button down one pixel, does the write statement, and then will not continue the loop. It's as though the MoveTo statement has messed up the mouse ppoint coordinates. Can anyone help me? (J.GATES6, CAT6, TOP14, MSG:105/M530) <<<<< Well, as we discovered in the RTC, you need to change the Write """"" statement, because TML Pascal II has trouble with its Write statement when writing to the SHR screen. You need to use DrawString or DrawCString. Also, if you are writing an integer, use Int2Dec to convert it to a string. (T.BUCHHEIM [] Tim 'pi' [], CAT6, TOP14, MSG:106/M530) EMULATING THE 6502 I hope this is the right topic for this question. """""""""""""""""" There is a group of people here who are working on an Apple II (8 bits) emulator for Unix workstations (Sun initially, but they may port it to others in the future). I assume that they'll release it when it's done. They are not doing it just for the fun of it, but this is for a project they have been assigned to do to complete their master degree in Computer Science. And they didn't even propose it; it was one of the projects suggested by their teacher :) I happen to know one of the guys in this group, who asked me if I had some docs about the internal behavior of the 6502 and other hardware issues (ie timings, gotchas with some instructions, things like that), so they can emulate it perfectly. Of course, I don't, but I am sure some of you could share some knowledge, which I'll forward to them. (P.MANET1 [Philippe], CAT12, TOP26, MSG:85/M530) <<<<< All of the information you're looking for concerning the chip """"" itself is documented in many of the assembly language programming books, which were also very concerned about timing. I'd suggest "Programming the 65816, Including the 6502, 65C02 and 65802," Eyes & Lichty, Brady Books. It covers the whole family of chips and does a good job of it. Mike Westerfield (BYTEWORKS, CAT12, TOP26, MSG:86/M530) HCGS CALLBACK TROUBLE Arrrrrrrrrrrrrrrrrrgh! """"""""""""""""""""" It looks like the GetMaskAndData callback _DOESN'T WORK_. I have a XFCN that needs to look at the card image, so I call GetMaskAndData to get the locinfo of the card image. Fine, GetMaskAndData returns me a pair of locinfo records, one for the image and one for the mask. So far so good... Unfortunately, the image locinfo points to a offscreen buffer that HCGS never seems to TOUCH! After snooping around in GSBug, Nifty List and Pixie, I've discovered a couple other buffers, one of which contains the card pixel image I _need_, but HCGS doesn't pass this buffer to me, nor does it copy the contents of that buffer to the buffer it actually passes to me. In an effort to try and make the buffer I get useful, I tried calling ChangedMaskAndData with various whatChanged parameters before I called GetMaskAndData. No effect. The GetMaskAndData callback description is incorrect anyway, although it SAYS it updates the internal buffers, all it actually does is copies the locinfo records from its own internal structures to the XCMDs buffers. This is the kind of thing that makes me want to indulge in violent acts against small furry animals and purple dinosaurs..... Anybody have any ideas? Anybody ever run into this problem? Same thing under HCGS 1.0 and 1.1. Grrr. (A2PRO.GELAMP [65-Nate-16], CAT18, TOP9, MSG:1/M530) FEXTS IN ORCA/MODULA-2 ]['ve taken an initial look at your broken FExt """""""""""""""""""""" code that you uploaded to the A2Pro library: 3973 FEXT.BXY X R.ADAMS48 940309 6272 4 6 Desc: Help me with my first Modula-2 Fext! |\|ow, I don't have ORCA/Modula-2, so I'm not sure of how a few things are implemented in its GS/OS interfaces. Specifically, you make use of NDACloseProc and NDAActionProc, from DeskManager. I expect these are pre- assigned modules for use when creating NDAs? This could be the problem. I'm not sure how ORCA/Modula-2 passes parameters (on the stack, or etc.), but I know that the NDA action procedure uses two parameters, and they're passed in the A, X, and Y registers. If the NDACloseProc and NDAActionProc routines have been pre-assigned for NDAs, they may have glue code included in them to handle this. However, there's also a good chance that they ALSO have OTHER glue code in them that you do NOT want in your program, and that could be causing problems. Alternately, they may just have compiler directives in them and the compiler is adding unnecessary code that's causing your program to crash. Mike would know better about exactly what's going on with these. ___ |o create system windows using ORCA/Pascal, you have to write the glue code for the NDA action procedure yourself. This is what my glue code looks like: ; ; This is glue code for the NDA-style Action procedure (function) ; It pushes the A, Y, and X registers on the stack, and then calls the ; function. Any result is returned in the A register, where it should be. ; keep actionGlue actionGlue start pha phy phx jsl HandleNDAAction rtl end |\/|y Pascal action procedure looks llike this: function HandleNDAAction(code: integer; eventPtr: eventRecPtr): boolean; ___ |his is part of the code that I have in the procedure that creates the window: theAuxWindInfo := pointer(GetAuxWindInfo(theWindowPtr)); new(theAuxWindInfo^.NDAPtr); with theAuxWindInfo^.NDAPtr^ do begin [...] actionProc := @actionGlue; [...] end; (The [...] is where the other initialization takes place. The variables theAuxWindInfo and NDAPtr use the data structures as defined in the Sys 6 Ref under "GetAuxWindInfo" and at the beginning of the Desk Manager chapter.) ][ declare the assembly glue code with: procedure actionGlue; extern; Then I just link it in and all is well. ]-[ope this helps. (A2.LUNATIC, CAT20, TOP4, MSG:117/M530) <<<<< Thanks! I think that FExt code is just what I need. I'm having a """"" problem with the linking now so I don't know... If I had done this thing in Pascal, I'd have it up and running- but I don't want to say that Modula-2 beat me, so I'll see everyone over in the Modula-2 topic! :) Rick (R.ADAMS48, CAT20, TOP4, MSG:118/M530) >>>>> If you're using system 6.0.1, you can set the high bit of the """"" pointers to your action and close procedures and the system will call them ORCA-style instead of toolbox style. (JWANKERL [Joe], CAT20, TOP4, MSG:119/M530) <<<<< Yeah, Joe, I did that, but it wasn't working... """"" In Modula-2 I set the action procedure pointer to: BITSET( ADR( NDAAction)) * BITSET( 80000000H); I _thought_ that set the high bit of my action procedure, maybe not... Rick (R.ADAMS48, CAT20, TOP4, MSG:120/M530) >>>>> Hmmmm... we just finished up a Finder Extension for V5.N4 of GS+ """"" that we did in Modula-2 -- lemmie peek and see what that code does. Pasting directly from the souce code: VAL( NDAActionProc, (80000000H + VAL( LONGCARD, ADR( HandleNDAActions)))) And the HandleNDAActions procedure setup is: PROCEDURE HandleNDAActions( code : CARDINAL; NDATask : TaskRecPtr) : BOOLEAN; Hope that may help... (JWANKERL [Joe], CAT20, TOP4, MSG:121/M530) <<<<< I hope it does, too! Thanks... can't wait for V5.N4! """"" Update: It works perfectly... for some reason! The only thing I did differently was use LONGINT i/o LONGCARD. ???? Rick (R.ADAMS48, CAT20, TOP4, MSG:120/M530) >>> FOR SALE <<< """""""""""""""" 8/16 CENTRAL ISSUES FOR SALE I'm selling my back issues of 8/16 and """""""""""""""""""""""""""" 8/16-Central (disk versions): 1991: Jan.Feb.Aug.Sep.Oct 1990: Mar.Apr.May.Jun.Jul.Aug.Sep.Oct.Nov.Dec 15 issues for $30 -- MUCH cheaper than downloading! As with my previous sales, I'll pay all shipping charges. If you are interested, please drop me a note at BRYAN.ZAK -- thanks! (BRYAN.ZAK, CAT1, TOP18, MSG:36/M530) PROGRAMMING STUFF FOR SALE For Sale: Beginners Programming Kit """""""""""""""""""""""""" (C Version): $150 (includes 25 pounds of shipping) I would like to sell the following as one package if possible. The books and software are a little out of date, but all someone needs to update this package is: o Programmer's Reference for System 6.0 & 6.0.1 $45 o ORCA/C 2.0.1 Update from ORCA/C 1.x $60 Both of these updates are available from Byte Works. This package was only used by a blue haired little old lady for Sunday programming ;) Sorry gang, but my paridigm is shifting (maybe into OverDrive, maybe upshifting for more Power). Here's the list: Original Price Technical Introduction to the Apple IIgs $9.95 Apple IIgs Hardware Reference, Second Edition $26.95 Programmer's Introduction to the Apple IIgs w/disk $32.95 Apple IIgs Toolbox Reference: Volume 1 $26.95 Apple IIgs Toolbox Reference: Volume 2 $26.95 Apple IIgs Toolbox Reference: Volume 3 $39.95 Apple IIgs GS/OS Reference $28.95 Human Interface Guidelines: The Apple Desktop Interface $14.95 ORCA/C v1.2 w/Learn to Program in C $95.00 -------- Total Original Cost (not including tax or S&H) $302.60 (N.MCNEIGHT [Neil], CAT1, TOP18, MSG:37/M530) >>> MESSAGE SPOTLIGHT <<< """"""""""""""""""""""""" ETHERNET SCSI DEVICES I recently received a new catalogue from Focus """"""""""""""""""""" Enhancements, a Mac peripheral maker based in Massachusetts. Flipping through it, I was reminded of something I had wondered about back when I had received their first catalogue. On page 15, they have a device called the EtherLAN SC, which is an Ethernet box that plugs into the SCSI port. As Apple has axed their Apple II EtherTalk card, I wondered whether this device, or one like it, could be made to work on the II. Well, I tried contacting their technical support group about getting some technical documentation in order to write a GS driver. While I was not laughed off immediately, after about a week of followups, I finally got an answer from the appropriate authority, and the answer was a very firm "no" with no explanation given. Well, that's typical of the Mac world, isn't it - always hoarding and protecting information instead of sharing it freely. Anyway, I was just waiting to hear back from there before coming to tap this forum. Firstly, does anyone know of any other manufacturers of similar devices? I'm sure there must be others, and as Focus's prices aren't that great, I expect we can do better than the $200 that Focus wants for their devices. Please include contact info, and anything you know about the productes, including Focus's EtherLan. I'm still not sure whether the EtherLAN is just EtherTalk or a full Ethernet implementation. In this case, I think it would be better to just get an EtherTalk setup, since that would be easier to implement on the GS side. Which brings me to another query. I'm no AppleTalk or network guru, but from what I've read so far, all that would need to be replaced to get EtherTalk on the Apple II is the link access protocol (LAP), in this case LocalTalk LAP (LLAP) to EtherTalk LAP (ELAP). I don't think really amounts to much code, and could be reduced further depending on how much of the work the hardware does. I believe this encompasses four AppleTalk calls (LAPWrite, ReadBuffer, AttachProt, and RemoveProt) plus an incoming packet handler. Anything else? I don't think there is anything that can be done for an 8-bit II, since the LAP code would have to be in the firmware of some card. Unless the support could be added to the RamFast (hmm, guess that's possible), a second card would have to be installed with the routines on its ROM. I guess that's possible too, but not nearly as convenient as adding ELAP to GS/OS in software alone. Having technical specs would certainly help a great deal, but if no one is willing to give them out, I expect someone here, if not myself, can figure out the necessary steps by disassembling the Mac drivers that come with the device. So, what do you all think? Do-able? Worthwhile? Any tips/pitfalls, etc.? As I said, I'm not by any means an expert in this area, but I've been taking a peak at the LLAP code in GS/OS and it doesn't look to complicated or daunting. Thanks. Michael (M.HACKETT [Majikthise], CAT17, TOP5, MSG:89/M530) [*][*][*] While on GEnie, do you spend most of your time downloading files? If so, you may be missing out some excellent information in the Bulletin Board area. The messages listed above only scratch the surface of what's available and waiting for you in the bulletin board area. If you are serious about your Apple II, the GEnieLamp staff strongly urge you to give the bulletin board area a try. There are literally thousands of messages posted from people like you from all over the world. [EOA] [DEV]////////////////////////////// DEVELOPER'S CORNER / ///////////////////////////////// News From The A2Pro Online Developers """"""""""""""""""""""""""""""""""""" By Nate C. Trost [A2PRO.GELAMP] >>> ONLINE SUPPORT IN A2PRO <<< """"""""""""""""""""""""""""""" CAT TOP COMPANY === === ======= 29 INDEPENDENT DEVELOPERS ONLINE 2 DYA/DigiSoft Innovations Online 8 Simplexity Software Online 14 Quality Computers Q-LABS Online 20 DreamWorld Software Online 26 METAL/FV Software Online 32 Kitchen Sink Software Online 38 EdIt-16 (Bill Tudor) 30 PROCYON, INC. 31 SOFTDISK PUBLISHING 33 GS+ MAGAZINE 34 JEM SOFTWARE 35 PRODEV, INC. 36 THE BYTE WORKS Each month this column feature highlights and news from various developers who provide support via A2Pro. >>> NEWS FROM PROCYON INC. <<< """""""""""""""""""""""""""""" MULTIUSER GNO QUESTIONS 1) I just installed '3852:MultiUser.BXY' on my """"""""""""""""""""""" system; what a difference!! This package talks about, expects and assumes I had certain utilities installed such as: o Touch -> mine still has the bug that won't create a file. o DialUp -> just don't have it. o MuGS -> Mail access utility, which I don't have. Could you upload these please. 2) Any idea if the Super Serial card driver is available? 3) Could some one upload some sample source code on how processes talk to each other and how to interact with 'init'! I have written an on-screen time/date utility BUT when I do an init 5 or 6 the computer hangs with the time still active as though 'init' is waiting for a response. If I deactivate the time display init 5 and 6 both work properly. Also if I access the finder directly and 'shutdown system' all works OK! I am trying to obtain some of the books listed in the GNO/ME manual but so far no luck. I am also investigating the types of access to the Internet available here in eastern Ontario, Canada (so I can get some direct information) but no luck just yet. Thanks in advance for any information you can supply! (D.MITTON [Doug], CAT30, TOP3, MSG:111/M530) <<<<< I'll see what I can do. MuGS isn't strictly required. """"" >2) Any idea if the Super Serial card driver is available? Not yet. I really ought to make this my next project. >3) Could some one upload some sample source code on how processes talk > to each other and how to interact with 'init'! The only person who knows how to "talk" to init is the author of it, and that's a good thing :-) What you're seeing is the following: When you init 5 or 6, init first shuts down the processes it knows about (in the inittab file). Then, if there are still some processes running, it sends them a SIGTERM signal to allow them a chance to shut themselves down cleanly. If the process ignores SIGTERM, after some timeout period init will send a SIGKILL (killing the process immediately). It's possible that what you're seeing is related to an init bug, and also possible that your program is somehow "taking over" the machine and preventing init from doing its job. Does your clock do anything strange, like shut off interrupts, or set the system busy flag, or anything like that? Jawaid (PROCYON.INC, CAT30, TOP3, MSG:112/M530) >>> NEWS FROM GS+ MAGAZINE <<< """""""""""""""""""""""""""""" MISSING MISCLIB.INT I can't find the file MiscLib.Int anywhere on """"""""""""""""""" GSP.V5.N3. Did I miss it somehow or did it left off? Greg Engelkemeir (G.ENGELKEMEI [Greg], CAT33, TOP5, MSG:39/M530) >>>>> Yes, I think MiscLib.INT was left off V5.N3. The reason for this """"" was SPACE! We ran out of room on that disk fast. Since none of the programs on that disk required Pascal, the interface was left off. If you have a previous GS+ Disk , you can use that interface file since MiscLib didn't change. Or you can wait for V5.N4 for a new .INT file. (I personally protested against taking the file off, but there really wasn't any other way to get everything else on the disk to fit.) (JWANKERL [Joe], CAT33, TOP5, MSG:40/M530) >>> NEWS FROM JEM SOFTWARE <<< """""""""""""""""""""""""""""" ULTRA/REPORTWRITER QUESTIONS I Have AW 3 with Ultra 4 and Tot.Control """""""""""""""""""""""""""" installed. I use it mostly on a IIGS now, but I set up the programs at home on a Laser 128 EX2. When I use it, it is consistently crashing to the monitor and sending the weird letters & numbers to my printer. It seems to happen when I try to modify a formula or import and today I noticed it did it when I went to print Report Writer report, then backed out of it to add a file to the desktop that I had forgotten. It also does it sometimes when I am setting up to print a DB report and I make a change. It did it about 8-10 times in 3-4 hours the other day. Do you have any guesses why it does this? Do you need more specific info? I can sit down and run through some procedures to make it happen. Also, do you know if there will be an update to ReporWriter soon? I don't want to switch to AW4 until then, because I use it extensively. Thanks for your time. Judy Estep (G.ESTEP, CAT34, TOP2, MSG:75/M530) <<<<< ReportWriter for AW4 should be done in a few weeks. I have no idea """"" what could be crashing your AW3 setup unless a file has somehow been damaged and that is causing the problem, or if you're running under GSOS and have some inits which conflict with Ultra 4. Are you booting into P8 or GSOS? (BRANDT [Randy], CAT34, TOP2, MSG:76/M530) >>> NEWS FROM PRODEV, INC. <<< """""""""""""""""""""""""""""" >>>>> My question was how do I trace my code without tracing through all """"" the monitor routines my code might call. We had already established the fact that interrupts generated by GS/OS were the probable cause of the problem. I had tried booting into P8 but that didn't solve the difficulty. You indicated that either ProDev's RT command or setting a trace range in the protection window should do the trick, but that you had discovered an apparent bug in the ProDev software that was allowing monitor routines to enable interrupts even if GSOS was not booted and that it was permitting overriding of the I = 1 setting. You suggested that when a interrupt was indicated by the appearance of a $C074 address during the tracing, I should try setting I = 1 again, and set the program counter back where it should be with the "PC =" command. I concentrated my experiments on the trace range method (I'll try out the RT command later). Apparently, your analysis is correct because I experimented booting in both P-8 and in GSOS; and in both tried the I = 1 setting and the I = 0 setting as well. I got the same results in all four cases. After setting the trace range in the protection window to "T00/F000.FFF0", I entered PC = 300 (the start of my program) and began: 00/0300 20 58 FC JSR FC58 00/FC58 A0 05 LDY #5 00/0303 A9 16 LDA #$16 00/C074 B8 CLV (A = 0000) PC = 0303 ST 00/0303 A9 16 LDA #$16 00/0305 85 06 STA 06 (A = 0016) I tried this several times in each of the four cases mentioned above, and the same results ensued. Note that ProDev went to the address given by the jump instruction (executed the subroutine?) and then returned to the main program at 0303. All as it should be, I believe. After the return from the subroutine, instead of executing 0303, it fell through to the interrupt address, C074. That it did not execute 0303 is shown by the fact that A = 0000 at this point. I followed your suggestion of using PC to reset to 0303. Note that ProDev executed 0303 this time because A is now loaded with 16 as it should be. The rest of the very short program executed without further incident. Of course, there were no more monitor subroutines but I suspect that if there had been the same patterm would have been followed. Is it safe to make the assumption I did that ProDev executed the subroutine before it returned to the main program? If not, I suppose problems could be encountered further into a program that uses a flag or counter set up by a monitor subroutine. If the subroutines are indeed executing before returning, I believe you have given me a good work-around to my problem (until, hopefully, you can find the bug and produce an update). A consummation devoutly to be wished! I went into considerable detail hoping it would be of some help to others and to you in locating the bug. Thank you for all your help. I hope, as I'm sure you do, that my future problems will be few and far between. (R.HOYER1, CAT35, TOP2, MSG:27/M530) <<<<< All of your assumptions are correct Mr. Hoyer. The subroutine is """"" being executed properely, and the interrupt does prevent the LDA instruction from being executed. In my testing I found that only some of the IIGS monitor routines will enable interrupts. Which means that some monitor routines will not cause this problem and some will. Now the question is how to correct this problem. Since the interrupt is being enabled inside a routine that is being executed at full speed (because it is inside a "Trace" range) it is more difficult for the DDT to mask it out. One possible solution that I am looking at is to have the DDT watch for a detour to address $C074 and reset the program counter automatically. Doing what you are doing manually. The other possibility is to change the way in which the DDT traces instructions so that interrupts would be serviced in the background and would not appear to affect the operation of the DDT. I mention these methods here for the benefit of those of DDT users who are making their own modification to the DDT program. I appreciate your patience in trying to track down this problem Mr. Hoyer. If you have any further questions or comments please feel free to contact me again. Chuck Kelly (PRODEV [Chuck], CAT35, TOP2, MSG:28/M530) >>> NEWS FROM THE BYTE WORKS <<< """""""""""""""""""""""""""""""" ORCA ENHANCEMENT CHAT Minor enhancements I'd like to see: """"""""""""""""""""" Editor: 1) configurable keyboard - there are command keys I've just gotten used to on other platforms. 2) shift left/right, like in Prizm Shell: 1) the equivalent of the t parameter in BASIC.SYSTEM - so I can type CAT = -t pascal to see all my pascal source code files Pascal: 1) better support for GSOS strings 2) return strings 3) variable length strings as parameters to functions/procedures - so I can pass a 15 character string when it expects a 35 character string (maybe it's not real Pascal, but it's a worthwhile enhancement) Disassembler: 1) there are a number of interface issues - extra mouse clicks when defining a constant, sometimes I click on one label and end up changing the one above or below the one I wanted - even though it looked like I changed the one I wanted. (C.JOHNSON10 [Cullen], CAT36, TOP3, MSG:86/M530) >>>>> Oh yeah, and while we're in the editor, how about some way to let """"" the keypad keys actually type numbers instead of moving around in the file? :-) (JWANKERL [Joe], CAT36, TOP3, MSG:87/M530) <<<<< Gee, guys, those are easy: """"" Cullen, the keyboard isn't easy to configure, but it can be done. You create the new keyboard map as a separate binary file and stuff it in the shell folder with the editor. The ability was originally put in because the product manager for APW at Apple and several of the engineers kept giving me conflicting orders about what key map to use. I finally set the editor up to read a key map file and sent it to them, and told them to send it back after they slugged it out on their own. :) Worked great. The ability is still in the editor, although I haven't used it in years. Also, the ORCA editor already _has_ shift left and right. It had it before PRIZM. Try option-[ or option-], select text just like you would for a cut/copy/delete, and then press option-[ to shift left or option-] to shift right. Pascal handles variable length strings, too. When you pass a value parameter, the rules for parameter passing are the same as those for assigning strings. For a var parameter, the types must match exactly. That won't change, but there's no real reason to make a change for var parameters. And Joe, you need to invest in some of those $7 updates. :) The 2.0.1 editor doesn't do strange things when you use numbers from the keypad. Only the 2.0 editor had that problem. Mike Westerfield (BYTEWORKS, CAT36, TOP3, MSG:88/M530) HYPERLOGO USES I have been looking at HyperLogo in your advertisements """""""""""""" and I wonder if it will allow me to do the following project with HyperStudio. I want to create a HS stack that is capable of presenting clues about the location of a country and allowing the user to select by clicking on the country on a map. If the incorrect country is selected, then a second clue is presented and this continues until four clues have been presented. I want this stack to select the country to be identified randomly. Presently I have the information about the countries in an AWorks data base. Further, I want the stack to keep track of which countries have been identified by the user and avoid presenting the same country to the same user twice, which means it has to also keep track of which user is online. Finally, I want the stack to award points for successful identification of countries and keep track of those accumulated points for each user. Is this doable using HyperStudio and HyperLogo? If it's doable, is it practical? I guess what I mean is, will it operate at a reasonable speed? The reason I ask about speed is that I tried to do a different project with SimpleScript that involved quite a bit of code and it was very slow. Thanks for your help. Charlie (C.HARTLEY3, CAT36, TOP32, MSG:113/M530) >>>>> You project is certainly possible, and I expect it would run fast """"" enough to suit you. There is, of course, a fair amount of work involved, but I suspect you already know that. Mike Westerfield (BYTEWORKS, CAT36, TOP32, MSG:114/M530) <<<<< A few other questions... """"" 1. Assuming that I used HyperLogo to create this geography stack, and assuming that the user had HyperStudio, would he need HyperLogo to use my stack? 2. Would such a stack be portable to HyperStudio MAC without major reworking? I know that the MAC version will make its way into more schools simply because schools (at least in Kentucky) will not be buying more GS's but they were certainly be buying more MAC's. Roger Wagner's folks were at the recent Kentucky Educational Technology Conference pluging their stuff and there seemed to be considerable interest. 3. What is the present (and future) market for this sort of stack? 4. What would be the best way to market such a project? I'm not necessarily looking for major $$ in a project like this. I am more interested in knowing that such a project will be enjoyed by more than just a few people. Charlie (C.HARTLEY3, CAT36, TOP32, MSG:115/M530) >>>>> Charlie, here's the answers, by the number :) """"" 1. The user would need the runtime module of HyperLogo, which is the Logo equivalent of the runtime module of HyperStudio you license from Roger Wagner when you want to give someone who doesn't have HyperStudio one of your stacks. The Logo runtime module license is free. 2. It would be easier to move a HyperStudio/HyperLogo stack between the two machines than anything else. There is no automatic conversion program that will move the HyperLogo scripts (or any scripts), so you'll have to do that with cut/paste. Also, you will find that the graphics displays on the two machines are different enough that you'll spend a lot of time redoing or touching up your screens. But the stack will be largely portable. 3. I have no idea. I've never sold or distributed commercial stacks. 4. Again, I have no idea. I'd suggest asking Roger Wagner publishing. They publish a lot of stacks, and could probably give you a good idea as to whether _they_ would like to include it in their catalog. If I were selling a commercial stack, that's where I would start. Mike Westerfield (BYTEWORKS, CAT36, TOP32, MSG:116/M530) [EOA] [CAM]/////////////////////////////// CAMPUS GREEN / ////////////////////////////////// Into the HyperTalk Tutor Course """"""""""""""""""""""""""""""" Nate Trost [A2PRO.GELAMP] The HyperTalk Tutor 101 course has completed! All the lessons are now available in the A2Pro library: Lesson 1: 3929 Lesson 2: 3944 Lesson 3: 3961 Lesson 4: 3983 If you have any questions about the course, be sure to stop by the Bulletin Board (Category 22, Topic 26) to ask! [EOA] [HYP]////////////////////////////////// HYPERLOGO TRANSCRIPT / ///////////////////////////////////// Transcript from the HyperLogo RTC """"""""""""""""""""""""""""""""" Nate Trost [A2PRO.GELAMP] OK, I'll give you guys a minute to read all that (or I'll just type slow)... and then we'll get moving. Tonight's special guest is Mike Westerfield of The Byte Works. He's here to answer questions about the new HyperStudio version of 3D Logo, which is called HyperLogo! I'll give Mike this oportunity to introduce himself further now, if he'd like, otherwise, we'll dive right in with any questions you guys have. I'd like to start with a _very_ brief overview of our Logo products. As I hope you know, we have two versions of Logo on the GS: 3D Logo (stand-alone) and HyperLogo (for HyperStudio). Both are really the same language inside, so you can move stuff between them. HyperStudio Mac also uses HyperLogo as it's scripting language, and you can move programs among all three versions. I'm working on 3D Logo Mac now. When it's finished, you'll literally be able to write a desktop program in Logo on, say, a GS, then walk over to a Mac on the same network and run the program there -- unmodified! HyperLogo has been out for a while, but we had so many new releases that the introductory conference couldn't be scheduled until now. How many of you already have it? (And then let's answer those questions!) Hmm.. we're listen only right now... want me to open it up so they can answer? Sure, Dave. That might effect anything I say in the "dead" time -- if any. OK... Mike's asking who here has HyperLogo already. OK, don't be bashful. Who has one of our Logos? And if you don't, do you know Logo? I have it...it's cool! I have 3D Logo, but not HyperLogo (don't have HyperStudio) I have both of them and it's been fun trying to learn. Aside from the 3D aspect how similar is it to Apple Logo II/LCSI Logo II? I don't have either yet. Is there a learn to program in Logo available? Hmmm questions questions... :) I'll catch those questions as soon as the "survey" is over and we're back out of "talk" mode. :) I have HyperStudio, but do so little in it that I haven't purchased HyperLogo. Brian, what about 3D Logo? I do not have your Logo yet. I don't have that either, Mike. I have Apple Logo, Lego Logo, and LCSI LOGO. and would love 3D logo. :) Right now we're answering Mike's question about which Logo's we have. If you'd like to ask a question, please type '/raise' and we'll call on you in turn. I keep running out of memory when I'm trying to run movies. I have a 4 meg Ram card d but no hard drive OK, Dave. Thanks for letting me take that survey! No problem :) OK, while you folks type /rai, let me answer the questions that snuck through. :) Fred, our Logo is based on Apple Logo. There are some differences, due to the fact that theirs used a split text/graphics screen, ProDOS, no tools, and didn't run inside \ HyperStudio, but most of the stuff you learned and wrote under Apple Logo still applies to 3D Logo. We do have some extra stuff, though: true 3D, either sterioscopic (with special glasses) or full color; movies; text to speech; and an easy toolbox interface. Binary Bear: Nope, we don't have a Learn to Program Logo, yet, but there are a lot of good Logo books. A good general book is "Computer Science, Logo Style." A fun book that would be tough to redo in a "traditional" language is "Exploring Language with Logo." It really shows off Logo's AI capabilities! I think that's all of the questions that slipped through. If I missed any, remind me when you use /rai. Hi, Mike. Regarding text-to-speech... A while ago (perhaps a couple of years) we leartned that First Byte.. was asking an extravagant licensing fee for commercial use of the Talking Tools.. has that changed? GA No. Their fee, last I checked, was $6000 per program plus a 10% royalty. On the other hand, you can ask folks to treat Talking Tools like hardware -- they buy our package if they want to use it. Our Logo ignores it if it isn't there, so you can always code for it, and your stuff will work fine if it is there, and just not do the speech if it isn't. I can program in BASIC. Do I have to buy any thing other than your package to get up and running? No. Assuming you have System 6.0, of course. You can add Talking Tools if you want, and you might want to get a book or two. Lots of libraries have them, though, so you may not need to spend any money. :) I keep running out of mememory when running the sample movies, I have a 4 meg Ram card but no hard drive? Movies do take a lot of memory. Depending on what else is going on, though, you should be able to create a 40 frame movie pretty easy; longer in some cases. Will 3D logo support LCSI's Lego TC Logo? Good question. It doesn't so far, but we're looking into LEGO support. The issue is that LEGO just changed their interface. The new one is, if you can immagine, encrypted, so we can't use it without their password -- and they want to control the market, so they aren't giving it out (yet). Roger Wagner is gently discussing the issue of brain-death with them. Once that's resolved, we'll pick the hardware interface, and get a LEGO interface up and going. Cool. How transferable is the 'source code' to a Mac? I would imagine it is slightly more complex than copying the file, Yes,No? Actually, no. There are some differences between the two computers because of the number of colors, but if you avoid the very few calls that deal with the low-level machine colors, you can run the same program on either machine. From a server, you can run _litterally_ the same program, running it from either the Mac or GS. So, you could use the mac's default '16 color pallette' with very few changes then? You bet. Logo has a SetPC command -- if you stick to that, and don't use SetPCRGB to address the full Mac color pallette, your programs won't need any change! Last question. Does logo know what machine it is running on? for a sort of 'if I am on a gs, then use this pallette, if I am on a mac use this pallette? There is no _direct_ way to tell, but you can get just a bit tricky: Use PrimitiveP to see if the Mac color commands exist. If they do, you're on a Mac -- if not, you're on a GS. Done. thanks. I must buy this. To followup on the color question... in the GS HyperLogo then, are we limited to just the 8 Turtle graphics colors? Yes and no. You're limited to the color palette, but HyperLogo uses dithered colors to give you a choice between 16 total colors, even in 640 mode. One more question, Mike... Could you describe what the install process does to HyperStudio and is it "uninstallable"? Our installer installs a small stub in HyperStudio that loads the full program from disk only when you use it. It also copies that full program to the disk. There is no de-installer (never thought of that -- maybe I should add one), but the program is not useable without the external file. (Oh -- you can use Rez/DeRez to get rid of the stub, of course.) How would you compare HyperLogo and HyperTalk? It's like comparing BASIC to C. They're just different languages. HyperTalk is tied closer to the underlying system, but Logo has better string handling, AI commands, plus better graphics. A 1 to 1 comparison would be _really_ tough. OK, if not, then we'll let Mike make an announcement :) OK, while we're waiting for more questions to fill up the queue, I'd like to mention our "universal door prize." This is available to everyone -- even those normally not eligible because they're employed on the net (GEnie doesn't like them to scarf up your prizes :) If you order HyperLogo or 3D Logo in the next 72 hours, you get 10% off of the introductory price. The introductory price is $50 for either program, or $85 for buth HyperLogo and 3D Logo! You can also get Talking Tools for $30. The retail prices are $95 for each version of Logo, and $50 for Talkig Tools! So, as you can see, you can save a _bundle_. What if you already have HyperLogo? Well, we'll send you a 10% discount coupon good for your next order of a Byte Works product. (You _must_ have HyperLogo to get the coupon.) If you need ordering details, or would like a printed brocure sent to you, let me know. You can contact me by e-mail, or ask here. Mike: As 3D Logo is a interpreted language, it can't be used in conjunction with the other ORCA languages, right? Right. Incidentaly, it is possible to use an interpreted language from ORCA, but Logo really needs a special environment, too. Like LISP and Forth, Logo just wouldn't "feel" right from ORCA. Will the 3D graphics routines ever be released for use with the other ORCA languages? That would be cool :) They would have to be reworked a bit. But maybe. What are you after -- 3D turtle graphics? Or something else? I just think the ability to do similar 3D graphics would be cool. Kinda like the turtle. Brian, I'll consider that seriously. Maybe we can start a topic in A2Pro so I can find out what you, and other folks, really want from such a package. Sound good? Great :) Dave suggested I state my particulars for the record, and for people who don't have one of our products so they can flip open a cover. :) Here they are: Mail: Byte Works, Inc. 4700 Irving Blvd., NW, Suite 207 Albuquerque, NM 87114 Phone: (505) 898-8183, M-F, 8AM-5PM Mountain, with an irregular lunch "hour" Do you accept orders via E-mail (with visa?) Yes. We ask that you send the following with e-mail orders: your name your full mailing address VISA or MC Card # & expiration date What you want What you expect to pay Shipping is generally $5 in the US; it is for the Logos, for example. That's $5 per order, not per product. If you need shipping for somewhere other than the US just let me know! Have you had a chance to see how well... HyperLogo and SimpleScript coexist in the same stack, on the same card for instance? They seem to work together just fine, but I haven't actually tried them on the same card. I don't see why there might be a prioblem. Was talking tools included __WITH__ the purchase of HyperLogo. I missed the prices previously mentioned..and can they RUN with THE MANAGER [ provided there is enough DIRECT Page and/or memory for them? Talking Tools is not included with HyperLogo. Retail prices and discount prices, in a slicgtly clearer format, are: product price dicounted 3D Logo $95 $50 HyperLogo $95 $50 Both 3D Logo & HyperLogo $190 $85 Talking Tools $50 $30 These are introductory prices, good until we finish our introductory mailing (probably 30 April 94.) OH... I missed part of your question. Sorry... I have not tested 3D Logo with the Manager. It does not do anything tricky, and doesn't use tons of DP space, so I don't see why it wouldn't work. HyperLogo probably does use up too much DP space, by the time you count both the HyperLogo and HyperStudio DP space. Again, I haven't tried the Manager yet, though. OK, I'd like to thank everyone for coming! I'd especially like to thank Mike for coming and sharing with us tonight! ...and I'd like to thank you all for having me! [EOA] [LIB]////////////////////////////// LIBRARY BIT BONANZA / ///////////////////////////////// HOT Files You Can Download """""""""""""""""""""""""" By Tim Buchheim [T.BUCHHEIM] >>> Merlin utilities <<< """""""""""""""""""""""""" File # 4026 SHOWRVER.BXY V1.0 (GS) Uploaded on 3/29/94 by RICHARD.B About 3K (d/l time approx. 18 seconds @ 2400 baud) Merlin EXE which displays the rVersion resource of the file you choose. Supports full GS/OS pathnames, and works from command line, command box or Merlin link file. File # 4020 CREATE.BXY V1.0 (GS) Uploaded on 3/28/94 by RICHARD.B About 3K (d/l time approx. 18 seconds @ 2400 baud) Merlin EXE command "CREATE" to creat full GS/OS pathname syntax folder from the command line, command box or link file. Handy when used with "COPYFORK" for creating destination folders. File # 4007 DISREZ.1.0.BXY (GS) Uploaded on 3/24/94 by B.WELLS5 About 70K (d/l time approx. 6 minutes @ 2400 baud) DISREZ v1.0 is a Merlin 16+ EXE utility that lets you disassemble resources as Merlin source code! All the resources and control templates defined in the _Apple IIgs Toolbox Reference: Volume 3_, the _Programmer's Reference for System 6.0_, and various technical notes are supported by this version of DISREZ. If that's not enough, DISREZ also utilizes modules to support additional resources and control templates as they are defined! :) This version is FreeWare, so share it far and wide with other Merlin users! File # 4006 ADDREZ.1.0.BXY (GS) Uploaded on 3/24/94 by B.WELLS5 About 5K (d/l time approx. 30 seconds @ 2400 baud) ADDREZ v1.0 is a Merlin 16+ EXE utility that lets you easily convert data forks to resources and add them to a resource fork. The type, ID (or range of ID), and attributes or the resource to be added to the fork can be specified. This version is FreeWare. Please share it with other Merlin users far and wide! :) >>> HyperTalk Tutor 101 <<< """"""""""""""""""""""""""""" File #3983 HTTUT101.L4.BXY (GS) Uploaded on 3/13/94 by A2U.PROF1 About 65K (d/l time approx. 6 minutes 30 seconds @ 2400 baud) This is lesson 4 and the install stack for lesson 4 of the HyperTalk Tutor 101 course. Unshrink into the same folder as HyperTalk Tutor and run the install stack to update the Course Table of Contents. The install stack is not needed after the Table of Contents has been updated. File #3961 HTTUT101.L3.BXY (GS) Uploaded on 3/4/94 by A2U.PROF1 About 45K (d/l time approx. 4 minutes 30 seconds @ 2400 baud) This is Lesson 3 and the install stack for lesson 3 for the HyperTalk Tutor 101 course. Unshrink into the same folder as HyperTalk Tutor, run the install stack to update the Table of Contents. The install stack isn't needed once it has been run once to update the TOC. >>> comp.sys.apple2 <<< """"""""""""""""""""""""" File # 3999 CSA2PROG.14.BXY (ALL) Uploaded on 3/23/94 by B.TAO About 30K (d/l time approx. 3 minutes @ 2400 baud) Digest of messages from the comp.sys.apple2.programmer Usenet newsgroup, for the week ending Mar 20, 1994. This week's highlights (total of 44 messages): o Merlin 16+ Question o New Project: VT-100 o The PHOENIX Project File # 3998 CSA2GNO.14.BXY (GS) Uploaded on 3/23/94 by B.TAO About 19K (d/l time approx. 1 minutes 54 seconds @ 2400 baud) Digest of messages from the comp.sys.apple2.gno Usenet newsgroup, for the week ending Mar 20, 1994. This week's highlights (total of 30 messages): o DRWM 2.0 - what would YOU like to see? o libc (huh?) o xLogin File #3997 CSA2SUBJ.14.BXY (ALL) Uploaded on 3/23/94 by B.TAO About 6K (d/l time approx. 36 seconds @ 2400 baud) Subject listing for the comp.sys.apple2, csa2.comm, csa2.marketplace, csa2.gno, csa2.programmer and csa2.usergroup digests for the week ending Mar 20, 1994. File #3991 CSA2GNO.13.BXY (GS) Uploaded on 3/18/94 by B.TAO About 30K (d/l time approx. 3 minutes @ 2400 baud) Digest of messages from the comp.sys.apple2.gno Usenet newsgroup, for the week ending Mar 12, 1994. This week's highlights (total of 45 messages): o DRWM and XProcesses o Modification to GNO Snooper o Problem with FIONREAD and CBREAK mode... o TCP/IP stuff o TwilightII and GS GNO File #3990 CSA2SUBJ.13.BXY (ALL) Uploaded on 3/18/94 by B.TAO About 4K (d/l time approx. 4 seconds @ 2400 baud) Subject listing for the comp.sys.apple2, csa2.comm, csa2.marketplace, csa2.gno and csa2.programmer digests for the week ending Mar 12, 1994. File #3982 CSA2PROG.12.BXY (ALL) Uploaded on 3/13/94 by B.TAO About 77K (d/l time approx. 7 minutes 42 seconds @ 2400 baud) Digest of messages from the comp.sys.apple2.programmer Usenet newsgroup, for the week ending Mar. 5, 1994. This week's highlights (total of 72 messages): o 8-bit shells o Assembly with Merlin 8 o List control problems...? o Writing an Init o how to deal with resources? File #3981 CSA2GNO.12.BXY (GS) Uploaded on 3/13/94 by B.TAO About 58K (d/l time approx. 5 minutes 48 seconds @ 2400 baud) Digest of messages from the comp.sys.apple2.gno Usenet newsgroup, for the week ending Mar. 5, 1994. This week's highlights (total of 96 messages): o DRWM and Xlogin GREAT!!! o GNO Review in GS+ o Proposal for multi-port serial card o open, read, and write File #3980 CSA2SUBJ.12.BXY (ALL) Uploaded on 3/13/94 by B.TAO About 9K (d/l time approx. 54 seconds @ 2400 baud) Subject listing for the comp.sys.apple2, csa2.comm, csa2.marketplace, csa2.gno and csa2.programmer digests for the week ending Mar. 5, 1994. Note that for all newsgroups except csa2, messages for the week ending Feb. 26, 1994 are included in "week 12" (that is, there is no separate digest for "week 11"). File #3970 CSA2PROG.10.BXY (ALL) Uploaded on 3/7/94 by B.TAO About 30K (d/l time approx. 3 minutes @ 2400 baud) Digest of messages from the comp.sys.apple2.programmer Usenet newsgroup, for the week ending Feb. 19, 1994. This week's highlights (total of 32 messages): o Dialog Information Wanted o ProDOS 2.02 - (No Buffers Avial.) ?How to control pages? o Using getDirEntry... o [--- What is METAL ? ---] File #3969 CSA2GNO.10.BXY (GS) Uploaded on 3/7/94 by B.TAO About 23K (d/l time approx. 2 minutes 18 seconds @ 2400 baud) Digest of messages from the comp.sys.apple2.gno Usenet newsgroup, for the week ending Feb. 19, 1994. This week's highlights (total of 40 messages): o GNO & the HFS FST o gnocon TERMCAP under UNIX o UUCP Polling under GNO File #3968 CSA2SUBJ.10.BXY (ALL) Uploaded on 3/7/94 by B.TAO About 5K (d/l time approx. 30 seconds @ 2400 baud) Subject listing for the comp.sys.apple2, csa2.comm, csa2.marketplace, csa2.gno and csa2.programmer digests for the week ending Feb. 19, 1994. >>> Documentation (for various programs) <<< """"""""""""""""""""""""""""""""""""""""""""" File # 4014 DTU4.0.DOCS.BXY (GS) Uploaded on 3/26/94 by B.TAO About 66K (d/l time approx. 6 minutes 36 seconds @ 2400 baud) This AppleWorks 3.0 word processing file contains developer information for writing modules for the upcoming Desktop Utilities 4.0. Unlike 3.3, DTU4 is completely modular. The main kernel will dispatch calls to resident modules (such as the existing QuickSwitch, Virtual DA or Menu Clock modules). The documentation describes the DTU4 IPC mechanism, predefined resource types, DTU4 kernel calls and submodule management. DTU4 written by Tony Morton and Rob Mueller. File #3955 LISA3.4.DOC.BXY (ALL) Uploaded on 2/26/94 by B.TAO About 52K (d/l time approx. 4 minutes @ 2400 baud) This is the complete documentation for the 8-bit LISA 3.4 assembler and ANIX shell. >>> Miscellaneous <<< """"""""""""""""""""""" File # 4022 HIER.LIB.BXY (GS) Uploaded on 3/28/94 by R.ADAMS48 About 11K (d/l time approx. 1 minutes 6 seconds @ 2400 baud) This is the second version of the assy library I created for use with ORCA/ Pascal to allow me access to Seven Hills' Hierarchic Init. The code is based on their supplied Merlin code, and is re-worked by me into ORCA/M. Most routines _work_, but could most likely use some cleaning up because my knowledge of assy is rather limited. If you'd like to take a look and offer suggestions for improvement, please do. A Pascal interface file is included. File # 4015 GIFFYSAVE.BXY (GS) Uploaded on 3/26/94 by B.TAO About 27K (d/l time approx. 2 minutes 42 seconds @ 2400 baud) Source code (65816 assembly), documentation and a sample application (a GS graphic->GIF convertor) are included in this archive. There is a bug in the converter, however: odd-sized images become skewed when saved as a GIF picture. It seems to work fine with 320x200 pictures though. Freeware by Thomas Dorris. File # 4011 LUNY.ESSAY.BXY (ALL) Uploaded on 3/26/94 by A2.LUNATIC About 7K (d/l time approx. 42 seconds @ 2400 baud) This is an old essay I wrote for a college English class over six years ago. It is oriented towards non-computer users, so please excuse its simplicity (just skip over the descriptions of types of computer languages). This essay describes a hypertext-based development system that I designed years ago to make programming easier and faster. Since I switched majors from Computer Engineering to Theatre Arts shortly thereafter it never really got anywhere beyond the concept stage! Still, you may find this paper quite interesting. If people feel it worthwhile, I could even start a Topic in the BB to discuss it and update it with current technology and concepts. This is a text file packed with ShrinkIt. File # 4003 GYRUSSTARS.BXY (GS) Uploaded on 3/23/94 by B.TAO About 152K (d/l time approx. 15 minutes 12 seconds @ 2400 baud) This program creates a decent looking starfield and allows you to move forwards, backwards, sideways, pan left/right/up/down, or rotate the stars interactively through the keyboard, or with a pre-defined script. Assembly source code included. Written by Rob Mueller of GyruS Software. File #3995 BSC.BXY (GS) Uploaded on 3/20/94 by B.TAO About 35K (d/l time approx. 3 minutes 30 seconds @ 2400 baud) C source code and UNIX man pages for the 'bsc' utility (converts binary files into multi-part Binscii archives). Includes brief documentation on the Binscii file format. File #3994 GAMEHACK1.4.BXY (GS) Uploaded on 3/19/94 by B.TAO About 17K (d/l time approx. 1 minutes 42 seconds @ 2400 baud) Game Hacker 1.4 improves on the previous version by adding support for SpaceFox (infinite lives, shot speed and number of shots set to 9) and The Tinies GS (no more time limit). This brings the number of games supported by Game Hacker to twenty nine. Source code is also included with this release. Please read the documentation on restrictions of its use. Shareware by Nathan Mates. File #3974 LINKMAP.TXT (GS) Uploaded on 3/10/94 by BYTEWORKS About 38K (d/l time approx. 3 minutes 48 seconds @ 2400 baud) This is the linkmap for the ORCA/C compiler. It was uploaded for an RTC about linker output and memory models. File #3965 CLAYS.ATOOL.BXY (GS) Uploaded on 3/5/94 by C.JUNIEL About 16K (d/l time approx. 1 minutes 36 seconds @ 2400 baud) Clays.ATool is a user animation tool for the IIGS. With it you can animate shapes and play sounds saved to an animation table created by Arcade King Super. It can alos play music files created by Music Studio, Sound Smith, SynthLAB and Music Composer. File #3964 ARCADE.KING.BXY (GS) Uploaded on 3/5/94 by C.JUNIEL About 354K (d/l time approx. 35 minutes 24 seconds @ 2400 baud) With this program you can create shapes and save them to a table. You can also save sounds to the same table. With the animation tool (Clays.ATool) you can animate the shapes and play the sounds. Music can also be played using the animation tool File #3958 N2R.A.BXY (GS) Uploaded on 2/28/94 by J.WILLETT About 12K (d/l time approx. 1 minutes 12 seconds @ 2400 baud) This utility allows unix C source code to be loaded and compiled using the ORCA/C compiler. It reads the unix file and converts the newline character to a carriage return then creates a second file for use in your compiler. It is also useful for cleaning up text files to be read by an Apple word processor. This file replaces N2R.SHK which contained a typo in the docs file. File #3956 RERRSTRNG.BXY (GS) Uploaded on 2/27/94 by K.LUCKE About 20K (d/l time approx. 2 minutes @ 2400 baud) GS/OS looks in the Sys.Resources file for any default error strings that a program doesn't handle. Unfortunately, it doesn't have a full set of them as it comes from Apple. You get 'Unknown Error' or obscure error messages that don't really help. This file will automatically add a COMPLETE set of ALL GS/OS and System 6.0.1 rErrorStrings to your Sys.Rsources file . Just boot from different disk than the one you want to modify, run this application, point it to your Sys.Resource file on the disk you normally boot, it does the rest. Reboot & Enjoy! [EOA] [TOU]/////////////////////////////// TOUR OF 8/16 CENTRAL / ////////////////////////////////// The Great Programmers Magazine """""""""""""""""""""""""""""" Chris Budewig [K.FLYNN] A full directory of all files on each issue of 8/16 and 8/16-Central can be found in file #3382 (ESC.INDEX.BXY). A condensed directory of the contents of this issue is included below. The code letters in parentheses next to each item mean: S : Source code -- what you need to create a program X : Executable program -- you can run this directly! D : Documentation -- tells how the program works and what to do with it A : Article -- explains a subject and probably the source code that demonstrates it >> 8/16-Central - March, 1991 - File #3407 << """"""""""""""""""""""""""""""""""""""""""""" /ES.CENTRAL.9103/ ..About.This.Disk Introduction and complete catalog listing ..Contents Table of Contents ..Columns/ ....WhatsNew (A) About the latest in the world of Apple II ....HyperLab/ (SXA) How to make your HyperStudio stacks smaller by understanding parent/child cards - also, a new HS XCMD that allows posting events to your GS's event queue ....VAPORWARE (A) Murphy Sewall's industry snapshot ..Q.And.A/ ....LETTERS Readers Write ....KansasFest An ad for KansasFest '91 ....AOL.TT America Online TechTalk - IIGS Toolbox Wish List ....GE.TT GEnie TechTalk - Using FakeModalDialog ..Apple.II/ ....SFGet/ (SXA) Karl Bunker's ampersand-driven Standard File Dialog clone that you can call from Applesoft ....Windows/ (SXA) 80-column text windowing system for 8-bit assembly programmers - part two of three ..Apple.IIgs/ ....CONTROLS/ (SXA) How to create custom controls or the creation of a thermometer ....COPYPIXELS/ (SXA) How to use the CopyPixels tool call to copy or resize pictures ..Goodies/ ....Solitaire/ (SXD) An NDA version of the card game Solitaire ....StrLib/ (XD) A library of string routines you can link in This month, Karl Bunker gives us his code to clone the Standard File Dialog that all IIGS users have come to know (and love?). It is designed to be installed from Applesoft and called with the ampersand hook (&). Now, instead of forcing the users of your program to remember where they put that file by asking "Enter pathname:", you can just call this routine and let them navigate through their disks LOOKING for the file. Tom Hoke, one of the authors of Appleworks GS, shows how to create custom controls, specifically, the thermometer control seen when GS/OS boots up. I know what you're thinking - the thermometer has been incorporated into the system software and doesn't need to be a custom control anymore. This is true, but you can still use this article to learn how to create OTHER custom controls. >> 8/16-Central - April, 1991 - File #3408 << """"""""""""""""""""""""""""""""""""""""""""" /ES.Central.9104/ ..About.This.Disk Introduction and complete catalog listing ..Contents Table of Contents ..Columns/ ....WhatsNew (A) About the latest in the world of Apple II ....HyperLab/ (SXA) An XCMD to use the Message Center from HyperStudio ....VAPORWARE (A) Murphy Sewall's industry snapshot ..Q.And.A/ ....LETTERS Readers Write ....AOL.TT America Online TechTalk - Assembly sound & debugging ....GE.TT GEnie TechTalk - NDAs: menus and drawContent routines ..Apple.II/ ....MAB/ (SXA) Albert Chin-a-young wraps up his series of articles on windows & menus and shows how to easily include his routines (and other assembly code) in your Micol Advanced Basic programs with his linking protocol ....GENERIDISK/ (SA) A (pseudo)generic set of routines to make system calls that you can link into your 8-bit programs from Jay Jennings ..Apple.IIgs/ ....SuperCat/ (SXA) 'Tree' catalog program and C tutorial ....TaskMasterDA/ (SXA) Using the TaskMasterDA toolbox call (and Nate Trost's NDA shell) to make creating NDA's easy ....GeneriDisk/ (SA) A (pseudo)generic set of routines to make system calls that you can link into your 16-bit programs from Jay Jennings ..Goodies/ ....Modem.Mgr/ (XD) Shareware user toolset to manage the modem port Ever get tired of writing those little pieces of code that are not quite long enough to be worth the trouble of searching through your old source? Jay Jennings presents his source code to makes system calls. It comes in both an 8 and 16-bit version and takes care of organizing those pesky little data structures for you. Cecil Fretwell's article, which presents his nifty disk cataloging program, doubles as a tutorial on the ins and outs of writing portable C code. The article is so big (80K!), it was split into two files of less than 64K so that everyone would be capable of reading it. If you're learning how to write C programs that compilers on other platforms will be able to understand, this article is for you!. [EOA] [OFF]/////////////////////////////// OFF THE DEEP END / ////////////////////////////////// Fancy Turns To.....HyperCard? """"""""""""""""""""""""""""" By Nate Trost [A2PRO.GELAMP] TOP 10 SIGNS YOU'VE GOT SPRING FEVER """""""""""""""""""""""""""""""""""" 10. Sent Mike Westerfield your list of 14,328 feature ideas for the ORCA product line 9. Every time you bonk into GSBug you imagine the Diet Pepsi girls behind you doing the "Uh-huh" chorus 8. You get tired of HyperCard IIGS and decide to write your own version in Applesoft. 7. You find yourself staying up until 3 A.M. typing in programs published in a 1982 issue of Nibble 6. Can actually remember all of the current Macintosh models 5. Created a program written in ORCA/M/PASCAL/C/MODULA-2 and INTEGER BASIC 4. Started heading to Avila College, home of KansasFest...on foot 3. Sent a really keen new freeware program you wrote to Joe Kohn using the pseudonym Billy Dee Williams 2. Wrote a full-fledged relational database for the IIGS, said "aw, shucks", and chucked your hard drive down the garbage disposal 1. Tattooed the ORCA whale on your thigh >>> SECRET MESSAGE! <<< """"""""""""""""""""""" Here's the way-cool, super-keen, fab, GEnieLamp A2Pro April 1994 Secret Message! Be sure to use your official Captain Nate GEnieLamp A2Pro Secret Decoder Ring and Carpet Spot Remover to read the message for information on the personal lives of popular Apple II programmers! If you don't have the official Captain Nate GEnieLamp A2Pro Secret Decoder Ring and Carpet Spot Remover just send $9.95 plus $4.95 shipping and handling plus any applicable sales tax plus a $2 processing fee and a banana peel to: Captain Nate GEnieLamp A2Pro Secret Decoder Ring and Carpet Spot Remover Offer, POed Box 65816 Toolbox, GS 60100 (allow 8-9^2 weeks for delivery) Do not send cash, checks, or money orders, only the Arabian Express card (available in Talisman: Challenging the Sands of Time packages everywhere) will be accepted. And now...the message, courtesy of Smelloggs Froot Lugies: HFGYWKNV IVFURQMOAUE GHNBNB#IUFY AOA#WJ@MNCF(* ...AHEHEBBW)U#HE [EOA] [LOG]////////////////////////////// LOG OFF / ///////////////////////////////// GEnieLamp Information """"""""""""""""""""" o COMMENTS: Contacting GEnieLamp o GEnieLamp STAFF: Who Are We? GEnieLamp Information GEnieLamp is published on the 1st of every month """"""""""""""""""""" on GEnie page 515. You can also find GEnieLamp on the main menus in the following computing RoundTables. RoundTable Keyword GEnie Page RoundTable Keyword GEnie Page """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" DigiPub DIGIPUB 1395 Atari ST ST 475 Macintosh MAC 605 IBM PC IBMPC 615 Apple II A2 645 Apple II Dev. A2PRO 530 Macintosh Dev. MACPRO 480 Geoworks GEOWORKS 1050 BBS BBS 610 CE Software CESOFTWARE 1005 Mini/Mainframe MAINFRAME 1145 Programming PROGRAMMING 1445 Data Comm. DATACOMM 1450 (Windows Coming Soon!) GEnieLamp is also distributed on CrossNet, Internet, America Online, Delphi and many public and commercial BBS systems worldwide. o To reach GEnieLamp on Internet send mail to genielamp@genie.geis.com OR jpeters@sosi.com o Our Internet anonymous FTP address is: sosi.com. All current versions of GEnieLamp are available in the ~/pub/GEnieLamp directory. Due to the added expense involved, we ask that when you get GEnieLamp via the anonymous ftp for GEnieLamp, that it _not_ be ftp'd during the hours of 9AM and 5PM Eastern Standard Time. We appreciate your cooperation in this matter. o Current issues of all versions of GEnieLamp as well as back issues of GEnieLamp IBM are File Requestable (FREQable) via FidoNet (Zones 1 through 6) from 1:128/51 and via OURNet (Zone 65) from 65:8130/3. SysOps should use the following "magic names" to request the current issue of the indicated GEnieLamp platform (FREQ FILES for names of back issues of GEnieLamp IBM): Platform Magic Name To Use """""""" """"""""""""""""" GEnieLamp IBM .................. GLIBM GEnieLamp ST ................... GLST GEnieLamp A2Pro ................ GLA2PRO GEnieLamp Macintosh ............ GLMAC GEnieLamp TX2 .................. GLTX2 GEnieLamp A2 ................... GLA2 o Back issues of GEnieLamp are available in the DigiPub RoundTable Library #2 on page 1395. M1395;3 o GEnieLamp pays for articles submitted and published with online GEnie credit time. Upload submissions in ASCII format to library #42 in the DigiPub RoundTable on page 1395 (M1395;3) or Email it to GENIELAMP. On Internet send it to: genielamp@genie.geis.com o We welcome and respond to all E-Mail. To leave comments, suggestions or just to say hi, you can contact us in the DigiPub RoundTable (M1395) or send GE Mail to John Peters at [GENIELAMP] on page 200. o If you would like to meet us "live" talk to us every Wednesday night in the Digi*Pub Real-Time Conference, 9:00 EDT. M1395;2 o The Digital Publishing RoundTable is for people who are interested in pursuing publication of their work electronically on GEnie or via disk-based media. For those looking for online publications, the DigiPub Software Libraries offer online magazines, newsletters, short-stories, poetry and other various text oriented articles for downloading to your computer. Also available are writers' tools and 'Hyper-utilties' for text presentation on most computer systems. In the DigiPub Bulletin Board you can converse with people in the digital publishing industry, meet editors from some of the top electronic publications and get hints and tips on how to go about publishing your own digital book. The DigiPub RoundTable is the official online service for the Digital Publishing Association. To get there type DIGIPUB or M1395 at any GEnie prompt. >>> GEnieLamp STAFF <<< """"""""""""""""""""""" GEnieLamp o John Peters [GENIELAMP] Publisher/Editor """"""""" IBM o Bob Connors [DR.BOB] EDITOR """ o David C. Leithauser [D.LEITHAUSER] HyperRead Editor o Brad Biondo [B.BIONDO] IBM Staff Writer o Tippy Martinez [WIN.LAMP] IBM Staff Writer o David Holmes [D.HOLMES14] IBM Staff Writer o Don Lokke [D.LOKKE] Cartoonist WINDOWS o Tippy Martinez [WIN.LAMP] EDITOR """"""" o John C. Osarczuk [J.OSARCZUK] Windows Staff Writer o Brad Biondo [B.BIONDO] Windows Staff Writer MACINTOSH o Richard Vega [GELAMP.MAC] EDITOR """"""""" o Tom Trinko [T.TRINKO] Mac Staff Writer o Bret Fledderjohn [FLEDDERJOHN] Mac Staff Writer o Ricky J. Vega [GELAMP.MAC] Mac Staff Writer ATARI ST o John Gniewkowski [GENIELAMP.ST] ST EDITOR """""""" o Mel Motogawa [M.MOTOGAWA] ST Staff Writer o Sheldon Winick [S.WINICK] ST Staff Writer o Richard Brown [R.BROWN30] ST Staff Writer o Al Fasoldt [A.FASOLDT] ST Staff Writer o Fred Koch [F.KOCH] ST Staff Writer o Sandy Wolf [S.WOLF4] ST Staff Writer ATARI ST/TX2 o Cliff Allen [C.ALLEN17] EDITOR/TX2 """""""""""" ATARI [PR] o Bruce Faulkner [R.FAULKNER4] EDITOR/GEnieLamp [PR] """""""""" APPLE II o Doug Cuff [EDITOR.A2] EDITOR """""""" o Tara Dillinger [TARA.D] Co-Editor o Phil Shapiro [P.SHAPIRO1] A2 Staff Writer o Mel Fowler [MELSOFT] A2 Staff Writer o Darrel Raines [D.RAINES] A2 Staff Writer o GEna E. Saikin [A2.GENA] A2 Staff Writer o Steve Weyhrich [S.WEYHRICH] A2 Staff Writer A2Pro o Nate C. Trost [A2PRO.GELAMP] EDITOR """"" o Tim Buchheim [T.BUCHHEIM] Co-Editor ETC. o Jim Lubin [J.LUBIN] Add Aladdin/Scripts """" o Scott Garrigus [S.GARRIGUS] Search-ME! o Bruce Maples [B.MAPLES] Copy Editor o Mike White [MWHITE] (oo) / DigiPub SysOp o Susie Oviatt [SUSIE] ASCII Artist \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\//////////////////////////////////// Bulletin board messages are reprinted verbatim, and are included in this publication with permission from GEnie and the source RoundTable. GEnie, GEnieLamp Online Magazines, and T/TalkNet Online Publishing do not guarantee the accuracy or suitability of any information included herein. Opinions expressed are those of the individual, and do not represent opinions of GEnie, GEnielamp Online Magazines, or T/TalkNet Online Publishing. Material published in this edition may be reprinted under the follow- ing terms only. Reprint permission granted, unless otherwise noted, to registered computer user groups and not for profit publications. All articles must remain unedited and include the issue number and author at the top of each article reprinted. Opinions present herein are those of the individual authors and does not necessarily reflect those of the publisher or staff of GEnieLamp. We reserve the right to edit all letters and copy. Please include the following at the end or the beginning of all reprints: \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\//////////////////////////////////// (c) Copyright 1994 T/TalkNET Online Publishing and GEnie. To join GEnie, set your modem to 2400 baud (or less) and half duplex (local echo). Have the modem dial 1-800-638-8369. When you get a CONNECT message, type HHH. At the U#= prompt, type: XTX99014,DIGIPUB and hit the [return] key. The system will then ask you for your information. Call (voice) 1-800-638-9636 for more information. ////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ [EOF]