Windowing Routines#

General Information

Author: Carsten Strotmann
Language: ACTION!
Compiler/Interpreter: ACTION!


;******************************
;**								  **
;** PHOENIX SOFTCREW			**
;** STANDARTROUTINEN			**
;** WINDOWS "WINDOW.INC"	  **
;******************************


PROC W_Init=$9800()

;-------------------------------------

PROC W_Load ()

Close (6)
Open (6,"D:WINDOW.OBJ",4,0)

Bget (6,$9800,$3F9)

Close (6)

W_Init ()

Open (6,"W:",12,0)

RETURN

;------------------------------------

PROC W_Open (BYTE xp,yp,xl,yl)


XIO (6,0,52,xp,yp,"W:")

XIO (6,0,50,xl,yl,"W:")

RETURN

;------------------------------------

PROC W_Close ()

XIO (6,0,51,0,0,"W:")

RETURN

;-----------------------------------
PROC W_Pos (BYTE x,y)

XIO (6,0,53,x,y,"W:")

RETURN

;-----------------------------------
PROC WMem (BYTE posh,posl,lenh,lenl)

XIO (6,0,54,posh,posh,"W:")

XIO (6,0,55,lenh,lenl,"W:")

RETURN
;-----------------------------------

PROC W_Print (BYTE x,y,BYTE ARRAY text)

 W_Pos (x,y)
 PrintD (6,text)

RETURN

;-----------------------------------

PROC W_InputS (BYTE x,y,BYTE ARRAY out,text)

 W_Print (x,y,out)
 InputSD (6,text)

RETURN
;-----------------------------------

PROC W_Cls ()

 PutD (6,$7D)

RETURN
;-----------------------------------
PROC W_PrintB (BYTE x,y,val)

 W_Pos (x,y)
 PrintBD (6,val)

RETURN
;-----------------------------------
PROC W_PrintC (BYTE x,y,CARD val)

 W_Pos (x,y)
 PrintCD (6,val)

RETURN
;-----------------------------------

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
obj
WINDOW.OBJ 1.0 kB 1 14-May-2017 16:17 Carsten Strotmann
« This page (revision-1) was last changed on 14-Mar-2010 14:19 by Carsten Strotmann