GrafX2 2.9.3227
The ultimate 256-color painting program
c64load.h File Reference
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  c64state
 

Macros

#define C64_VICMODE_MULTI   0x10
 
#define C64_VICMODE_TEXT   0x00
 
#define C64_VICMODE_BITMAP   0x20
 
#define C64_VICMODE_EXTBKG   0x40
 
#define C64_VICMODE_FLI   0x80
 

Functions

word C64_isBinaryProgram (FILE *f)
 Check if it is a machine langage program with a BASIC startup line (eg. More...
 
int C64_LoadPrg (struct c64state *c64, FILE *file, word start)
 

Macro Definition Documentation

◆ C64_VICMODE_MULTI

#define C64_VICMODE_MULTI   0x10

◆ C64_VICMODE_TEXT

#define C64_VICMODE_TEXT   0x00

◆ C64_VICMODE_BITMAP

#define C64_VICMODE_BITMAP   0x20

◆ C64_VICMODE_EXTBKG

#define C64_VICMODE_EXTBKG   0x40

◆ C64_VICMODE_FLI

#define C64_VICMODE_FLI   0x80

Function Documentation

◆ C64_isBinaryProgram()

word C64_isBinaryProgram ( FILE *  f)

Check if it is a machine langage program with a BASIC startup line (eg.

10 SYS2061)

Returns
0 or the machine language code start address

References GFX2_DEBUG, GFX2_Log(), GFX2_LogHexDump(), NULL, Read_bytes(), and Read_word_le().

Referenced by Load_PRG(), and Test_PRG().

◆ C64_LoadPrg()