3Fermer5
hibouLe 15/03/2005 à 21:18
I have all the same a question : can I use it in C ?
graphlib::choosescreen	equ	graphlib@000D
;--------------------------------------------------------------
;	graphlib::choosescreen is a word sized variable.
;
;	If it is null, the adress of the screen for every graphlib
;	 function will be LCD_MEM
;	Else, the adress of the bitplane you want graphlib to use on
;	 will be stored in a1
;
;	This allows you, for example, to use all graphlib functions
;	 with grayscale !
;--------------------------------------------------------------

I think I should use some asm("...a1=myscreen...") for each graphlib call, even if the value of myscreen don't change in the whole function.


just a note : I have passed my library from DLL to LIB, I have saved about 10 ko ! (40 to 30). strange ?