DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦5bcad82e0⟧ TextFile

    Length: 1828 (0x724)
    Types: TextFile
    Notes: UNIX file
    Names: »sm_funcs.c«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦2d53db1df⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »hr/src/smgr/sm_funcs.c« 

TextFile

#include <stdio.h>
#include "smgr.h"

extern void	SM_Create(), 
		SM_Delete(), 
		SM_WReset(),

	    	SM_GetXClip(),
		SM_GetYClip(),  
		SM_SetXClip(), 
		SM_SetYClip(),
	    	SM_ClrClip(),

		SM_GetPhy(), 
	    	SM_SetLog(), 
		SM_GetLog(),

		SM_SetEvmask(), 
	    	SM_GetEvmask(),
		SM_RstEvmask(),

		SM_SetMPat(),
		SM_GetMPat(),
	    	SM_GetMouse(),
		SM_Track(),
		SM_UnTrack(),

		SM_OpenFont(),
		SM_CloseFont(),
	    	SM_GetFontParam(),

		SM_Char(),   
		SM_Str(),  
		SM_CharW(),
		SM_StrW(),  
		SM_Scroll(), 
		SM_DefCurs(),   
		SM_DrawCurs(), 

		SM_SetGraph(),
		SM_GetGraph(),
		SM_RstGraph(),

		SM_GetPoint(),
		SM_RstPoint(),
		SM_Point(), 
		SM_ToPoint(),  
		SM_Move(), 
		SM_ToMove(), 
		SM_Line(), 
		SM_ToLine(), 
		SM_Poly(),
		SM_ToPoly(),
		SM_Rect(),
		SM_Rrect(),
		SM_Oval(),
		SM_Wedge(),
		SM_Arc(),

		SM_Update(),
		SM_Updall(),
		SM_Front(),
		SM_Back(),
		SM_WhoTopAt(),
		SM_WhoFront(),
		SM_SetPhy(),
		SM_SetSize(),
		SM_AsciiMap();

		
void (*wmgr_tab[])() = {
		SM_Create, 
		SM_Delete, 
		SM_WReset,

	    	SM_GetXClip,
		SM_GetYClip,  
		SM_SetXClip, 
		SM_SetYClip,
	    	SM_ClrClip,

		SM_GetPhy, 
	    	SM_SetLog, 
		SM_GetLog,

		SM_SetEvmask, 
	    	SM_GetEvmask,
		SM_RstEvmask,

		SM_SetMPat,
		SM_GetMPat,
	    	SM_GetMouse,
		SM_Track,
		SM_UnTrack,

		SM_OpenFont,
		SM_CloseFont,
	    	SM_GetFontParam,

		SM_Char,   
		SM_Str,  
		SM_CharW,
		SM_StrW,  
		SM_Scroll, 
		SM_DefCurs,   
		SM_DrawCurs, 

		SM_SetGraph,
		SM_GetGraph,
		SM_RstGraph,

		SM_GetPoint,
		SM_RstPoint,
		SM_Point, 
		SM_ToPoint,  
		SM_Move, 
		SM_ToMove, 
		SM_Line, 
		SM_ToLine, 
		SM_Poly,
		SM_ToPoly,
		SM_Rect,
		SM_Rrect,
		SM_Oval,
		SM_Wedge,
		SM_Arc,

		SM_Update,
		SM_Updall,
		SM_Front,
		SM_Back,
		SM_WhoTopAt,
		SM_WhoFront,
		SM_SetPhy,
		SM_SetSize,
		SM_AsciiMap
	    } ;