17.07.2016 Views

COAET" • r

Apple-Orchard-v3n2-1982-May-Jun

Apple-Orchard-v3n2-1982-May-Jun

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

APPLE/// INVOKABLE MODULES<br />

by Alan Anderson<br />

In the last issue we talked about how SOS calls are put<br />

into Assembly language programs, and how to link those<br />

Assembly language programs to Pascal programs. This<br />

issue, by popular demand, we'll reveal how to go about<br />

writing invokable modules to enhance the power of Business<br />

BASIC. The things mentioned at the end of last issue<br />

will appear next time (unless, of course, popular demand<br />

again dictates otherwise).<br />

But First, a Word 'from our Sponsor ...<br />

Great news for all us Apple I 11 programming hackers.<br />

The new edition of the Standard Device Drivers Manual is<br />

out, and it's superb. It includes in-depth (and I mean indepth)<br />

discussions of what each of the standard device<br />

drivers can do. The list of standard drivers includes .CON­<br />

SOLE, .GRAFIX, .PRINTER, .RS232, and .AUDIO. The<br />

power in these drivers, particularly .CONSOLE and<br />

.GRAFIX, is incredible. The information included in this<br />

manual is extremely complete. We'll talk about some of the<br />

secrets it reveals later in this article.<br />

The PERFORMing Arts<br />

The ink was hardly dry on the preliminary Business<br />

BASIC Reference Manual (yep, they've upgraded that one,<br />

too) before the good old Apple II crew noticed that horrible<br />

oversight in the new BASIC: they left some things out,<br />

specifically PEEK POKE, and CALL. To Apple II programmers,<br />

this seemed like something very close to<br />

betrayal. The PEEK, POKE, and CALL statements meant<br />

unlimited expandability for Applesoft and Integer BASIC.<br />

Anything that couldn't be done in the high-level language<br />

could be written in Assembly language and linked to the<br />

main program with these statements. Their absence from<br />

Business BASIC seemed to mean that the language was<br />

forever locked up.<br />

Of course, that was not the case. Upon closer examination,<br />

the new BASIC had a couple of unfamiliar new statements:<br />

INV

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!