Hello MSX'ers,
During the years I've made some standalone include files {$I ...} for
Turbo Pascal 3.xx . Most of them are coded with direct machine code
(No rom bios used.) to gain some speed. They are documented with the
txt-files
and comments inside the code (not the self explanatory procedures).
I hope, that someone can find them useful.
They can be found at the www-page of Manuel Bilderbeek,
htt://studs.sci.kun.nl:8888/manuelbi , where is more pascal programs and
files available.
You can also visit ftp.funet.fi/pub/msx/pascal.
Following is a short list of the .inc-files (some zipped in graphic2.zip):
Graphic routines: (R) = ROM routines used (D) = direct access (Fast)
BOX INC 640 ;draws a box (R)
COLOR INC 512 ;sets screen colors (R)
COPYL_XY INC 768 ;copies a graphic block within vram using log_op
(D)
COPY_XY INC 768 ;copies a graphic block within vram (D)
COPY_Y INC 768 ;copies a graphic block within vram, only y-axis
(D)
FONT INC 2503 ;writes with coloured fonts on screen 7 (D)
GRPPRINT INC 1792 ;writes on graphic screen (R)
LINE INC 1664 ;draws lines wth lo_op (D)
LMMC INC 1792 ;moves dots from ram to vram (D)
LOADGRAP INC 4358 ;loads a graphic file on any screen. MSXDOS2.
LOADGRAP OLD 4736 ;loads a graphic file on any screen. MSXDOS1.
PAINTBOX INC 640 ;draws a painted box (D) (D)
PAINTBOX INC 640 ;draws a painted box with log_op (D)
POINT INC 640 ;returns the color of the requested point (D)
PSET INC 512 ;draws a point with lo_op (D)
READVRAM INC 1024 ;reads data from any location in vram (D)
WRTVRAM INC 1024 ;writes data to any vram location (D)
SCREEN INC 512 ;sets screen mode (R)
SETCOLOR INC 299 ;sets drawing color (R)
SETPAGE INC 512 ;set active and visual graphic page (R)
SETPAL INC 7440 ;colour palette access (D)
SPRITE INC 5996 ;simple sprite handling (D)
VDPCMD INC 2304 ;header file for graphic inc's
WRTVDP INC 768 ;writes to any VDP regs (D) and (R)
Disk i/o :
MSXDOS2 INC 9031 ;msxdos2 functions
MSXDSKIO INC 7500 ;msxdos1 file I/O
Text:
STRING INC 768 ;humble string handling
BINARY INC 464 ;byte -> binary string
HEX INC 512 ;byte/word -> binary string
BLINK INC 3849 ;text blink operations
FASTWRIT INC 883 ;faster string printing (D)
Miscellanous :
MAPPER INC 11840 ;allocate/read/write/call mapperpages . Read
mapper.txt
;Does not need memman, uses directly MSXDOS2
;mapper routines.
JOYSTICK INC 2862 ;joystick 0,1 and 2 support (D)
MOUSE INC 2550 ;mouse detect and support (R)
RS232 INC 12688 ;rs232 routines (Tested only in SVI X'press) (D)
If you need a special .inc routines for your program, please, let me know.
Bug reports ;-) to [EMAIL PROTECTED] .
Sincerely Kari Lammassaari