Moved fixed point multiplication and rounding into an asm module.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4447 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
|
||||
|
||||
/* TGI kernel variables */
|
||||
/* TGI kernel variables */
|
||||
extern void* tgi_drv; /* Pointer to driver */
|
||||
extern unsigned char tgi_error; /* Last error code */
|
||||
extern unsigned char tgi_gmode; /* Flag: Graphics mode active */
|
||||
@@ -68,6 +68,11 @@ extern unsigned tgi_aspectratio;/* Aspect ratio as fixed point 8.8 */
|
||||
const char* __fastcall__ tgi_map_mode (unsigned char mode);
|
||||
/* Map a tgi mode to a driver name. Returns NULL if no driver available. */
|
||||
|
||||
int __fastcall__ tgi_imulround (int rhs, int lhs);
|
||||
/* Helper function for functions using sine/cosine: Multiply two values, one
|
||||
* being an 8.8 fixed point one, and return the rounded and scaled result.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/* End of tgi-kernel.h */
|
||||
|
||||
Reference in New Issue
Block a user