FreeBASIC  0.91.0
fb_gfx_mmx.h File Reference
Include dependency graph for fb_gfx_mmx.h:

Go to the source code of this file.

Macros

#define FUNC(name)   .globl name ; .balign 8, 0x90 ; name :
 
#define VAR(name)   .globl name ; name :
 
#define GLOBL(name)   name
 
#define LABEL(name)   .balign 4, 0x90 ; name :
 
#define RESERVE_LOCALS(n)   subl $((n)*4), %esp
 
#define FREE_LOCALS(n)   addl $((n)*4), %esp
 
#define ARG1   8(%ebp)
 
#define ARG2   12(%ebp)
 
#define ARG3   16(%ebp)
 
#define ARG4   20(%ebp)
 
#define ARG5   24(%ebp)
 
#define ARG6   28(%ebp)
 
#define ARG7   32(%ebp)
 
#define ARG8   36(%ebp)
 
#define LOCAL1   -4(%ebp)
 
#define LOCAL2   -8(%ebp)
 
#define LOCAL3   -12(%ebp)
 
#define LOCAL4   -16(%ebp)
 
#define MASK_COLOR_32   0xFF00FF
 
#define MASK_COLOR_16   0xF81F
 
#define MASK_RGB_32   0x00FFFFFF
 
#define MASK_RB_32   0x00FF00FF
 
#define MASK_G_32   0x0000FF00
 
#define MASK_GA_32   0xFF00FF00
 
#define MASK_A_32   0xFF000000
 
#define MASK_RB_16   0xF81F
 
#define MASK_R_16   0xF800
 
#define MASK_G_16   0x07E0
 
#define MASK_B_16   0x001F
 
#define GFX_SCREEN_ID   0
 
#define GFX_MODE_NUM   4
 
#define GFX_PAGE   8
 
#define GFX_NUM_PAGES   12
 
#define GFX_VISIBLE_PAGE   16
 
#define GFX_FRAMEBUFFER   20
 
#define GFX_MODE_W   24
 
#define GFX_MODE_H   28
 
#define GFX_DEPTH   32
 
#define GFX_BPP   36
 
#define GFX_PITCH   40
 
#define GFX_PALETTE   44
 
#define GFX_DEVICE_PALETTE   48
 
#define GFX_COLOR_ASSOCIATION   52
 
#define GFX_DIRTY   56
 
#define GFX_DRIVER   60
 
#define GFX_COLOR_MASK   64
 
#define GFX_DEFAULT_PAL   68
 
#define GFX_SCANLINE_SIZE   72
 
#define GFX_CURSOR_X   76
 
#define GFX_CURSOR_Y   80
 
#define GFX_FONT   84
 
#define GFX_TEXT_W   88
 
#define GFX_TEXT_H   92
 
#define GFX_KEY   96
 
#define GFX_REFRESH_RATE   100
 
#define GFX_CON_PAGES   104
 
#define GFX_EVENTS_QUEUE   108
 
#define GFX_EVENT_HEAD   112
 
#define GFX_EVENT_TAIL   116
 
#define GFX_EVENT_MUTEX   120
 
#define GFX_FLAGS   124
 
#define CTX_SCREEN_ID   0
 
#define CTX_WORK_PAGE   4
 
#define CTX_LINE   8
 
#define CTX_MAX_H   12
 
#define CTX_TARGET_BPP   16
 
#define CTX_TARGET_PITCH   20
 
#define CTX_LAST_TARGET   24
 
#define CTX_LAST_X   28
 
#define CTX_LAST_Y   32
 
#define CTX_VIEW_X   36
 
#define CTX_VIEW_Y   40
 
#define CTX_VIEW_W   44
 
#define CTX_VIEW_H   48
 
#define CTX_OLD_VIEW_X   52
 
#define CTX_OLD_VIEW_Y   56
 
#define CTX_OLD_VIEW_W   60
 
#define CTX_OLD_VIEW_H   64
 
#define CTX_WIN_X   68
 
#define CTX_WIN_Y   72
 
#define CTX_WIN_W   76
 
#define CTX_WIN_H   80
 
#define CTX_FG_COLOR   84
 
#define CTX_BG_COLOR   88
 
#define CTX_PUT_PIXEL   92
 
#define CTX_GET_PIXEL   96
 
#define CTX_PIXEL_SET   100
 
#define CTX_PUTTER   104
 
#define CTX_PUT_BPP   108
 
#define CTX_FLAGS   112
 

Macro Definition Documentation

#define ARG1   8(%ebp)

Definition at line 22 of file fb_gfx_mmx.h.

