Update sample projects to cmake

This commit is contained in:
Wayne Venables
2023-02-25 23:56:46 -08:00
parent 4fc98f818b
commit c3581b1703
315 changed files with 1104 additions and 1547 deletions

View File

@@ -1,16 +0,0 @@
// ****************************************************************************
//
// Common definitions
//
// ****************************************************************************
// ----------------------------------------------------------------------------
// Includes
// ----------------------------------------------------------------------------
#include "../../global.h" // global common definitions
#include "../vga.pio.h" // VGA PIO compilation
// main
#include "main.h" // main code

View File

@@ -5,7 +5,8 @@
//
// ****************************************************************************
#include "include.h"
#include "main.h"
#include <string.h>
// copy of images
ALIGNED u8 Repro1Img_Copy[sizeof(Repro1Img)];
@@ -121,7 +122,7 @@ int main()
CopyWhiteImg(Repro3Img_Copy, Repro3Img, sizeof(Repro3Img));
// run VGA core
multicore_launch_core1(VgaCore);
StartVgaCore();
// initialize videomode
VideoInit();

View File

@@ -8,6 +8,8 @@
#ifndef _MAIN_H
#define _MAIN_H
#include "picovga.h"
// screen resolution
#define WIDTH 512 // screen width
#define HEIGHT 336 // screen height