Basic Library 68K
465 Functions


Functions for Lib68k --- Functions for Lib68k2 --- Functions for Lib68k3 --- Functions for Lib68k4 --- Functions for Lib68k5

This is the amazing update to Lib68k. It features a single version c ompatible to all AMS on BOTH the 89 and 92+. There are 6 parts, so programs using the library can run quickly. Each function may be run from another program by simply using:

lib68k(z)

where z is betweeen 1 and 465. You never have to use lib68k2(), lib68k3(), lib68k4(), or lib68k5() unless you want speedier programs.

Redirection System - You can put any z value (1-465) in any of the 5 libraries and it'll be automatically redirected to the correct library.

This example clears the graph and draws a grid, then inverts the whole thing really fast... using 3 functions total, along with compat():

Lib68k VersionNormal Version
xmin→ymin
xmax→ymax
1→yscl
1→xscl
compat()
lib68k(8)
lib68k(418)
lib68k(22)
xmin→ymin
xmax→ymax
1→yscl
1→xscl
ClrGraph
For x,xmin,xmax
LineVert x
LineHorz x
EndFor
For x,0,158
PxlVert x,-1
EndFor
See that you ALWAYS run compat() in a program before using the functions. I made it to determine the AMS version and screensize automatically, so there would only be 1 version of the library.