gameboy wormboy manboy gameworm gameman wormgame mangame manworm

Dependencies:   mbed SDFileSystem2

Committer:
dicarloj
Date:
Sun Jan 13 19:00:10 2019 +0000
Revision:
17:c9afe1a7b423
a

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dicarloj 17:c9afe1a7b423 1 #ifndef GBC_VIDEO_H
dicarloj 17:c9afe1a7b423 2 #define GBC_VIDEO_H
dicarloj 17:c9afe1a7b423 3
dicarloj 17:c9afe1a7b423 4 #include "types.h"
dicarloj 17:c9afe1a7b423 5
dicarloj 17:c9afe1a7b423 6 struct VideoState {
dicarloj 17:c9afe1a7b423 7 u32 mode;
dicarloj 17:c9afe1a7b423 8 u32 modeClock;
dicarloj 17:c9afe1a7b423 9 u32 line;
dicarloj 17:c9afe1a7b423 10 u8* frameBuffer;
dicarloj 17:c9afe1a7b423 11 };
dicarloj 17:c9afe1a7b423 12
dicarloj 17:c9afe1a7b423 13 extern VideoState globalVideoState;
dicarloj 17:c9afe1a7b423 14
dicarloj 17:c9afe1a7b423 15 void initVideo(u8* frameBuffer);
dicarloj 17:c9afe1a7b423 16 void stepVideo(u32 cycles);
dicarloj 17:c9afe1a7b423 17 void renderLine();
dicarloj 17:c9afe1a7b423 18
dicarloj 17:c9afe1a7b423 19
dicarloj 17:c9afe1a7b423 20 #endif //GBC_VIDEO_H