home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- ASIC 2.0
- Version Notes
- 09/25/90
-
-
- ASIC is a BASIC language compiler for IBM PC's and compatibles. It
- includes an integrated full screen editor, from which you can edit,
- compile, and debug your programs. Or at your option, you can use your
- own text editor, and compile your programs from the MS DOS command
- line.
-
- ASIC is a subset of BASICA/GWBASIC which supports over 60 BASIC
- statements, integer and string variables, and integer arrays.
-
- This document describes features in ASIC version 2.0 not found in
- previous versions. Enhancements to the integrated environment are
- listed first, followed by enhancements to the compiler.
-
-
- ****************** INTEGRATED ENVIRONMENT ENHANCEMENTS ***************
-
-
-
- SOURCE LEVEL DEBUGGER
-
- Use this new tool to help debug your programs from within the
- integrated environment. Execute your program up to a breakpoint, or
- single step through your program. Examine or modify the contents of
- your program's variables, and view the screen created by your program.
- If you wish, while at a breakpoint, you can also abort your program.
-
-
- SHORT CUT KEYS
-
-
- All of the ASIC editor commands are easily accessed from "pull
- down" menus. In ASIC 2.0, some commands which are frequently used,
- may also be executed via "Hot" keys (Function Keys).
-
-
- REPEAT LAST SEARCH
-
- The editor now remembers the last string you searched for. You
- can search for the next occurence in the file by selecting this
- function.
-
-
- PULL DOWN MENUS (Enhanced)
-
- Once you have pulled down a menu, you can switch to a different
- menu by pressing the left or right arrow keys. In ASIC 1.x, you had
- to close the menu to pull down a new menu.
-
-
- FILE READ/WRITE COUNT
-
- When reading or writing a file in the editor, ASIC will now
- display a running count of records read or written on the status line.
-
-
- Page - 1
-
-
-
-
-
- ASIC 2.0
- Version Notes
- 09/25/90
-
-
- ********************** COMPILER ENHANCEMENTS **********************
-
-
- BLOAD
-
- This statement loads a specified number of bytes from a disk file
- to any location in memory.
-
-
- BSAVE
-
- This statement saves a specified number of bytes from any
- location in memory to a disk file.
-
-
- COMMAND$
-
- This statement will retrieve any parameters typed on the command
- line following the program name when your ASIC program is invoked.
-
-
- DATE$
-
- This statement retrieves the system date.
-
-
- TIME$
-
- This statement retrieves the system time.
-
-
- TIMER
-
- This statement may be used to time events.
-
-
- END (Enhanced)
-
- This statement has been enhanced to allow you to optionally
- specify a return code in your programs, which could be checked by
- another program, or a ".BAT" type file.
-
-
- RUN/CALL
-
- These statements will allow you to run other programs from within
- an ASIC program. You may pass parameters to the called program, and
- when the called program terminates, your ASIC program will regain
- control.
-
-
-
-
-
-
- Page - 2
-
-
-
-
-
- ASIC 2.0
- Version Notes
- 09/25/90
-
-
- INP
-
- This statement will read a byte from a hardware port.
-
-
- OUT
-
- This statement will write a byte to a hardware port.
-
-
- SERIAL PORT SUPPORT (OPENCOM/COMSTAT/SEND/RECEIVE)
-
- These statements allow you to control the serial ports on the PC.
- Initialize the port, check it's status, send a byte or receive a byte.
-
-
- NAME
-
- This statement will allow you to rename disk files from within
- your program.
-
-
- MKDIR
-
- This statement will allow you to create new DOS directories from
- within your program.
-
-
- CHDIR
-
- This statement will allow you to change the current DOS directory
- from within your program.
-
-
- RMDIR
-
- This statement will allow you to delete an empty DOS directory
- from within your program.
-
-
- READ/DATA
-
-
- These statements allow you to imbed data in your program, and
- then read this data into program variables.
-
-
- RESTORE
-
- Resets DATA block so that it may be reread with the READ
- statement.
-
-
-
-
- Page - 3
-
-
-
-
-
- ASIC 2.0
- Version Notes
- 09/25/90
-
-
-
- KILL
-
- This statement will allow you to delete a DOS file from within
- your program.
-
-
- CODE
-
- This statement will allow you to insert machine language code
- directly into your program.
-
-
- CSRLIN
-
- This statement replaces the old CRSLIN statement. It is
- functionally equivalent to CRSLIN. It was renamed to match the
- BASICA/GWBASIC Spelling.
-
- INPUT# (Enhanced)
-
- ASIC 1.0 truncated strings greater than 80 characters long. ASIC
- will now allow you to read strings of any length, in 80 character
- increments.
-
- PRINT# (Enhanced)
-
- ASIC 1.0 always added a NULL character to strings written to
- disk. In ASIC 2.0, you can optionally suppress this NULL character,
- to facilitate reading the data in other non-ASIC programs.
-
-
- ****************** KEYWORD LIST FOR VERSION 2.0 ********************
-
-
- AS ABS ASC BLOAD BSAVE CALL CHDIR
- CHR$ CLOSE CLS CODE COLOR COMMAND$ COMSTAT
- CSRLIN DATA DATE$ DEFSEG DIM ELSE END
- FOR GOSUB GOTO IF INKEY$ INP INPUT
- INPUT# KILL LEN LOCATE LPRINT MID$ MKDIR
- NAME NEXT OPEN OPENCOM OUT PEEK POINT
- POKE POS PRESET PRINT PRINT# PSET RANDOMIZE
- READ RECEIVE REM RESTORE RETURN RMDIR RND
- RUN SCREEN SEND SOUND STR$ THEN TIME$
- TIMER TO VAL VARPTR WIDTH ZBIT ZMODE
-
-
-
-
-
-
-
-
-
-
- Page - 4
-
-