Tweaked the build a bit for the F256.
This commit is contained in:
parent
0b5699a5ca
commit
d6af9ae4f6
4 changed files with 6 additions and 4 deletions
|
@ -80,7 +80,7 @@
|
||||||
|
|
||||||
#define storyVersion() portByteGet(0x0)
|
#define storyVersion() portByteGet(0x0)
|
||||||
#define storyFlags() portByteGet(STORY_FLAG_V3)
|
#define storyFlags() portByteGet(STORY_FLAG_V3)
|
||||||
#define storyHightMemory() portWordGet(0x4)
|
#define storyHighMemory() portWordGet(0x4)
|
||||||
#define storyInitialPC() portWordGet(0x6) // V1-5
|
#define storyInitialPC() portWordGet(0x6) // V1-5
|
||||||
#define storyInitialPackedPC() memoryUnpackAddress(portWordGet(0x6), MEMORY_ROUTINE) // V6
|
#define storyInitialPackedPC() memoryUnpackAddress(portWordGet(0x6), MEMORY_ROUTINE) // V6
|
||||||
#define storyDictionaryAddress() portWordGet(0x8)
|
#define storyDictionaryAddress() portWordGet(0x8)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required(VERSION 3.12)
|
cmake_minimum_required(VERSION 3.12)
|
||||||
|
|
||||||
project(dos-like-zip LANGUAGES C)
|
project(muddle LANGUAGES C)
|
||||||
|
|
||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
|
|
||||||
|
|
|
@ -38,10 +38,11 @@ pushd .builddir
|
||||||
${F256}/overlayhelper ../../../src/ui.c > overlay.ld
|
${F256}/overlayhelper ../../../src/ui.c > overlay.ld
|
||||||
${F256}/overlayhelper ../f256zip.c >> overlay.ld
|
${F256}/overlayhelper ../f256zip.c >> overlay.ld
|
||||||
|
|
||||||
${CLANG} -c ${F256}/f256lib/f256.c
|
#${CLANG} -c ${F256}/f256lib/f256.c
|
||||||
${CLANG} -c ../../zip.c
|
${CLANG} -c ../../zip.c
|
||||||
${CLANG} -c ../f256zip.c
|
${CLANG} -c ../f256zip.c
|
||||||
${CLANG} -T../f256.ld -o ${PROJECT} zip.o f256.o f256zip.o
|
#${CLANG} -T../f256.ld -o ${PROJECT} zip.o f256.o f256zip.o
|
||||||
|
${CLANG} -T../f256.ld -o ${PROJECT} zip.o f256zip.o
|
||||||
|
|
||||||
llvm-nm ${PROJECT}.elf > ${PROJECT}.lst
|
llvm-nm ${PROJECT}.elf > ${PROJECT}.lst
|
||||||
llvm-objdump -d --print-imm-hex ${PROJECT}.elf > ${PROJECT}.lst
|
llvm-objdump -d --print-imm-hex ${PROJECT}.elf > ${PROJECT}.lst
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
|
|
||||||
#define WITHOUT_GRAPHICS
|
#define WITHOUT_GRAPHICS
|
||||||
#include "f256.h"
|
#include "f256.h"
|
||||||
|
#include "f256.c"
|
||||||
|
|
||||||
#include "portme.h"
|
#include "portme.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue