1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-04-27 12:49:29 +00:00

Clean up usage of the native address of the I/O page and its struct typedef

The global variable holding the native address of the I/O page is spelled "IOPage"
The global variable "IOPage" is declared extern by "lspglob.h"
The structure pointed to by IOPage is named IOPAGE and is defined in "iopage.h"
If there is no direct reference to the IOPAGE struct do not include "iopage.h"
This commit is contained in:
Nick Briggs
2022-12-24 15:17:49 -08:00
parent 602fff2c2f
commit 1c6277d313
15 changed files with 68 additions and 82 deletions

View File

@@ -50,9 +50,9 @@ extern int DisplayRasterWidth;
#ifdef DOS
#define HideCursor { (currentdsp->mouse_invisible)(currentdsp, IOPage68K); }
#define ShowCursor { (currentdsp->mouse_visible)(IOPage68K->dlmousex, \
IOPage68K->dlmousey); }
#define HideCursor { (currentdsp->mouse_invisible)(currentdsp, IOPage); }
#define ShowCursor { (currentdsp->mouse_visible)(IOPage->dlmousex, \
IOPage->dlmousey); }
#else
extern DLword *EmCursorX68K,*EmCursorY68K;

View File

@@ -88,7 +88,7 @@ typedef struct
/* M o u s e I n t e r f a c e */
/* */
/* Definition of the mouse. Note that the mouse is also */
/* dependent on the IOPage68K */
/* dependent on the IOPage */
/**************************************************************/
typedef struct
{
@@ -141,7 +141,7 @@ typedef MouseInterfaceRec *MouseInterface;
/* K b d I n t e r f a c e */
/* */
/* Definition of the keyboard. Note that the keyboard is also */
/* dependent on the IOPage68K */
/* dependent on the IOPage */
/**************************************************************/
typedef struct
{