#define ARG2   12(%ebp)

Definition at line 23 of file fb_gfx_mmx.h.

#define ARG3   16(%ebp)

Definition at line 24 of file fb_gfx_mmx.h.

#define ARG4   20(%ebp)

Definition at line 25 of file fb_gfx_mmx.h.

#define ARG5   24(%ebp)

Definition at line 26 of file fb_gfx_mmx.h.

#define ARG6   28(%ebp)

Definition at line 27 of file fb_gfx_mmx.h.

#define ARG7   32(%ebp)

Definition at line 28 of file fb_gfx_mmx.h.

#define ARG8   36(%ebp)

Definition at line 29 of file fb_gfx_mmx.h.

#define CTX_BG_COLOR   88

Definition at line 105 of file fb_gfx_mmx.h.

#define CTX_FG_COLOR   84

Definition at line 104 of file fb_gfx_mmx.h.

#define CTX_FLAGS   112

Definition at line 111 of file fb_gfx_mmx.h.

#define CTX_GET_PIXEL   96

Definition at line 107 of file fb_gfx_mmx.h.

#define CTX_LAST_TARGET   24

Definition at line 89 of file fb_gfx_mmx.h.

#define CTX_LAST_X   28

Definition at line 90 of file fb_gfx_mmx.h.

#define CTX_LAST_Y   32

Definition at line 91 of file fb_gfx_mmx.h.

#define CTX_LINE   8

Definition at line 85 of file fb_gfx_mmx.h.

#define CTX_MAX_H   12

Definition at line 86 of file fb_gfx_mmx.h.

#define CTX_OLD_VIEW_H   64

Definition at line 99 of file fb_gfx_mmx.h.

#define CTX_OLD_VIEW_W   60

Definition at line 98 of file fb_gfx_mmx.h.

#define CTX_OLD_VIEW_X   52

Definition at line 96 of file fb_gfx_mmx.h.

#define CTX_OLD_VIEW_Y   56

Definition at line 97 of file fb_gfx_mmx.h.

#define CTX_PIXEL_SET   100

Definition at line 108 of file fb_gfx_mmx.h.

#define CTX_PUT_BPP   108

Definition at line 110 of file fb_gfx_mmx.h.

#define CTX_PUT_PIXEL   92

Definition at line 106 of file fb_gfx_mmx.h.

#define CTX_PUTTER   104

Definition at line 109 of file fb_gfx_mmx.h.

#define CTX_SCREEN_ID   0

Definition at line 83 of file fb_gfx_mmx.h.

#define CTX_TARGET_BPP   16

Definition at line 87 of file fb_gfx_mmx.h.

#define CTX_TARGET_PITCH   20

Definition at line 88 of file fb_gfx_mmx.h.

#define CTX_VIEW_H   48

Definition at line 95 of file fb_gfx_mmx.h.

#define CTX_VIEW_W   44

Definition at line 94 of file fb_gfx_mmx.h.

#define CTX_VIEW_X   36

Definition at line 92 of file fb_gfx_mmx.h.

#define CTX_VIEW_Y   40

Definition at line 93 of file fb_gfx_mmx.h.

#define CTX_WIN_H   80

Definition at line 103 of file fb_gfx_mmx.h.

#define CTX_WIN_W   76

Definition at line 102 of file fb_gfx_mmx.h.

#define CTX_WIN_X   68

Definition at line 100 of file fb_gfx_mmx.h.

#define CTX_WIN_Y   72

Definition at line 101 of file fb_gfx_mmx.h.

#define CTX_WORK_PAGE   4

Definition at line 84 of file fb_gfx_mmx.h.

#define FREE_LOCALS (   n)    addl $((n)*4), %esp

Definition at line 20 of file fb_gfx_mmx.h.

#define FUNC (   name)    .globl name ; .balign 8, 0x90 ; name :

Definition at line 13 of file fb_gfx_mmx.h.

#define GFX_BPP   36

Definition at line 59 of file fb_gfx_mmx.h.

#define GFX_COLOR_ASSOCIATION   52

Definition at line 63 of file fb_gfx_mmx.h.

#define GFX_COLOR_MASK   64

Definition at line 66 of file fb_gfx_mmx.h.

#define GFX_CON_PAGES   104

Definition at line 76 of file fb_gfx_mmx.h.

#define GFX_CURSOR_X   76

Definition at line 69 of file fb_gfx_mmx.h.

#define GFX_CURSOR_Y   80

Definition at line 70 of file fb_gfx_mmx.h.

#define GFX_DEFAULT_PAL   68

Definition at line 67 of file fb_gfx_mmx.h.

