1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00

First attempt at SDL screen

This commit is contained in:
Ross Wilson
2018-08-03 11:00:33 +07:00
parent e04f227251
commit c0eb4b03f6
2 changed files with 6 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
DEVFILES = cpu.o dcpu.o ptrptp.o memory.o kb.o ttyin.o ttyout.o trace.o error.o log.o plist.o bootstrap.o display_pbm.o
CFILES = cpu.c dcpu.c ptrptp.c memory.c kb.c ttyin.c ttyout.c trace.c error.c log.c plist.c bootstrap.c display_pbm.c
HFILES = cpu.h dcpu.h ptrptp.h memory.h kb.h ttyin.h ttyout.h trace.h error.h log.h plist.h bootstrap.h display_pbm.h
DEVFILES = cpu.o dcpu.o ptrptp.o memory.o kb.o ttyin.o ttyout.o trace.o error.o log.o plist.o bootstrap.o display_sdl.o
CFILES = cpu.c dcpu.c ptrptp.c memory.c kb.c ttyin.c ttyout.c trace.c error.c log.c plist.c bootstrap.c display_sdl.c
HFILES = cpu.h dcpu.h ptrptp.h memory.h kb.h ttyin.h ttyout.h trace.h error.h log.h plist.h bootstrap.h display_sdl.h
OFILES = vimlac.o $(DEVFILES)
CFLAGS=-O2 -Wall -pedantic -std=c99 -g
CFLAGS=-O2 -Wall -pedantic -std=c99 -g -I /usr/local/include/SDL2/ -l SDL2-2.0.0
test: vimlac
rm -f vimlac.log trace.out *.pbm; time ./vimlac -b ptr -ptr chars.ptp -r 040 -r 0100

View File

@@ -37,7 +37,8 @@
#include "bootstrap.h"
#include "memory.h"
#include "ptrptp.h"
#include "display_pbm.h"
//#include "display_pbm.h"
#include "display.h"
#include "cpu.h"
#include "dcpu.h"
#include "trace.h"