#define GFX_DEPTH   32

Definition at line 58 of file fb_gfx_mmx.h.

#define GFX_DEVICE_PALETTE   48

Definition at line 62 of file fb_gfx_mmx.h.

#define GFX_DIRTY   56

Definition at line 64 of file fb_gfx_mmx.h.

#define GFX_DRIVER   60

Definition at line 65 of file fb_gfx_mmx.h.

#define GFX_EVENT_HEAD   112

Definition at line 78 of file fb_gfx_mmx.h.

#define GFX_EVENT_MUTEX   120

Definition at line 80 of file fb_gfx_mmx.h.

#define GFX_EVENT_TAIL   116

Definition at line 79 of file fb_gfx_mmx.h.

#define GFX_EVENTS_QUEUE   108

Definition at line 77 of file fb_gfx_mmx.h.

#define GFX_FLAGS   124

Definition at line 81 of file fb_gfx_mmx.h.

#define GFX_FONT   84

Definition at line 71 of file fb_gfx_mmx.h.

#define GFX_FRAMEBUFFER   20

Definition at line 55 of file fb_gfx_mmx.h.

#define GFX_KEY   96

Definition at line 74 of file fb_gfx_mmx.h.

#define GFX_MODE_H   28

Definition at line 57 of file fb_gfx_mmx.h.

#define GFX_MODE_NUM   4

Definition at line 51 of file fb_gfx_mmx.h.

#define GFX_MODE_W   24

Definition at line 56 of file fb_gfx_mmx.h.

#define GFX_NUM_PAGES   12

Definition at line 53 of file fb_gfx_mmx.h.

#define GFX_PAGE   8

Definition at line 52 of file fb_gfx_mmx.h.

#define GFX_PALETTE   44

Definition at line 61 of file fb_gfx_mmx.h.

#define GFX_PITCH   40

Definition at line 60 of file fb_gfx_mmx.h.

#define GFX_REFRESH_RATE   100

Definition at line 75 of file fb_gfx_mmx.h.

#define GFX_SCANLINE_SIZE   72

Definition at line 68 of file fb_gfx_mmx.h.

#define GFX_SCREEN_ID   0

Definition at line 50 of file fb_gfx_mmx.h.

#define GFX_TEXT_H   92

Definition at line 73 of file fb_gfx_mmx.h.

#define GFX_TEXT_W   88

Definition at line 72 of file fb_gfx_mmx.h.

#define GFX_VISIBLE_PAGE   16

Definition at line 54 of file fb_gfx_mmx.h.

#define GLOBL (   name)    name

Definition at line 15 of file fb_gfx_mmx.h.

#define LABEL (   name)    .balign 4, 0x90 ; name :

Definition at line 17 of file fb_gfx_mmx.h.

#define LOCAL1   -4(%ebp)

Definition at line 31 of file fb_gfx_mmx.h.

#define LOCAL2   -8(%ebp)

Definition at line 32 of file fb_gfx_mmx.h.

#define LOCAL3   -12(%ebp)

Definition at line 33 of file fb_gfx_mmx.h.

#define LOCAL4   -16(%ebp)

Definition at line 34 of file fb_gfx_mmx.h.

#define MASK_A_32   0xFF000000

Definition at line 43 of file fb_gfx_mmx.h.

#define MASK_B_16   0x001F

Definition at line 48 of file fb_gfx_mmx.h.

#define MASK_COLOR_16   0xF81F

Definition at line 37 of file fb_gfx_mmx.h.

#define MASK_COLOR_32   0xFF00FF

Definition at line 36 of file fb_gfx_mmx.h.

#define MASK_G_16   0x07E0

Definition at line 47 of file fb_gfx_mmx.h.

#define MASK_G_32   0x0000FF00

Definition at line 41 of file fb_gfx_mmx.h.

#define MASK_GA_32   0xFF00FF00

Definition at line 42 of file fb_gfx_mmx.h.

#define MASK_R_16   0xF800

Definition at line 46 of file fb_gfx_mmx.h.

#define MASK_RB_16   0xF81F

Definition at line 45 of file fb_gfx_mmx.h.

#define MASK_RB_32   0x00FF00FF

Definition at line 40 of file fb_gfx_mmx.h.

#define MASK_RGB_32   0x00FFFFFF

Definition at line 39 of file fb_gfx_mmx.h.

#define RESERVE_LOCALS (   n)    subl $((n)*4), %esp

Definition at line 19 of file fb_gfx_mmx.h.

#define VAR (   name)    .globl name ; name :

Definition at line 14 of file fb_gfx_mmx.h.