mirror of
https://github.com/libretro/Mu.git
synced 2026-11-17 09:31:39 +00:00
Readd all files because GitHub is having an issue with case sensitivity on Mac OS
This commit is contained in:
1
libretroBuildSystem/Makefile
Normal file
1
libretroBuildSystem/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include Makefile.libretro
|
||||
498
libretroBuildSystem/Makefile.libretro
Normal file
498
libretroBuildSystem/Makefile.libretro
Normal file
@@ -0,0 +1,498 @@
|
||||
DEBUG=0
|
||||
GIT_VERSION := " $(shell git rev-parse --short HEAD)"
|
||||
HAVE_GRIFFIN=0
|
||||
STATIC_LINKING=0
|
||||
STATIC_LINKING_LINK=0
|
||||
LAGFIX=1
|
||||
|
||||
CORE_DIR := .
|
||||
BUILD_DIR = build
|
||||
OBJOUT = -o
|
||||
|
||||
ifeq ($(platform),android_arm64-v8a)
|
||||
include $(BUILD_DIR)/Makefile.android_arm64-v8a
|
||||
else ifeq ($(platform),android_armeabi)
|
||||
include $(BUILD_DIR)/Makefile.android_armeabi
|
||||
else ifeq ($(platform),android_armeabi-v7a)
|
||||
include $(BUILD_DIR)/Makefile.android_armeabi-v7a
|
||||
else ifeq ($(platform),android_mips)
|
||||
include $(BUILD_DIR)/Makefile.android_mips
|
||||
else ifeq ($(platform),android_mips64)
|
||||
include $(BUILD_DIR)/Makefile.android_mips64
|
||||
else ifeq ($(platform),android_x86)
|
||||
include $(BUILD_DIR)/Makefile.android_x86
|
||||
else ifeq ($(platform),android_x86_64)
|
||||
include $(BUILD_DIR)/Makefile.android_x86_64
|
||||
else ifeq ($(platform),linux-portable_x86)
|
||||
include $(BUILD_DIR)/Makefile.linux-portable_x86
|
||||
else ifeq ($(platform),linux-portable_x86_64)
|
||||
include $(BUILD_DIR)/Makefile.linux-portable_x86_64
|
||||
else ifeq ($(platform),linux_x86)
|
||||
include $(BUILD_DIR)/Makefile.linux_x86
|
||||
else ifeq ($(platform),linux_x86_64)
|
||||
include $(BUILD_DIR)/Makefile.linux_x86_64
|
||||
else ifeq ($(platform),mingw_x86)
|
||||
include $(BUILD_DIR)/Makefile.mingw_x86
|
||||
else ifeq ($(platform),mingw_x86_64)
|
||||
include $(BUILD_DIR)/Makefile.mingw_x86_64
|
||||
else ifeq ($(platform),wii_ppc)
|
||||
include $(BUILD_DIR)/Makefile.wii_ppc
|
||||
else ifeq ($(platform),windows_x86)
|
||||
include $(BUILD_DIR)/Makefile.windows_x86
|
||||
else ifeq ($(platform),windows_msvc2003_x86)
|
||||
include $(BUILD_DIR)/Makefile.windows_msvc2003_x86
|
||||
else ifeq ($(platform),windows_msvc2005_x86)
|
||||
include $(BUILD_DIR)/Makefile.windows_msvc2005_x86
|
||||
else ifeq ($(platform),windows_msvc2010_x86)
|
||||
include $(BUILD_DIR)/Makefile.windows_msvc2010_x86
|
||||
else ifeq ($(platform),windows_msvc2010_x64)
|
||||
include $(BUILD_DIR)/Makefile.windows_msvc2010_x64
|
||||
else ifeq ($(platform),windows_msvc2015_x64)
|
||||
include $(BUILD_DIR)/Makefile.windows_msvc2015_x64
|
||||
else ifeq ($(platform),windows_x86_64)
|
||||
include $(BUILD_DIR)/Makefile.windows_x86_64
|
||||
else
|
||||
|
||||
ifeq ($(platform),)
|
||||
ifeq ($(shell uname -a),)
|
||||
platform = win
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
platform = win
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
platform = osx
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
platform = win
|
||||
else
|
||||
platform = unix
|
||||
endif
|
||||
endif
|
||||
|
||||
SPACE :=
|
||||
SPACE := $(SPACE) $(SPACE)
|
||||
BACKSLASH :=
|
||||
BACKSLASH := \$(BACKSLASH)
|
||||
filter_out1 = $(filter-out $(firstword $1),$1)
|
||||
filter_out2 = $(call filter_out1,$(call filter_out1,$1))
|
||||
unixpath = $(subst \,/,$1)
|
||||
unixcygpath = /$(subst :,,$(call unixpath,$1))
|
||||
|
||||
# system platform
|
||||
system_platform = unix
|
||||
ifeq ($(shell uname -a),)
|
||||
EXE_EXT = .exe
|
||||
system_platform = win
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
system_platform = osx
|
||||
ifeq ($(shell uname -p),powerpc)
|
||||
arch = ppc
|
||||
else
|
||||
arch = intel
|
||||
endif
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
system_platform = win
|
||||
endif
|
||||
|
||||
#CC = gcc
|
||||
TARGET_NAME := persiantree
|
||||
LIBM = -lm
|
||||
|
||||
ifeq ($(STATIC_LINKING),1)
|
||||
EXT=a
|
||||
|
||||
ifeq ($(platform), unix)
|
||||
PLAT=_unix
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
endif
|
||||
endif
|
||||
|
||||
# UNIX
|
||||
ifeq ($(platform), unix)
|
||||
EXT ?= so
|
||||
TARGET := $(TARGET_NAME)_libretro$(PLAT).$(EXT)
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--version-script=libretro/link.T
|
||||
ifneq ($(findstring Haiku,$(shell uname -a)),)
|
||||
LIBM :=
|
||||
endif
|
||||
|
||||
# Linux (portable library)
|
||||
else ifeq ($(platform), linux-portable)
|
||||
EXT ?= so
|
||||
TARGET := $(TARGET_NAME)_libretro.$(EXT)
|
||||
fpic := -fPIC -nostdlib
|
||||
SHARED := -shared -Wl,--version-script=libretro/link.T
|
||||
LIBM :=
|
||||
|
||||
# OS X
|
||||
else ifeq ($(platform), osx)
|
||||
EXT ?= dylib
|
||||
TARGET := $(TARGET_NAME)_libretro.$(EXT)
|
||||
fpic := -fPIC
|
||||
ifeq ($(arch),ppc)
|
||||
CFLAGS += -D__ppc__ -DMSB_FIRST
|
||||
endif
|
||||
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
|
||||
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
|
||||
fpic += -mmacosx-version-min=10.1
|
||||
SHARED := -dynamiclib
|
||||
|
||||
# iOS
|
||||
else ifneq (,$(findstring ios,$(platform)))
|
||||
EXT ?= dylib
|
||||
TARGET := $(TARGET_NAME)_libretro_ios.$(EXT)
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib
|
||||
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
|
||||
endif
|
||||
|
||||
ifeq ($(platform),ios-arm64)
|
||||
CC = cc -arch arm64 -isysroot $(IOSSDK)
|
||||
else
|
||||
CC = cc -arch armv7 -isysroot $(IOSSDK)
|
||||
endif
|
||||
|
||||
LD = armv7-apple-darwin11-ld
|
||||
CFLAGS += -DIOS
|
||||
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
|
||||
CC += -miphoneos-version-min=8.0
|
||||
CFLAGS += -miphoneos-version-min=8.0
|
||||
else
|
||||
CC += -miphoneos-version-min=5.0
|
||||
CFLAGS += -miphoneos-version-min=5.0
|
||||
endif
|
||||
|
||||
# Theos iOS
|
||||
else ifeq ($(platform), theos_ios)
|
||||
DEPLOYMENT_IOSVERSION = 5.0
|
||||
TARGET = iphone:latest:$(DEPLOYMENT_IOSVERSION)
|
||||
ARCHS = armv7 armv7s
|
||||
TARGET_IPHONEOS_DEPLOYMENT_VERSION=$(DEPLOYMENT_IOSVERSION)
|
||||
THEOS_BUILD_DIR := objs
|
||||
include $(THEOS)/makefiles/common.mk
|
||||
|
||||
LIBRARY_NAME = $(TARGET_NAME)_libretro_ios
|
||||
HAVE_GRIFFIN = 1
|
||||
|
||||
|
||||
# QNX
|
||||
else ifeq ($(platform), qnx)
|
||||
EXT ?= so
|
||||
TARGET := $(TARGET_NAME)_libretro_qnx.$(EXT)
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--version-script=libretro/link.T
|
||||
|
||||
CC = qcc -Vgcc_ntoarmv7le
|
||||
AR = qcc -Vgcc_ntoarmv7le
|
||||
CFLAGS += -D__BLACKBERRY_QNX__
|
||||
|
||||
# PS3
|
||||
else ifeq ($(platform), ps3)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_ps3.$(EXT)
|
||||
CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
|
||||
AR = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ar.exe
|
||||
CFLAGS += -D__ppc__ -DMSB_FIRST
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# PS3 (SNC)
|
||||
else ifeq ($(platform), sncps3)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_ps3.$(EXT)
|
||||
CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
|
||||
AR = $(CELL_SDK)/host-win32/sn/bin/ps3snarl.exe
|
||||
CFLAGS += -D__ppc__ -DMSB_FIRST
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# Lightweight PS3 Homebrew SDK
|
||||
else ifeq ($(platform), psl1ght)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
|
||||
CC = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT)
|
||||
AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT)
|
||||
CFLAGS += -D__ppc__ -DMSB_FIRST
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# PSP
|
||||
else ifeq ($(platform), psp1)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
|
||||
CC = psp-gcc$(EXE_EXT)
|
||||
AR = psp-ar$(EXE_EXT)
|
||||
CFLAGS += -DPSP -G0
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# DOS
|
||||
else ifeq ($(platform), dos)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
|
||||
CC = i686-pc-msdosdjgpp-gcc
|
||||
AR = i686-pc-msdosdjgpp-ar
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
CFLAGS += -march=i386
|
||||
|
||||
# Vita
|
||||
else ifeq ($(platform), vita)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
|
||||
CC = arm-vita-eabi-gcc$(EXE_EXT)
|
||||
AR = arm-vita-eabi-ar$(EXE_EXT)
|
||||
CFLAGS += -DVITA
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# CTR (3DS)
|
||||
else ifeq ($(platform), ctr)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
|
||||
CC = $(DEVKITARM)/bin/arm-none-eabi-gcc$(EXE_EXT)
|
||||
AR = $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT)
|
||||
CFLAGS += -DARM11 -D_3DS
|
||||
CFLAGS += -march=armv6k -mtune=mpcore -mfloat-abi=hard
|
||||
CFLAGS += -Wall -mword-relocations
|
||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||
CFLAGS += -D_3DS
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# Raspberry Pi 2
|
||||
else ifeq ($(platform), rpi2)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined
|
||||
CFLAGS += -DARM
|
||||
CFLAGS += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
|
||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||
HAVE_NEON = 1
|
||||
|
||||
# Raspberry Pi 3
|
||||
else ifeq ($(platform), rpi3)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
fpic := -fPIC
|
||||
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined
|
||||
CFLAGS += -DARM
|
||||
CFLAGS += -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations
|
||||
CFLAGS += -fomit-frame-pointer -ffast-math
|
||||
HAVE_NEON = 1
|
||||
|
||||
# Xbox 360
|
||||
else ifeq ($(platform), xenon)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_xenon360.$(EXT)
|
||||
CC = xenon-gcc$(EXE_EXT)
|
||||
AR = xenon-ar$(EXE_EXT)
|
||||
CFLAGS += -D__LIBXENON__ -m32 -D__ppc__
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# Nintendo Game Cube
|
||||
else ifeq ($(platform), ngc)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
|
||||
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
|
||||
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
|
||||
CFLAGS += -DGEKKO -DHW_DOL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST
|
||||
CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# Nintendo Wii
|
||||
else ifeq ($(platform), wii)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
|
||||
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
|
||||
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
|
||||
CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST
|
||||
CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# Nintendo WiiU
|
||||
else ifeq ($(platform), wiiu)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
|
||||
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
|
||||
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
|
||||
CFLAGS += -DGEKKO -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST
|
||||
CFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# ARM
|
||||
else ifneq (,$(findstring armv,$(platform)))
|
||||
EXT ?= so
|
||||
TARGET := $(TARGET_NAME)_libretro.$(EXT)
|
||||
SHARED := -shared -Wl,--no-undefined
|
||||
fpic := -fPIC
|
||||
CC ?= gcc
|
||||
ifneq (,$(findstring cortexa8,$(platform)))
|
||||
CFLAGS += -marm -mcpu=cortex-a8
|
||||
ASFLAGS += -mcpu=cortex-a8
|
||||
else ifneq (,$(findstring cortexa9,$(platform)))
|
||||
CFLAGS += -marm -mcpu=cortex-a9
|
||||
ASFLAGS += -mcpu=cortex-a9
|
||||
endif
|
||||
CFLAGS += -marm
|
||||
ifneq (,$(findstring neon,$(platform)))
|
||||
CFLAGS += -mfpu=neon
|
||||
ASFLAGS += -mfpu=neon
|
||||
HAVE_NEON = 1
|
||||
endif
|
||||
ifneq (,$(findstring softfloat,$(platform)))
|
||||
CFLAGS += -mfloat-abi=softfp
|
||||
ASFLAGS += -mfloat-abi=softfp
|
||||
else ifneq (,$(findstring hardfloat,$(platform)))
|
||||
CFLAGS += -mfloat-abi=hard
|
||||
ASFLAGS += -mfloat-abi=hard
|
||||
endif
|
||||
CFLAGS += -DARM
|
||||
|
||||
# Emscripten
|
||||
else ifeq ($(platform), emscripten)
|
||||
EXT ?= bc
|
||||
TARGET := $(TARGET_NAME)_libretro_emscripten.$(EXT)
|
||||
STATIC_LINKING=1
|
||||
|
||||
# GCW0
|
||||
else ifeq ($(platform), gcw0)
|
||||
TARGET := $(TARGET_NAME)_libretro.so
|
||||
CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
|
||||
CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
|
||||
AR = /opt/gcw0-toolchain/usr/bin/mipsel-linux-ar
|
||||
SHARED := -shared -Wl,--version-script=libretro/link.T
|
||||
fpic := -fPIC
|
||||
CFLAGS += $(PTHREAD_FLAGS)
|
||||
CFLAGS += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
|
||||
|
||||
else ifeq ($(platform), msvc)
|
||||
OBJOUT = -Fo
|
||||
|
||||
# Nintendo Switch (libtransistor)
|
||||
else ifeq ($(platform), switch)
|
||||
EXT=a
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
|
||||
include $(LIBTRANSISTOR_HOME)/libtransistor.mk
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
# Windows MSVC 2003 Xbox 1
|
||||
else ifeq ($(platform), xbox1_msvc2003)
|
||||
TARGET := $(TARGET_NAME)_libretro_xdk1.lib
|
||||
CC = CL.exe
|
||||
CXX = CL.exe
|
||||
LD = lib.exe
|
||||
|
||||
export INCLUDE := $(XDK)\xbox\include
|
||||
export LIB := $(XDK)\xbox\lib
|
||||
PATH := $(call unixcygpath,$(XDK)/xbox/bin/vc71):$(PATH)
|
||||
|
||||
PSS_STYLE :=2
|
||||
CFLAGS += -D_XBOX -D_XBOX1
|
||||
CXXFLAGS += -D_XBOX -D_XBOX1
|
||||
STATIC_LINKING=1
|
||||
STATIC_LINKING_LINK=1
|
||||
|
||||
|
||||
# Windows
|
||||
else
|
||||
EXT ?= dll
|
||||
TARGET := $(TARGET_NAME)_libretro.$(EXT)
|
||||
CC = gcc
|
||||
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=libretro/link.T
|
||||
CFLAGS += -D__WIN32__ -D__WIN32_LIBRETRO__
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(STATIC_LINKING),1)
|
||||
SHARED=
|
||||
fpic=
|
||||
endif
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O2 -DNDEBUG -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
endif
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
OBJECTS := $(SOURCES_C:.c=.o)
|
||||
|
||||
DEFINES = $(COREDEFINES)
|
||||
|
||||
ifeq ($(STATIC_LINKING),1)
|
||||
DEFINES += -DSTATIC_LINKING
|
||||
endif
|
||||
|
||||
ifeq ($(platform), sncps3)
|
||||
WARNINGS_DEFINES =
|
||||
CODE_DEFINES =
|
||||
else ifeq ($(platform), ios)
|
||||
WARNINGS_DEFINES =
|
||||
CODE_DEFINES =
|
||||
else ifneq (,$(findstring msvc,$(platform)))
|
||||
WARNING_DEFINES =
|
||||
CODE_DEFINES =
|
||||
else
|
||||
WARNINGS_DEFINES = -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized
|
||||
CODE_DEFINES = -fomit-frame-pointer
|
||||
endif
|
||||
|
||||
COMMON_DEFINES += $(CODE_DEFINES) $(WARNINGS_DEFINES) $(fpic)
|
||||
|
||||
CFLAGS += $(DEFINES) $(COMMON_DEFINES)
|
||||
|
||||
ifneq (,$(findstring msvc,$(platform)))
|
||||
OBJOUT = -Fo
|
||||
LINKOUT = -out:
|
||||
ifeq ($(STATIC_LINKING),1)
|
||||
LD ?= lib.exe
|
||||
STATIC_LINKING=0
|
||||
else
|
||||
LD = link.exe
|
||||
endif
|
||||
else
|
||||
OBJOUT = -o
|
||||
LINKOUT = -o
|
||||
LD = $(CC)
|
||||
endif
|
||||
|
||||
ifeq ($(platform), theos_ios)
|
||||
COMMON_FLAGS := -DIOS -DARM $(COMMON_DEFINES) $(INCFLAGS) -I$(THEOS_INCLUDE_PATH) -Wno-error
|
||||
$(LIBRARY_NAME)_CFLAGS += $(COMMON_FLAGS)
|
||||
${LIBRARY_NAME}_FILES = $(SOURCES_CXX) $(SOURCES_C)
|
||||
include $(THEOS_MAKE_PATH)/library.mk
|
||||
else
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJECTS)
|
||||
ifeq ($(STATIC_LINKING_LINK),1)
|
||||
ifneq (,$(findstring msvc,$(platform)))
|
||||
$(LD) $(LINKOUT)$@ $(OBJECTS)
|
||||
else
|
||||
$(AR) rcs $@ $(OBJECTS)
|
||||
endif
|
||||
else
|
||||
$(CC) $(fpic) $(SHARED) $(INCFLAGS) $(LDFLAGS) $(OBJOUT)$@ $(OBJECTS) $(LIBM)
|
||||
endif
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(INCFLAGS) $(CFLAGS) -c $(OBJOUT)$@ $<
|
||||
|
||||
clean-objs:
|
||||
rm -rf $(OBJECTS)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJECTS) $(TARGET)
|
||||
|
||||
.PHONY: clean
|
||||
endif
|
||||
|
||||
endif
|
||||
91
libretroBuildSystem/build/Makefile.android_arm64-v8a
Normal file
91
libretroBuildSystem/build/Makefile.android_arm64-v8a
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux, Windows and Darwin
|
||||
# Download the Android NDK, unpack somewhere, and set NDK_ROOT_DIR to it
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-21/arch-arm64/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include/backward
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = $(NDK_ROOT_DIR)/toolchains/aarch64-linux-android-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/aarch64-linux-android-gcc
|
||||
CXX = $(NDK_ROOT_DIR)/toolchains/aarch64-linux-android-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/aarch64-linux-android-g++
|
||||
AS = $(NDK_ROOT_DIR)/toolchains/aarch64-linux-android-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/aarch64-linux-android-as
|
||||
AR = $(NDK_ROOT_DIR)/toolchains/aarch64-linux-android-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/aarch64-linux-android-ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .android_arm64-v8a.o
|
||||
SOEXT = .android_arm64-v8a.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = android
|
||||
PLATDEFS = -DANDROID -DINLINE=inline -DBSPF_UNIX -DHAVE_INTTYPES -DLSB_FIRST
|
||||
PLATCFLAGS = -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security
|
||||
PLATCXXFLAGS = -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security -fno-exceptions -fno-rtti
|
||||
PLATLDFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-21/arch-arm64 -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm
|
||||
PLATLDXFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-21/arch-arm64 -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm $(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/libgnustl_static.a
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.android_armeabi
Normal file
91
libretroBuildSystem/build/Makefile.android_armeabi
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux, Windows and Darwin
|
||||
# Download the Android NDK, unpack somewhere, and set NDK_ROOT_DIR to it
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-3/arch-arm/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = $(NDK_ROOT_DIR)/toolchains/arm-linux-androideabi-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/arm-linux-androideabi-gcc
|
||||
CXX = $(NDK_ROOT_DIR)/toolchains/arm-linux-androideabi-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/arm-linux-androideabi-g++
|
||||
AS = $(NDK_ROOT_DIR)/toolchains/arm-linux-androideabi-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/arm-linux-androideabi-as
|
||||
AR = $(NDK_ROOT_DIR)/toolchains/arm-linux-androideabi-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/arm-linux-androideabi-ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .android_armeabi.o
|
||||
SOEXT = .android_armeabi.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = android
|
||||
PLATDEFS = -DANDROID -DINLINE=inline -DBSPF_UNIX -DHAVE_INTTYPES -DLSB_FIRST
|
||||
PLATCFLAGS = -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security
|
||||
PLATCXXFLAGS = -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security -fno-exceptions -fno-rtti
|
||||
PLATLDFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-3/arch-arm -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm
|
||||
PLATLDXFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-3/arch-arm -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm $(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/thumb/libgnustl_static.a
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.android_armeabi-v7a
Normal file
91
libretroBuildSystem/build/Makefile.android_armeabi-v7a
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux, Windows and Darwin
|
||||
# Download the Android NDK, unpack somewhere, and set NDK_ROOT_DIR to it
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-3/arch-arm/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = $(NDK_ROOT_DIR)/toolchains/arm-linux-androideabi-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/arm-linux-androideabi-gcc
|
||||
CXX = $(NDK_ROOT_DIR)/toolchains/arm-linux-androideabi-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/arm-linux-androideabi-g++
|
||||
AS = $(NDK_ROOT_DIR)/toolchains/arm-linux-androideabi-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/arm-linux-androideabi-as
|
||||
AR = $(NDK_ROOT_DIR)/toolchains/arm-linux-androideabi-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/arm-linux-androideabi-ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .android_armeabi-v7a.o
|
||||
SOEXT = .android_armeabi-v7a.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = android
|
||||
PLATDEFS = -DANDROID -DINLINE=inline -DBSPF_UNIX -DHAVE_INTTYPES -DLSB_FIRST
|
||||
PLATCFLAGS = -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security
|
||||
PLATCXXFLAGS = -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security -fno-exceptions -fno-rtti
|
||||
PLATLDFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-3/arch-arm -lgcc -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm
|
||||
PLATLDXFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-3/arch-arm -lgcc -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm $(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/thumb/libgnustl_static.a
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.android_mips
Normal file
91
libretroBuildSystem/build/Makefile.android_mips
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux, Windows and Darwin
|
||||
# Download the Android NDK, unpack somewhere, and set NDK_ROOT_DIR to it
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-9/arch-mips/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/mips/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = $(NDK_ROOT_DIR)/toolchains/mipsel-linux-android-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/mipsel-linux-android-gcc
|
||||
CXX = $(NDK_ROOT_DIR)/toolchains/mipsel-linux-android-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/mipsel-linux-android-g++
|
||||
AS = $(NDK_ROOT_DIR)/toolchains/mipsel-linux-android-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/mipsel-linux-android-as
|
||||
AR = $(NDK_ROOT_DIR)/toolchains/mipsel-linux-android-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/mipsel-linux-android-ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .android_mips.o
|
||||
SOEXT = .android_mips.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = android
|
||||
PLATDEFS = -DANDROID -DINLINE=inline -DBSPF_UNIX -DHAVE_INTTYPES -DLSB_FIRST
|
||||
PLATCFLAGS = -fpic -fno-strict-aliasing -finline-functions -ffunction-sections -funwind-tables -fmessage-length=0 -fno-inline-functions-called-once -fgcse-after-reload -frerun-cse-after-loop -frename-registers -no-canonical-prefixes -fomit-frame-pointer -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security
|
||||
PLATCXXFLAGS = -fpic -fno-strict-aliasing -finline-functions -ffunction-sections -funwind-tables -fmessage-length=0 -fno-inline-functions-called-once -fgcse-after-reload -frerun-cse-after-loop -frename-registers -no-canonical-prefixes -fomit-frame-pointer -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security -fno-exceptions -fno-rtti
|
||||
PLATLDFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-9/arch-mips -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm
|
||||
PLATLDXFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-9/arch-mips -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm $(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/mips/libgnustl_static.a
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.android_mips64
Normal file
91
libretroBuildSystem/build/Makefile.android_mips64
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux, Windows and Darwin
|
||||
# Download the Android NDK, unpack somewhere, and set NDK_ROOT_DIR to it
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-21/arch-mips64/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/mips64/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include/backward
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = $(NDK_ROOT_DIR)/toolchains/mips64el-linux-android-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/mips64el-linux-android-gcc
|
||||
CXX = $(NDK_ROOT_DIR)/toolchains/mips64el-linux-android-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/mips64el-linux-android-g++
|
||||
AS = $(NDK_ROOT_DIR)/toolchains/mips64el-linux-android-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/mips64el-linux-android-as
|
||||
AR = $(NDK_ROOT_DIR)/toolchains/mips64el-linux-android-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/mips64el-linux-android-ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .android_mips64.o
|
||||
SOEXT = .android_mips64.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = android
|
||||
PLATDEFS = -DANDROID -DINLINE=inline -DBSPF_UNIX -DHAVE_INTTYPES -DLSB_FIRST
|
||||
PLATCFLAGS = -fpic -fno-strict-aliasing -finline-functions -ffunction-sections -funwind-tables -fmessage-length=0 -fno-inline-functions-called-once -fgcse-after-reload -frerun-cse-after-loop -frename-registers -no-canonical-prefixes -fomit-frame-pointer -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security
|
||||
PLATCXXFLAGS = -fpic -fno-strict-aliasing -finline-functions -ffunction-sections -funwind-tables -fmessage-length=0 -fno-inline-functions-called-once -fgcse-after-reload -frerun-cse-after-loop -frename-registers -no-canonical-prefixes -fomit-frame-pointer -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security -fno-exceptions -fno-rtti
|
||||
PLATLDFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-21/arch-mips64 -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm
|
||||
PLATLDXFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-21/arch-mips64 -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm $(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/mips64/libgnustl_static.a
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.android_x86
Normal file
91
libretroBuildSystem/build/Makefile.android_x86
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux, Windows and Darwin
|
||||
# Download the Android NDK, unpack somewhere, and set NDK_ROOT_DIR to it
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-9/arch-x86/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/include/backward
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = $(NDK_ROOT_DIR)/toolchains/x86-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/i686-linux-android-gcc
|
||||
CXX = $(NDK_ROOT_DIR)/toolchains/x86-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/i686-linux-android-g++
|
||||
AS = $(NDK_ROOT_DIR)/toolchains/x86-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/i686-linux-android-as
|
||||
AR = $(NDK_ROOT_DIR)/toolchains/x86-4.8/prebuilt/$(HOST_PLATFORM)-x86_64/bin/i686-linux-android-ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .android_x86.o
|
||||
SOEXT = .android_x86.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = android
|
||||
PLATDEFS = -DANDROID -DINLINE=inline -DBSPF_UNIX -DHAVE_INTTYPES -DLSB_FIRST
|
||||
PLATCFLAGS = -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security
|
||||
PLATCXXFLAGS = -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security -fno-exceptions -fno-rtti
|
||||
PLATLDFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-9/arch-x86 -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm
|
||||
PLATLDXFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-9/arch-x86 -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm $(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86/libgnustl_static.a
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.android_x86_64
Normal file
91
libretroBuildSystem/build/Makefile.android_x86_64
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux, Windows and Darwin
|
||||
# Download the Android NDK, unpack somewhere, and set NDK_ROOT_DIR to it
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES = -I$(NDK_ROOT_DIR)/platforms/android-21/arch-x86_64/usr/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86_64/include -I$(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/include/backward
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = $(NDK_ROOT_DIR)/toolchains/x86_64-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/x86_64-linux-android-gcc
|
||||
CXX = $(NDK_ROOT_DIR)/toolchains/x86_64-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/x86_64-linux-android-g++
|
||||
AS = $(NDK_ROOT_DIR)/toolchains/x86_64-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/x86_64-linux-android-as
|
||||
AR = $(NDK_ROOT_DIR)/toolchains/x86_64-4.9/prebuilt/$(HOST_PLATFORM)-x86_64/bin/x86_64-linux-android-ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .android_x86_64.o
|
||||
SOEXT = .android_x86_64.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = android
|
||||
PLATDEFS = -DANDROID -DINLINE=inline -DBSPF_UNIX -DHAVE_INTTYPES -DLSB_FIRST
|
||||
PLATCFLAGS = -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security
|
||||
PLATCXXFLAGS = -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -Wa,--noexecstack -Wformat -Werror=format-security -fno-exceptions -fno-rtti
|
||||
PLATLDFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-21/arch-x86_64 -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm
|
||||
PLATLDXFLAGS = -shared --sysroot=$(NDK_ROOT_DIR)/platforms/android-21/arch-x86_64 -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm $(NDK_ROOT_DIR)/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86_64/libgnustl_static.a
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
20
libretroBuildSystem/build/Makefile.common
Normal file
20
libretroBuildSystem/build/Makefile.common
Normal file
@@ -0,0 +1,20 @@
|
||||
EMU_PATH := $(CORE_DIR)/../src
|
||||
LIBRETRO_COMM_DIR := $(CORE_DIR)/libretro-common
|
||||
COREDEFINES =
|
||||
|
||||
INCFLAGS := -I$(LIBRETRO_COMM_DIR)/include
|
||||
|
||||
ifneq (,$(findstring msvc2003,$(platform)))
|
||||
INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat/msvc
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring msvc,$(platform)))
|
||||
COREDEFINES += -DINLINE="static _inline"
|
||||
else
|
||||
COREDEFINES += -DINLINE="static inline"
|
||||
endif
|
||||
|
||||
include $(EMU_PATH)/makefile.all
|
||||
|
||||
SOURCES_C := $(CORE_DIR)/libretro.c \
|
||||
$(EMU_SOURCES)
|
||||
91
libretroBuildSystem/build/Makefile.linux-portable_x86
Normal file
91
libretroBuildSystem/build/Makefile.linux-portable_x86
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
# apt-get install g++-multilib libc6-dev-i386
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
AS = as
|
||||
AR = ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .linux-portable_x86.o
|
||||
SOEXT = .linux-portable_x86.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = unix
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -m32 -fpic -fstrict-aliasing
|
||||
PLATCXXFLAGS = -m32 -fpic -fstrict-aliasing
|
||||
PLATLDFLAGS = -m32 -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T
|
||||
PLATLDXFLAGS = -m32 -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.linux-portable_x86_64
Normal file
91
libretroBuildSystem/build/Makefile.linux-portable_x86_64
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
#
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
AS = as
|
||||
AR = ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .linux-portable_x86_64.o
|
||||
SOEXT = .linux-portable_x86_64.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = unix
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -m64 -fpic -fstrict-aliasing
|
||||
PLATCXXFLAGS = -m64 -fpic -fstrict-aliasing
|
||||
PLATLDFLAGS = -m64 -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T
|
||||
PLATLDXFLAGS = -m64 -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.linux_x86
Normal file
91
libretroBuildSystem/build/Makefile.linux_x86
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
# apt-get install g++-multilib libc6-dev-i386
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
AS = as
|
||||
AR = ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .linux_x86.o
|
||||
SOEXT = .linux_x86.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = unix
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -m32 -fpic -fstrict-aliasing
|
||||
PLATCXXFLAGS = -m32 -fpic -fstrict-aliasing
|
||||
PLATLDFLAGS = -m32 -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T -Wl,-no-undefined
|
||||
PLATLDXFLAGS = -m32 -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T -Wl,-no-undefined
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.linux_x86_64
Normal file
91
libretroBuildSystem/build/Makefile.linux_x86_64
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
#
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
AS = as
|
||||
AR = ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .linux_x86_64.o
|
||||
SOEXT = .linux_x86_64.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = unix
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -m64 -fpic -fstrict-aliasing
|
||||
PLATCXXFLAGS = -m64 -fpic -fstrict-aliasing
|
||||
PLATLDFLAGS = -m64 -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T -Wl,-no-undefined
|
||||
PLATLDXFLAGS = -m64 -shared -lm -Wl,-version-script=$(BUILD_DIR)/link.T -Wl,-no-undefined
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.mingw_x86
Normal file
91
libretroBuildSystem/build/Makefile.mingw_x86
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Windows
|
||||
# Install MSYS2
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
AS = as
|
||||
AR = ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .mingw_x86.o
|
||||
SOEXT = .mingw_x86.dll
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = win
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -m32 -fpic -fstrict-aliasing
|
||||
PLATCXXFLAGS = -m32 -fpic -fstrict-aliasing
|
||||
PLATLDFLAGS = -m32 -shared -lm
|
||||
PLATLDXFLAGS = -m32 -shared -lm
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.mingw_x86_64
Normal file
91
libretroBuildSystem/build/Makefile.mingw_x86_64
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Windows
|
||||
# Install MSYS2
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
AS = as
|
||||
AR = ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .mingw_x86_64.o
|
||||
SOEXT = .mingw_x86_64.dll
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = win
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -m64 -fpic -fstrict-aliasing
|
||||
PLATCXXFLAGS = -m64 -fpic -fstrict-aliasing
|
||||
PLATLDFLAGS = -m64 -shared -lm
|
||||
PLATLDXFLAGS = -m64 -shared -lm
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
50
libretroBuildSystem/build/Makefile.rules
Normal file
50
libretroBuildSystem/build/Makefile.rules
Normal file
@@ -0,0 +1,50 @@
|
||||
TARGET_NAME ?= snes9x2010
|
||||
|
||||
ifeq ($(STATIC_LINKING), 1)
|
||||
TARGET = $(TARGET_NAME)_libretro_$(platform).a
|
||||
else
|
||||
TARGET = $(TARGET_NAME)_libretro$(SOEXT)
|
||||
endif
|
||||
|
||||
DEFINES +=
|
||||
CFLAGS += -Wall
|
||||
CXXFLAGS += -Wall
|
||||
LDFLAGS +=
|
||||
OBJOUT = -o
|
||||
LINKOUT = -o
|
||||
|
||||
OBJS = $(SOURCES_C:.c=$(OBJEXT)) $(SOURCES_CXX:.cpp=$(OBJEXT))
|
||||
|
||||
ifneq (,$(findstring msvc,$(platform)))
|
||||
OBJOUT = -Fo
|
||||
LINKOUT = -out:
|
||||
LD = link.exe
|
||||
else
|
||||
LD = $(CC)
|
||||
endif
|
||||
|
||||
%$(OBJEXT): %.cpp
|
||||
$(CXX) -c $(OBJOUT)$@ $< $(INCFLAGS) $(CXXFLAGS)
|
||||
|
||||
%$(OBJEXT): %.c
|
||||
$(CC) -c $(OBJOUT)$@ $< $(INCFLAGS) $(CFLAGS)
|
||||
|
||||
%$(OBJEXT): %.S
|
||||
$(CC_AS) -c $(OBJOUT)$@ $< $(CFLAGS)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(HEADERS) $(OBJS)
|
||||
ifeq ($(STATIC_LINKING), 1)
|
||||
$(AR) rcs $@ $(OBJS)
|
||||
else
|
||||
$(LD) $(LINKOUT)$@ $(OBJS) $(LDFLAGS)
|
||||
endif
|
||||
|
||||
clean-objs:
|
||||
rm -f $(OBJS)
|
||||
|
||||
clean: clean-objs
|
||||
rm -f $(TARGET)
|
||||
|
||||
.PHONY: clean-objs clean dist-clean FORCE
|
||||
91
libretroBuildSystem/build/Makefile.wii_ppc
Normal file
91
libretroBuildSystem/build/Makefile.wii_ppc
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
# Install devkitppc
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = $(DEVKITPPC_ROOT_DIR)/bin/powerpc-eabi-gcc
|
||||
CXX = $(DEVKITPPC_ROOT_DIR)/bin/powerpc-eabi-g++
|
||||
AS = $(DEVKITPPC_ROOT_DIR)/bin/powerpc-eabi-as
|
||||
AR = $(DEVKITPPC_ROOT_DIR)/bin/powerpc-eabi-ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .wii_ppc.o
|
||||
SOEXT = .wii_ppc.so
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 1
|
||||
platform = wii
|
||||
PLATDEFS = -DGEKKO -DHW_RVL
|
||||
PLATCFLAGS = -m32 -fstrict-aliasing -mrvl -mcpu=750 -meabi -mhard-float
|
||||
PLATCXXFLAGS = -m32 -fstrict-aliasing -mrvl -mcpu=750 -meabi -mhard-float
|
||||
PLATLDFLAGS = -shared -lm
|
||||
PLATLDXFLAGS = -shared -lm
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
102
libretroBuildSystem/build/Makefile.windows_msvc2003_x86
Normal file
102
libretroBuildSystem/build/Makefile.windows_msvc2003_x86
Normal file
@@ -0,0 +1,102 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
# apt-get install mingw-w64
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = cl.exe
|
||||
CXX = cl.exe
|
||||
|
||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../../VC7/bin"):$(PATH)
|
||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../IDE")
|
||||
INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../../VC7/include")
|
||||
LIB := $(shell IFS=$$'\n'; cygpath -w "$(VS71COMNTOOLS)../../VC7/lib")
|
||||
BIN := $(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../../Vc7/bin")
|
||||
|
||||
WindowsSdkDir := $(INETSDK)
|
||||
|
||||
export INCLUDE := $(INCLUDE);$(WindowsSdkDir)/Include;libretro/msvc/msvc-2005
|
||||
export LIB := $(LIB);$(WindowsSdkDir);$(INETSDK)/Lib
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .obj
|
||||
SOEXT = .dll
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = win
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -D_USRDLL -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
PLATCXXFLAGS = $(PLATCFLAGS)
|
||||
#PLATLDFLAGS = -shared -lm
|
||||
#PLATLDXFLAGS = -shared -lm
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__ -wd4710 -wd4711 -wd4127 -wd4204 -wd4242 -wd4244 -wd4820 -wd4214 -wd4100 -wd4738 -wd4706 -wd4668 -wd4245 -wd4255 -wd4389 -wd4305 -wd4113
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
CFLAGS += -Od -Zi -D_DEBUG
|
||||
CXXFLAGS += -Od -Zi -D_DEBUG
|
||||
LDFLAGS += -DEBUG -DLL
|
||||
else
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
CXXFLAGS += -O2 -DNDEBUG
|
||||
LDFLAGS += -DLL
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
101
libretroBuildSystem/build/Makefile.windows_msvc2005_x86
Normal file
101
libretroBuildSystem/build/Makefile.windows_msvc2005_x86
Normal file
@@ -0,0 +1,101 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
# apt-get install mingw-w64
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = cl.exe
|
||||
CXX = cl.exe
|
||||
|
||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../../VC/bin"):$(PATH)
|
||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../IDE")
|
||||
INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../../VC/include")
|
||||
LIB := $(shell IFS=$$'\n'; cygpath -w "$(VS80COMNTOOLS)../../VC/lib")
|
||||
|
||||
WindowsSdkDir := $(INETSDK)
|
||||
|
||||
export INCLUDE := $(INCLUDE);$(WindowsSdkDir)/Include;libretro/msvc/msvc-2005
|
||||
export LIB := $(LIB);$(WindowsSdkDir);$(INETSDK)/Lib
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .obj
|
||||
SOEXT = .dll
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = win
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -D_USRDLL -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
PLATCXXFLAGS = $(PLATCFLAGS)
|
||||
#PLATLDFLAGS = -shared -lm
|
||||
#PLATLDXFLAGS = -shared -lm
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__ -wd4710 -wd4711 -wd4127 -wd4204 -wd4242 -wd4244 -wd4820 -wd4214 -wd4100 -wd4738 -wd4706 -wd4668 -wd4245 -wd4255 -wd4389 -wd4305 -wd4113
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
CFLAGS += -Od -Zi -D_DEBUG
|
||||
CXXFLAGS += -Od -Zi -D_DEBUG
|
||||
LDFLAGS += -DEBUG -DLL
|
||||
else
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
CXXFLAGS += -O2 -DNDEBUG
|
||||
LDFLAGS += -DLL
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
105
libretroBuildSystem/build/Makefile.windows_msvc2010_x64
Normal file
105
libretroBuildSystem/build/Makefile.windows_msvc2010_x64
Normal file
@@ -0,0 +1,105 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
# apt-get install mingw-w64
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = cl.exe
|
||||
CXX = cl.exe
|
||||
|
||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/bin/amd64"):$(PATH)
|
||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../IDE")
|
||||
INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/include")
|
||||
LIB := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/lib/amd64")
|
||||
|
||||
WindowsSdkDir := $(shell reg query "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A" -v "InstallationFolder" | grep -o '[A-Z]:\\.*')lib/x64
|
||||
WindowsSdkDir ?= $(shell reg query "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1A" -v "InstallationFolder" | grep -o '[A-Z]:\\.*')lib/x64
|
||||
|
||||
export INCLUDE := $(INCLUDE)
|
||||
export LIB := $(LIB);$(WindowsSdkDir)
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .obj
|
||||
SOEXT = .dll
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = win
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -D_USRDLL -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
PLATCXXFLAGS = $(PLATCFLAGS)
|
||||
#PLATLDFLAGS = -shared -lm
|
||||
#PLATLDXFLAGS = -shared -lm
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
CFLAGS += -Od -Zi -D_DEBUG
|
||||
CXXFLAGS += -Od -Zi -D_DEBUG
|
||||
LDFLAGS += -DEBUG -DLL
|
||||
else
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
CXXFLAGS += -O2 -DNDEBUG
|
||||
LDFLAGS += -DLL
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
|
||||
print-%:
|
||||
@echo '$*=$($*)'
|
||||
102
libretroBuildSystem/build/Makefile.windows_msvc2010_x86
Normal file
102
libretroBuildSystem/build/Makefile.windows_msvc2010_x86
Normal file
@@ -0,0 +1,102 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
# apt-get install mingw-w64
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = cl.exe
|
||||
CXX = cl.exe
|
||||
|
||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/bin"):$(PATH)
|
||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../IDE")
|
||||
INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS100COMNTOOLS)../../VC/include")
|
||||
LIB := $(shell IFS=$$'\n'; cygpath -w "$(VS100COMNTOOLS)../../VC/lib")
|
||||
|
||||
WindowsSdkDir := $(shell reg query "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A" -v "InstallationFolder" | grep -o '[A-Z]:\\.*')lib
|
||||
WindowsSdkDir ?= $(shell reg query "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1A" -v "InstallationFolder" | grep -o '[A-Z]:\\.*')lib
|
||||
|
||||
export INCLUDE := $(INCLUDE)
|
||||
export LIB := $(LIB);$(WindowsSdkDir)
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .obj
|
||||
SOEXT = .dll
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = win
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -D_USRDLL -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
PLATCXXFLAGS = $(PLATCFLAGS)
|
||||
#PLATLDFLAGS = -shared -lm
|
||||
#PLATLDXFLAGS = -shared -lm
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__ -wd4710 -wd4711 -wd4127 -wd4204 -wd4242 -wd4244 -wd4820 -wd4214 -wd4100 -wd4738 -wd4706 -wd4668 -wd4245 -wd4255 -wd4389 -wd4305 -wd4113
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
CFLAGS += -Od -Zi -D_DEBUG
|
||||
CXXFLAGS += -Od -Zi -D_DEBUG
|
||||
LDFLAGS += -DEBUG -DLL
|
||||
else
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
CXXFLAGS += -O2 -DNDEBUG
|
||||
LDFLAGS += -DLL
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
113
libretroBuildSystem/build/Makefile.windows_msvc2015_x64
Normal file
113
libretroBuildSystem/build/Makefile.windows_msvc2015_x64
Normal file
@@ -0,0 +1,113 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
# apt-get install mingw-w64
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = cl.exe
|
||||
CXX = cl.exe
|
||||
|
||||
PATH := $(shell IFS=$$'\n'; cygpath "$(VS140COMNTOOLS)../../VC/bin/amd64"):$(PATH)
|
||||
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS140COMNTOOLS)../IDE")
|
||||
INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS140COMNTOOLS)../../VC/include")
|
||||
LIB := $(shell IFS=$$'\n'; cygpath "$(VS140COMNTOOLS)../../VC/lib/amd64")
|
||||
|
||||
reg_query = $(call filter_out2,$(subst $2,,$(shell reg query "$2" -v "$1" 2>nul)))
|
||||
fix_path = $(subst $(SPACE),\ ,$(subst \,/,$1))
|
||||
WindowsSdkDir ?= $(call reg_query,InstallationFolder,HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0)
|
||||
WindowsSdkDir ?= $(call reg_query,InstallationFolder,HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0)
|
||||
WindowsSdkDir ?= $(call reg_query,InstallationFolder,HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0)
|
||||
WindowsSdkDir ?= $(call reg_query,InstallationFolder,HKEY_CURRENT_USER\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0)
|
||||
WindowsSdkDir := $(WindowsSdkDir)
|
||||
|
||||
WindowsSDKVersion ?= $(firstword $(foreach folder,$(subst $(subst \,/,$(WindowsSdkDir)Include/),,$(wildcard $(call fix_path,$(WindowsSdkDir)Include\*))),$(if $(wildcard $(call fix_path,$(WindowsSdkDir)Include/$(folder)/um/Windows.h)),$(folder),)))$(BACKSLASH)
|
||||
WindowsSDKVersion := $(WindowsSDKVersion)
|
||||
|
||||
export INCLUDE := $(INCLUDE);$(VCINSTALLDIR)INCLUDE;$(VCINSTALLDIR)ATLMFC\INCLUDE;$(WindowsSdkDir)include\$(WindowsSDKVersion)ucrt;$(WindowsSdkDir)include\$(WindowsSDKVersion)shared;$(WindowsSdkDir)include\$(WindowsSDKVersion)um;
|
||||
export LIB := $(LIB);$(VCINSTALLDIR)LIB\amd64;$(VCINSTALLDIR)ATLMFC\LIB\amd64;$(WindowsSdkDir)lib\$(WindowsSDKVersion)ucrt\x64;$(WindowsSdkDir)lib\$(WindowsSDKVersion)um\x64;
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .obj
|
||||
SOEXT = .dll
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = win
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -D_USRDLL -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
PLATCXXFLAGS = $(PLATCFLAGS)
|
||||
#PLATLDFLAGS = -shared -lm
|
||||
#PLATLDXFLAGS = -shared -lm
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
CFLAGS += -Od -Zi -D_DEBUG
|
||||
CXXFLAGS += -Od -Zi -D_DEBUG
|
||||
LDFLAGS += -DEBUG -DLL
|
||||
else
|
||||
CFLAGS += -O2 -DNDEBUG
|
||||
CXXFLAGS += -O2 -DNDEBUG
|
||||
LDFLAGS += -DLL
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
|
||||
print-%:
|
||||
@echo '$*=$($*)'
|
||||
91
libretroBuildSystem/build/Makefile.windows_x86
Normal file
91
libretroBuildSystem/build/Makefile.windows_x86
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
# apt-get install mingw-w64
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = i686-w64-mingw32-gcc
|
||||
CXX = i686-w64-mingw32-g++
|
||||
AS = i686-w64-mingw32-as
|
||||
AR = i686-w64-mingw32-ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .windows_x86.o
|
||||
SOEXT = .windows_x86.dll
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = win
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -fstrict-aliasing
|
||||
PLATCXXFLAGS = -fstrict-aliasing
|
||||
PLATLDFLAGS = -shared -lm
|
||||
PLATLDXFLAGS = -shared -lm
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
91
libretroBuildSystem/build/Makefile.windows_x86_64
Normal file
91
libretroBuildSystem/build/Makefile.windows_x86_64
Normal file
@@ -0,0 +1,91 @@
|
||||
##############
|
||||
# Works on hosts Linux
|
||||
# apt-get install mingw-w64
|
||||
|
||||
##########################
|
||||
# Checks the host platform
|
||||
|
||||
HOST_PLATFORM = linux
|
||||
ifeq ($(shell uname -a),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
HOST_PLATFORM = darwin
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
HOST_PLATFORM = windows
|
||||
endif
|
||||
|
||||
|
||||
####################################
|
||||
# Variable setup for Makefile.common
|
||||
|
||||
CORE_DIR ?= ..
|
||||
BUILD_DIR ?= .
|
||||
INCLUDES =
|
||||
|
||||
include $(BUILD_DIR)/Makefile.common
|
||||
|
||||
#################
|
||||
# Toolchain setup
|
||||
|
||||
CC = x86_64-w64-mingw32-gcc
|
||||
CXX = x86_64-w64-mingw32-g++
|
||||
AS = x86_64-w64-mingw32-as
|
||||
AR = x86_64-w64-mingw32-ar
|
||||
|
||||
############
|
||||
# Extensions
|
||||
|
||||
OBJEXT = .windows_x86_64.o
|
||||
SOEXT = .windows_x86_64.dll
|
||||
|
||||
################
|
||||
# Platform setup
|
||||
|
||||
STATIC_LINKING = 0
|
||||
platform = win
|
||||
PLATDEFS =
|
||||
PLATCFLAGS = -fpic -fstrict-aliasing
|
||||
PLATCXXFLAGS = -fpic -fstrict-aliasing
|
||||
PLATLDFLAGS = -shared -lm
|
||||
PLATLDXFLAGS = -shared -lm
|
||||
|
||||
################
|
||||
# libretro setup
|
||||
|
||||
RETRODEFS = -D__LIBRETRO__
|
||||
RETROCFLAGS =
|
||||
RETROCXXFLAGS =
|
||||
RETROLDFLAGS =
|
||||
RETROLDXFLAGS =
|
||||
|
||||
#################
|
||||
# Final variables
|
||||
|
||||
DEFINES = $(PLATDEFS) $(COREDEFINES) $(RETRODEFS)
|
||||
CFLAGS = $(PLATCFLAGS) $(RETROCFLAGS) $(DEFINES) $(INCLUDES)
|
||||
CXXFLAGS = $(PLATCXXFLAGS) $(RETROCXXFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS = $(PLATLDFLAGS) $(RETROLDFLAGS)
|
||||
LDXFLAGS = $(PLATLDXFLAGS) $(RETROLDXFLAGS)
|
||||
|
||||
########
|
||||
# Tuning
|
||||
|
||||
ifneq ($(DEBUG),)
|
||||
CFLAGS += -O0 -g
|
||||
CXXFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
CXXFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
ifneq ($(LOG_PERFORMANCE),)
|
||||
CFLAGS += -DLOG_PERFORMANCE
|
||||
CXXFLAGS += -DLOG_PERFORMANCE
|
||||
endif
|
||||
|
||||
###############
|
||||
# Include rules
|
||||
|
||||
include $(BUILD_DIR)/Makefile.rules
|
||||
5
libretroBuildSystem/build/link.T
Normal file
5
libretroBuildSystem/build/link.T
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
global: retro_*;
|
||||
local: *;
|
||||
};
|
||||
|
||||
48
libretroBuildSystem/jni/Android.mk
Normal file
48
libretroBuildSystem/jni/Android.mk
Normal file
@@ -0,0 +1,48 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
GIT_VERSION := " $(shell git rev-parse --short HEAD)"
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := retro
|
||||
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
LOCAL_CFLAGS += -DANDROID_ARM
|
||||
|
||||
#arm speedups
|
||||
#default to thumb because its smaller and more can fit in the cpu cache
|
||||
LOCAL_ARM_MODE := thumb
|
||||
#switch to arm or thumb instruction set per function based on speed(dont restrict to only arm or thumb use both)
|
||||
#LOCAL_CFLAGS += -mthumb-interwork
|
||||
|
||||
#enable/disable optimization
|
||||
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
|
||||
LOCAL_CFLAGS += -munaligned-access
|
||||
V7NEONOPTIMIZATION ?= 0
|
||||
else ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
|
||||
#neon is a requirement for armv8 so just enable it
|
||||
LOCAL_CFLAGS += -munaligned-access
|
||||
LOCAL_ARM_NEON := true
|
||||
endif
|
||||
|
||||
#armv7+ optimizations
|
||||
ifeq ($(V7NEONOPTIMIZATION),1)
|
||||
LOCAL_ARM_NEON := true
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
LOCAL_CFLAGS += -DANDROID_X86
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_ARCH),mips)
|
||||
LOCAL_CFLAGS += -DANDROID_MIPS -D__mips__ -D__MIPSEL__
|
||||
endif
|
||||
|
||||
CORE_DIR := ..
|
||||
|
||||
include $(CORE_DIR)/build/Makefile.common
|
||||
|
||||
LOCAL_SRC_FILES += $(SOURCES_C)
|
||||
LOCAL_CFLAGS += -O3 -std=gnu99 -ffast-math -funroll-loops -DINLINE="static inline" -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\" $(INCFLAGS)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
1
libretroBuildSystem/jni/Application.mk
Normal file
1
libretroBuildSystem/jni/Application.mk
Normal file
@@ -0,0 +1 @@
|
||||
APP_ABI := all
|
||||
39
libretroBuildSystem/libretro-common/include/boolean.h
Normal file
39
libretroBuildSystem/libretro-common/include/boolean.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/* Copyright (C) 2010-2017 The RetroArch team
|
||||
*
|
||||
* ---------------------------------------------------------------------------------------
|
||||
* The following license statement only applies to this file (boolean.h).
|
||||
* ---------------------------------------------------------------------------------------
|
||||
*
|
||||
* Permission is hereby granted, free of charge,
|
||||
* to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
* and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __LIBRETRO_SDK_BOOLEAN_H
|
||||
#define __LIBRETRO_SDK_BOOLEAN_H
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1800 && !defined(SN_TARGET_PS3)
|
||||
/* Hack applied for MSVC when compiling in C89 mode as it isn't C99 compliant. */
|
||||
#define bool unsigned char
|
||||
#define true 1
|
||||
#define false 0
|
||||
#else
|
||||
#include <stdbool.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
128
libretroBuildSystem/libretro-common/include/compat/msvc.h
Normal file
128
libretroBuildSystem/libretro-common/include/compat/msvc.h
Normal file
@@ -0,0 +1,128 @@
|
||||
/* Copyright (C) 2010-2017 The RetroArch team
|
||||
*
|
||||
* ---------------------------------------------------------------------------------------
|
||||
* The following license statement only applies to this file (msvc.h).
|
||||
* ---------------------------------------------------------------------------------------
|
||||
*
|
||||
* Permission is hereby granted, free of charge,
|
||||
* to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
* and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __LIBRETRO_SDK_COMPAT_MSVC_H
|
||||
#define __LIBRETRO_SDK_COMPAT_MSVC_H
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Pre-MSVC 2015 compilers don't implement snprintf in a cross-platform manner. */
|
||||
#if _MSC_VER < 1900
|
||||
#include <stdlib.h>
|
||||
#ifndef snprintf
|
||||
#define snprintf c99_snprintf_retro__
|
||||
#endif
|
||||
|
||||
int c99_snprintf_retro__(char *outBuf, size_t size, const char *format, ...);
|
||||
#endif
|
||||
|
||||
/* Pre-MSVC 2010 compilers don't implement vsnprintf in a cross-platform manner? Not sure about this one. */
|
||||
#if _MSC_VER < 1600
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#ifndef vsnprintf
|
||||
#define vsnprintf c99_vsnprintf_retro__
|
||||
#endif
|
||||
int c99_vsnprintf_retro__(char *outBuf, size_t size, const char *format, va_list ap);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#undef UNICODE /* Do not bother with UNICODE at this time. */
|
||||
#include <direct.h>
|
||||
#include <stddef.h>
|
||||
#include <math.h>
|
||||
|
||||
/* Python headers defines ssize_t and sets HAVE_SSIZE_T.
|
||||
* Cannot duplicate these efforts.
|
||||
*/
|
||||
#ifndef HAVE_SSIZE_T
|
||||
#if defined(_WIN64)
|
||||
typedef __int64 ssize_t;
|
||||
#elif defined(_WIN32)
|
||||
typedef int ssize_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define mkdir(dirname, unused) _mkdir(dirname)
|
||||
#define strtoull _strtoui64
|
||||
#undef strcasecmp
|
||||
#define strcasecmp _stricmp
|
||||
#undef strncasecmp
|
||||
#define strncasecmp _strnicmp
|
||||
|
||||
/* Disable some of the annoying warnings. */
|
||||
#pragma warning(disable : 4800)
|
||||
#pragma warning(disable : 4805)
|
||||
#pragma warning(disable : 4244)
|
||||
#pragma warning(disable : 4305)
|
||||
#pragma warning(disable : 4146)
|
||||
#pragma warning(disable : 4267)
|
||||
#pragma warning(disable : 4723)
|
||||
#pragma warning(disable : 4996)
|
||||
|
||||
/* roundf and va_copy is available since MSVC 2013 */
|
||||
#if _MSC_VER < 1800
|
||||
#define roundf(in) (in >= 0.0f ? floorf(in + 0.5f) : ceilf(in - 0.5f))
|
||||
#define va_copy(x, y) ((x) = (y))
|
||||
#endif
|
||||
|
||||
#if _MSC_VER <= 1310
|
||||
#ifndef __cplusplus
|
||||
/* VC6 math.h doesn't define some functions when in C mode.
|
||||
* Trying to define a prototype gives "undefined reference".
|
||||
* But providing an implementation then gives "function already has body".
|
||||
* So the equivalent of the implementations from math.h are used as
|
||||
* defines here instead, and it seems to work.
|
||||
*/
|
||||
#define cosf(x) ((float)cos((double)x))
|
||||
#define powf(x, y) ((float)pow((double)x, (double)y))
|
||||
#define sinf(x) ((float)sin((double)x))
|
||||
#define ceilf(x) ((float)ceil((double)x))
|
||||
#define floorf(x) ((float)floor((double)x))
|
||||
#define sqrtf(x) ((float)sqrt((double)x))
|
||||
#define fabsf(x) ((float)fabs((double)(x)))
|
||||
#endif
|
||||
|
||||
#ifndef _strtoui64
|
||||
#define _strtoui64(x, y, z) (_atoi64(x))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX _MAX_PATH
|
||||
#endif
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX _UI32_MAX
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
258
libretroBuildSystem/libretro-common/include/compat/msvc/stdint.h
Normal file
258
libretroBuildSystem/libretro-common/include/compat/msvc/stdint.h
Normal file
@@ -0,0 +1,258 @@
|
||||
/* ISO C9x compliant stdint.h for Microsoft Visual Studio
|
||||
* Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
|
||||
*
|
||||
* Copyright (c) 2006-2008 Alexander Chemeris
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* 3. The name of the author may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
* EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __RARCH_STDINT_H
|
||||
#define __RARCH_STDINT_H
|
||||
|
||||
#if _MSC_VER && (_MSC_VER < 1600)
|
||||
/* Pre-MSVC 2010 needs an implementation of stdint.h. */
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
/* For Visual Studio 6 in C++ mode and for many Visual Studio versions when
|
||||
* compiling for ARM we should wrap <wchar.h> include with 'extern "C++" {}'
|
||||
* or compiler give many errors like this:
|
||||
*
|
||||
* error C2733: second C linkage of overloaded function 'wmemchr' not allowed
|
||||
*/
|
||||
#ifdef __cplusplus
|
||||
#if _MSC_VER <= 1200
|
||||
extern "C++" {
|
||||
#else
|
||||
extern "C" {
|
||||
#endif
|
||||
#endif
|
||||
# include <wchar.h>
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Define _W64 macros to mark types changing their size, like intptr_t. */
|
||||
#ifndef _W64
|
||||
# if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
|
||||
# define _W64 __w64
|
||||
# else
|
||||
# define _W64
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
/* 7.18.1 Integer types. */
|
||||
|
||||
/* 7.18.1.1 Exact-width integer types. */
|
||||
|
||||
/* Visual Studio 6 and Embedded Visual C++ 4 doesn't
|
||||
* realize that, e.g. char has the same size as __int8
|
||||
* so we give up on __intX for them.
|
||||
*/
|
||||
#if (_MSC_VER < 1300)
|
||||
typedef signed char int8_t;
|
||||
typedef signed short int16_t;
|
||||
typedef signed int int32_t;
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned short uint16_t;
|
||||
typedef unsigned int uint32_t;
|
||||
#else
|
||||
typedef signed __int8 int8_t;
|
||||
typedef signed __int16 int16_t;
|
||||
typedef signed __int32 int32_t;
|
||||
typedef unsigned __int8 uint8_t;
|
||||
typedef unsigned __int16 uint16_t;
|
||||
typedef unsigned __int32 uint32_t;
|
||||
#endif
|
||||
typedef signed __int64 int64_t;
|
||||
typedef unsigned __int64 uint64_t;
|
||||
|
||||
|
||||
/* 7.18.1.2 Minimum-width integer types. */
|
||||
typedef int8_t int_least8_t;
|
||||
typedef int16_t int_least16_t;
|
||||
typedef int32_t int_least32_t;
|
||||
typedef int64_t int_least64_t;
|
||||
typedef uint8_t uint_least8_t;
|
||||
typedef uint16_t uint_least16_t;
|
||||
typedef uint32_t uint_least32_t;
|
||||
typedef uint64_t uint_least64_t;
|
||||
|
||||
/* 7.18.1.3 Fastest minimum-width integer types. */
|
||||
typedef int8_t int_fast8_t;
|
||||
typedef int16_t int_fast16_t;
|
||||
typedef int32_t int_fast32_t;
|
||||
typedef int64_t int_fast64_t;
|
||||
typedef uint8_t uint_fast8_t;
|
||||
typedef uint16_t uint_fast16_t;
|
||||
typedef uint32_t uint_fast32_t;
|
||||
typedef uint64_t uint_fast64_t;
|
||||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers. */
|
||||
#ifdef _WIN64 /* [ */
|
||||
typedef signed __int64 intptr_t;
|
||||
typedef unsigned __int64 uintptr_t;
|
||||
#else /* _WIN64 ][ */
|
||||
typedef _W64 signed int intptr_t;
|
||||
typedef _W64 unsigned int uintptr_t;
|
||||
#endif /* _WIN64 ] */
|
||||
|
||||
/* 7.18.1.5 Greatest-width integer types. */
|
||||
typedef int64_t intmax_t;
|
||||
typedef uint64_t uintmax_t;
|
||||
|
||||
/* 7.18.2 Limits of specified-width integer types. */
|
||||
|
||||
#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)
|
||||
/* [ See footnote 220 at page 257 and footnote 221 at page 259. */
|
||||
|
||||
/* 7.18.2.1 Limits of exact-width integer types. */
|
||||
#define INT8_MIN ((int8_t)_I8_MIN)
|
||||
#define INT8_MAX _I8_MAX
|
||||
#define INT16_MIN ((int16_t)_I16_MIN)
|
||||
#define INT16_MAX _I16_MAX
|
||||
#define INT32_MIN ((int32_t)_I32_MIN)
|
||||
#define INT32_MAX _I32_MAX
|
||||
#define INT64_MIN ((int64_t)_I64_MIN)
|
||||
#define INT64_MAX _I64_MAX
|
||||
#define UINT8_MAX _UI8_MAX
|
||||
#define UINT16_MAX _UI16_MAX
|
||||
#define UINT32_MAX _UI32_MAX
|
||||
#define UINT64_MAX _UI64_MAX
|
||||
|
||||
/* 7.18.2.2 Limits of minimum-width integer types. */
|
||||
#define INT_LEAST8_MIN INT8_MIN
|
||||
#define INT_LEAST8_MAX INT8_MAX
|
||||
#define INT_LEAST16_MIN INT16_MIN
|
||||
#define INT_LEAST16_MAX INT16_MAX
|
||||
#define INT_LEAST32_MIN INT32_MIN
|
||||
#define INT_LEAST32_MAX INT32_MAX
|
||||
#define INT_LEAST64_MIN INT64_MIN
|
||||
#define INT_LEAST64_MAX INT64_MAX
|
||||
#define UINT_LEAST8_MAX UINT8_MAX
|
||||
#define UINT_LEAST16_MAX UINT16_MAX
|
||||
#define UINT_LEAST32_MAX UINT32_MAX
|
||||
#define UINT_LEAST64_MAX UINT64_MAX
|
||||
|
||||
/* 7.18.2.3 Limits of fastest minimum-width integer types. */
|
||||
#define INT_FAST8_MIN INT8_MIN
|
||||
#define INT_FAST8_MAX INT8_MAX
|
||||
#define INT_FAST16_MIN INT16_MIN
|
||||
#define INT_FAST16_MAX INT16_MAX
|
||||
#define INT_FAST32_MIN INT32_MIN
|
||||
#define INT_FAST32_MAX INT32_MAX
|
||||
#define INT_FAST64_MIN INT64_MIN
|
||||
#define INT_FAST64_MAX INT64_MAX
|
||||
#define UINT_FAST8_MAX UINT8_MAX
|
||||
#define UINT_FAST16_MAX UINT16_MAX
|
||||
#define UINT_FAST32_MAX UINT32_MAX
|
||||
#define UINT_FAST64_MAX UINT64_MAX
|
||||
|
||||
/* 7.18.2.4 Limits of integer types capable of holding object pointers. */
|
||||
#ifdef _WIN64 /* [ */
|
||||
# define INTPTR_MIN INT64_MIN
|
||||
# define INTPTR_MAX INT64_MAX
|
||||
# define UINTPTR_MAX UINT64_MAX
|
||||
#else /* _WIN64 ][ */
|
||||
# define INTPTR_MIN INT32_MIN
|
||||
# define INTPTR_MAX INT32_MAX
|
||||
# define UINTPTR_MAX UINT32_MAX
|
||||
#endif /* _WIN64 ] */
|
||||
|
||||
/* 7.18.2.5 Limits of greatest-width integer types */
|
||||
#define INTMAX_MIN INT64_MIN
|
||||
#define INTMAX_MAX INT64_MAX
|
||||
#define UINTMAX_MAX UINT64_MAX
|
||||
|
||||
/* 7.18.3 Limits of other integer types */
|
||||
|
||||
#ifdef _WIN64 /* [ */
|
||||
# define PTRDIFF_MIN _I64_MIN
|
||||
# define PTRDIFF_MAX _I64_MAX
|
||||
#else /* _WIN64 ][ */
|
||||
# define PTRDIFF_MIN _I32_MIN
|
||||
# define PTRDIFF_MAX _I32_MAX
|
||||
#endif /* _WIN64 ] */
|
||||
|
||||
#define SIG_ATOMIC_MIN INT_MIN
|
||||
#define SIG_ATOMIC_MAX INT_MAX
|
||||
|
||||
#ifndef SIZE_MAX /* [ */
|
||||
# ifdef _WIN64 /* [ */
|
||||
# define SIZE_MAX _UI64_MAX
|
||||
# else /* _WIN64 ][ */
|
||||
# define SIZE_MAX _UI32_MAX
|
||||
# endif /* _WIN64 ] */
|
||||
#endif /* SIZE_MAX ] */
|
||||
|
||||
/* WCHAR_MIN and WCHAR_MAX are also defined in <wchar.h> */
|
||||
#ifndef WCHAR_MIN /* [ */
|
||||
# define WCHAR_MIN 0
|
||||
#endif /* WCHAR_MIN ] */
|
||||
#ifndef WCHAR_MAX // [
|
||||
# define WCHAR_MAX _UI16_MAX
|
||||
#endif /* WCHAR_MAX ] */
|
||||
|
||||
#define WINT_MIN 0
|
||||
#define WINT_MAX _UI16_MAX
|
||||
|
||||
#endif /* __STDC_LIMIT_MACROS ] */
|
||||
|
||||
/* 7.18.4 Limits of other integer types */
|
||||
|
||||
#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS)
|
||||
/* [ See footnote 224 at page 260 */
|
||||
|
||||
/* 7.18.4.1 Macros for minimum-width integer constants */
|
||||
|
||||
#define INT8_C(val) val##i8
|
||||
#define INT16_C(val) val##i16
|
||||
#define INT32_C(val) val##i32
|
||||
#define INT64_C(val) val##i64
|
||||
|
||||
#define UINT8_C(val) val##ui8
|
||||
#define UINT16_C(val) val##ui16
|
||||
#define UINT32_C(val) val##ui32
|
||||
#define UINT64_C(val) val##ui64
|
||||
|
||||
/* 7.18.4.2 Macros for greatest-width integer constants */
|
||||
#define INTMAX_C INT64_C
|
||||
#define UINTMAX_C UINT64_C
|
||||
|
||||
#endif
|
||||
/* __STDC_CONSTANT_MACROS ] */
|
||||
|
||||
#else
|
||||
/* Sanity for everything else. */
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
39
libretroBuildSystem/libretro-common/include/retro_inline.h
Normal file
39
libretroBuildSystem/libretro-common/include/retro_inline.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/* Copyright (C) 2010-2017 The RetroArch team
|
||||
*
|
||||
* ---------------------------------------------------------------------------------------
|
||||
* The following license statement only applies to this file (retro_inline.h).
|
||||
* ---------------------------------------------------------------------------------------
|
||||
*
|
||||
* Permission is hereby granted, free of charge,
|
||||
* to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
* and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __LIBRETRO_SDK_INLINE_H
|
||||
#define __LIBRETRO_SDK_INLINE_H
|
||||
|
||||
#ifndef INLINE
|
||||
|
||||
#if defined(_WIN32) || defined(__INTEL_COMPILER)
|
||||
#define INLINE __inline
|
||||
#elif defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
|
||||
#define INLINE inline
|
||||
#elif defined(__GNUC__)
|
||||
#define INLINE __inline__
|
||||
#else
|
||||
#define INLINE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,158 @@
|
||||
/* Copyright (C) 2010-2017 The RetroArch team
|
||||
*
|
||||
* ---------------------------------------------------------------------------------------
|
||||
* The following license statement only applies to this file (retro_miscellaneous.h).
|
||||
* ---------------------------------------------------------------------------------------
|
||||
*
|
||||
* Permission is hereby granted, free of charge,
|
||||
* to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
* and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __RARCH_MISCELLANEOUS_H
|
||||
#define __RARCH_MISCELLANEOUS_H
|
||||
|
||||
#define RARCH_MAX_SUBSYSTEMS 10
|
||||
#define RARCH_MAX_SUBSYSTEM_ROMS 10
|
||||
|
||||
#include <stdint.h>
|
||||
#include <boolean.h>
|
||||
#include <retro_inline.h>
|
||||
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#elif defined(_WIN32) && defined(_XBOX)
|
||||
#include <Xtl.h>
|
||||
#endif
|
||||
|
||||
#if defined(__CELLOS_LV2__)
|
||||
#include <sys/fs_external.h>
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <compat/msvc.h>
|
||||
#endif
|
||||
|
||||
static INLINE void bits_or_bits(uint32_t *a, uint32_t *b, uint32_t count)
|
||||
{
|
||||
uint32_t i;
|
||||
for (i = 0; i < count;i++)
|
||||
a[i] |= b[i];
|
||||
}
|
||||
|
||||
static INLINE void bits_clear_bits(uint32_t *a, uint32_t *b, uint32_t count)
|
||||
{
|
||||
uint32_t i;
|
||||
for (i = 0; i < count;i++)
|
||||
a[i] &= ~b[i];
|
||||
}
|
||||
|
||||
static INLINE bool bits_any_set(uint32_t* ptr, uint32_t count)
|
||||
{
|
||||
uint32_t i;
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
if (ptr[i] != 0)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifndef PATH_MAX_LENGTH
|
||||
#if defined(__CELLOS_LV2__)
|
||||
#define PATH_MAX_LENGTH CELL_FS_MAX_FS_PATH_LENGTH
|
||||
#elif defined(_XBOX1) || defined(_3DS) || defined(PSP) || defined(GEKKO)|| defined(WIIU)
|
||||
#define PATH_MAX_LENGTH 512
|
||||
#else
|
||||
#define PATH_MAX_LENGTH 4096
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
|
||||
|
||||
#define BITS_GET_ELEM(a, i) ((a).data[i])
|
||||
#define BITS_GET_ELEM_PTR(a, i) ((a)->data[i])
|
||||
|
||||
#define BIT_SET(a, bit) ((a)[(bit) >> 3] |= (1 << ((bit) & 7)))
|
||||
#define BIT_CLEAR(a, bit) ((a)[(bit) >> 3] &= ~(1 << ((bit) & 7)))
|
||||
#define BIT_GET(a, bit) (((a)[(bit) >> 3] >> ((bit) & 7)) & 1)
|
||||
|
||||
#define BIT16_SET(a, bit) ((a) |= (1 << ((bit) & 15)))
|
||||
#define BIT16_CLEAR(a, bit) ((a) &= ~(1 << ((bit) & 15)))
|
||||
#define BIT16_GET(a, bit) (((a) >> ((bit) & 15)) & 1)
|
||||
#define BIT16_CLEAR_ALL(a) ((a) = 0)
|
||||
|
||||
#define BIT32_SET(a, bit) ((a) |= (1 << ((bit) & 31)))
|
||||
#define BIT32_CLEAR(a, bit) ((a) &= ~(1 << ((bit) & 31)))
|
||||
#define BIT32_GET(a, bit) (((a) >> ((bit) & 31)) & 1)
|
||||
#define BIT32_CLEAR_ALL(a) ((a) = 0)
|
||||
|
||||
#define BIT64_SET(a, bit) ((a) |= (UINT64_C(1) << ((bit) & 63)))
|
||||
#define BIT64_CLEAR(a, bit) ((a) &= ~(UINT64_C(1) << ((bit) & 63)))
|
||||
#define BIT64_GET(a, bit) (((a) >> ((bit) & 63)) & 1)
|
||||
#define BIT64_CLEAR_ALL(a) ((a) = 0)
|
||||
|
||||
#define BIT128_SET(a, bit) ((a).data[(bit) >> 5] |= (1 << ((bit) & 31)))
|
||||
#define BIT128_CLEAR(a, bit) ((a).data[(bit) >> 5] &= ~(1 << ((bit) & 31)))
|
||||
#define BIT128_GET(a, bit) (((a).data[(bit) >> 5] >> ((bit) & 31)) & 1)
|
||||
#define BIT128_CLEAR_ALL(a) memset(&(a), 0, sizeof(a))
|
||||
|
||||
#define BIT128_SET_PTR(a, bit) BIT128_SET(*a, bit)
|
||||
#define BIT128_CLEAR_PTR(a, bit) BIT128_CLEAR(*a, bit)
|
||||
#define BIT128_GET_PTR(a, bit) BIT128_GET(*a, bit)
|
||||
#define BIT128_CLEAR_ALL_PTR(a) BIT128_CLEAR_ALL(*a)
|
||||
|
||||
#define BIT256_SET(a, bit) BIT128_SET(a, bit)
|
||||
#define BIT256_CLEAR(a, bit) BIT128_CLEAR(a, bit)
|
||||
#define BIT256_GET(a, bit) BIT128_GET(a, bit)
|
||||
#define BIT256_CLEAR_ALL(a) BIT128_CLEAR_ALL(a)
|
||||
|
||||
#define BIT256_SET_PTR(a, bit) BIT256_SET(*a, bit)
|
||||
#define BIT256_CLEAR_PTR(a, bit) BIT256_CLEAR(*a, bit)
|
||||
#define BIT256_GET_PTR(a, bit) BIT256_GET(*a, bit)
|
||||
#define BIT256_CLEAR_ALL_PTR(a) BIT256_CLEAR_ALL(*a)
|
||||
|
||||
#define BITS_COPY16_PTR(a,bits) \
|
||||
{ \
|
||||
BIT128_CLEAR_ALL_PTR(a); \
|
||||
BITS_GET_ELEM_PTR(a, 0) = (bits) & 0xffff; \
|
||||
}
|
||||
|
||||
#define BITS_COPY32_PTR(a,bits) \
|
||||
{ \
|
||||
BIT128_CLEAR_ALL_PTR(a); \
|
||||
BITS_GET_ELEM_PTR(a, 0) = (bits); \
|
||||
}
|
||||
|
||||
/* Helper macros and struct to keep track of many booleans. */
|
||||
/* This struct has 256 bits. */
|
||||
typedef struct
|
||||
{
|
||||
uint32_t data[8];
|
||||
} retro_bits_t;
|
||||
|
||||
#endif
|
||||
285
libretroBuildSystem/libretro.c
Normal file
285
libretroBuildSystem/libretro.c
Normal file
@@ -0,0 +1,285 @@
|
||||
#include "libretro.h"
|
||||
#include "libretro_params.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <retro_miscellaneous.h>
|
||||
|
||||
#include "../src/emulator.h"
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
#define path_default_slash() "\\"
|
||||
#else
|
||||
#define path_default_slash() "/"
|
||||
#endif
|
||||
|
||||
|
||||
retro_log_printf_t log_cb;
|
||||
retro_video_refresh_t video_cb;
|
||||
|
||||
#if 0
|
||||
static retro_audio_sample_t audio_cb;
|
||||
static retro_audio_sample_batch_t audio_batch_cb;
|
||||
#endif
|
||||
|
||||
retro_environment_t environ_cb;
|
||||
static retro_input_poll_t input_poll_cb;
|
||||
static retro_input_state_t input_state_cb;
|
||||
|
||||
static void fallback_log(enum retro_log_level level, const char *fmt, ...)
|
||||
{
|
||||
va_list va;
|
||||
|
||||
(void)level;
|
||||
|
||||
va_start(va, fmt);
|
||||
vfprintf(stderr, fmt, va);
|
||||
va_end(va);
|
||||
}
|
||||
|
||||
void retro_init(void)
|
||||
{
|
||||
enum retro_pixel_format rgb565 = RETRO_PIXEL_FORMAT_RGB565;
|
||||
|
||||
if(environ_cb(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &rgb565))
|
||||
log_cb(RETRO_LOG_INFO, "Frontend supports RGB565 - will use that instead of XRGB1555.\n");
|
||||
}
|
||||
|
||||
void retro_deinit(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
unsigned retro_api_version(void)
|
||||
{
|
||||
return RETRO_API_VERSION;
|
||||
}
|
||||
|
||||
void retro_set_controller_port_device(unsigned port, unsigned device)
|
||||
{
|
||||
(void)port;
|
||||
(void)device;
|
||||
}
|
||||
|
||||
void retro_get_system_info(struct retro_system_info *info)
|
||||
{
|
||||
memset(info, 0, sizeof(*info));
|
||||
info->library_name = LR_CORENAME;
|
||||
#ifndef GIT_VERSION
|
||||
#define GIT_VERSION ""
|
||||
#endif
|
||||
info->library_version = LR_LIBVERSION GIT_VERSION;
|
||||
info->need_fullpath = LR_NEEDFILEPATH;
|
||||
info->valid_extensions = LR_VALIDFILEEXT; /* Anything is fine, we don't care. */
|
||||
}
|
||||
|
||||
void retro_get_system_av_info(struct retro_system_av_info *info)
|
||||
{
|
||||
info->timing.fps = LR_SCREENFPS;
|
||||
info->timing.sample_rate = LR_SOUNDRATE;
|
||||
|
||||
info->geometry.base_width = LR_SCREENWIDTH;
|
||||
info->geometry.base_height = LR_SCREENHEIGHT;
|
||||
info->geometry.max_width = LR_SCREENWIDTH;
|
||||
info->geometry.max_height = LR_SCREENHEIGHT;
|
||||
info->geometry.aspect_ratio = LR_SCREENASPECT;
|
||||
}
|
||||
|
||||
void retro_set_environment(retro_environment_t cb)
|
||||
{
|
||||
struct retro_log_callback logging;
|
||||
bool no_rom = !LR_REQUIRESROM;
|
||||
|
||||
environ_cb = cb;
|
||||
|
||||
cb(RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME, &no_rom);
|
||||
|
||||
if (cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &logging))
|
||||
log_cb = logging.log;
|
||||
else
|
||||
log_cb = fallback_log;
|
||||
}
|
||||
|
||||
void retro_set_audio_sample(retro_audio_sample_t cb)
|
||||
{
|
||||
#if 0
|
||||
audio_cb = cb;
|
||||
#endif
|
||||
}
|
||||
|
||||
void retro_set_audio_sample_batch(retro_audio_sample_batch_t cb)
|
||||
{
|
||||
#if 0
|
||||
audio_batch_cb = cb;
|
||||
#endif
|
||||
}
|
||||
|
||||
void retro_set_input_poll(retro_input_poll_t cb)
|
||||
{
|
||||
input_poll_cb = cb;
|
||||
}
|
||||
|
||||
void retro_set_input_state(retro_input_state_t cb)
|
||||
{
|
||||
input_state_cb = cb;
|
||||
}
|
||||
|
||||
void retro_set_video_refresh(retro_video_refresh_t cb)
|
||||
{
|
||||
video_cb = cb;
|
||||
}
|
||||
|
||||
void retro_reset(void)
|
||||
{
|
||||
emulatorReset();
|
||||
}
|
||||
|
||||
void retro_run(void)
|
||||
{
|
||||
/*
|
||||
key_state_t ks;
|
||||
|
||||
input_poll_cb();
|
||||
|
||||
ks.up = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_UP);
|
||||
ks.right = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_RIGHT);
|
||||
ks.down = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_DOWN);
|
||||
ks.left = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_LEFT);
|
||||
ks.start = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_START);
|
||||
ks.select = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_SELECT);
|
||||
|
||||
*/
|
||||
|
||||
emulateFrame();
|
||||
video_cb(palmFramebuffer, LR_SCREENWIDTH, LR_SCREENHEIGHT, LR_SCREENWIDTH * sizeof(uint16_t));
|
||||
}
|
||||
|
||||
bool retro_load_game(const struct retro_game_info *info)
|
||||
{
|
||||
const char* systemDirectory;
|
||||
char palmRomPath[PATH_MAX_LENGTH];
|
||||
uint8_t palmRom[ROM_SIZE];
|
||||
FILE* romFile;
|
||||
size_t bytesRead;
|
||||
struct retro_input_descriptor desc[] = {
|
||||
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_LEFT, "Left" },
|
||||
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_UP, "Up" },
|
||||
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_DOWN, "Down" },
|
||||
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_RIGHT, "Right" },
|
||||
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_START, "OS Menu" },
|
||||
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_A, "Calender" },
|
||||
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_B, "Address Book" },
|
||||
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_X, "ToDo" },
|
||||
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_Y, "Notes" },
|
||||
{ 0 },
|
||||
};
|
||||
|
||||
environ_cb(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, desc);
|
||||
|
||||
environ_cb(RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY, &systemDirectory);
|
||||
strncpy(palmRomPath, systemDirectory, PATH_MAX_LENGTH);
|
||||
strncat(palmRomPath, path_default_slash(), PATH_MAX_LENGTH - strlen(palmRomPath));
|
||||
strncat(palmRomPath, "palmos41-en-m515.rom", PATH_MAX_LENGTH - strlen(palmRomPath));
|
||||
|
||||
romFile = fopen(palmRomPath, "rb");
|
||||
|
||||
if(romFile == NULL)
|
||||
return false;
|
||||
|
||||
bytesRead = fread(palmRom, 1, ROM_SIZE, romFile);
|
||||
fclose(romFile);
|
||||
|
||||
if(bytesRead == ROM_SIZE)
|
||||
emulatorInit(palmRom);
|
||||
else
|
||||
return false;
|
||||
|
||||
time_t rawTime;
|
||||
struct tm* timeInfo;
|
||||
time(&rawTime);
|
||||
timeInfo = localtime(&rawTime);
|
||||
emulatorSetRtc(timeInfo->tm_yday, timeInfo->tm_hour, timeInfo->tm_min, timeInfo->tm_sec);
|
||||
|
||||
if(info != NULL){
|
||||
uint32_t prcSuccess = emulatorInstallPrcPdb(info->data, info->size);
|
||||
//pretend to pass for now
|
||||
/*
|
||||
if(prcSuccess != EMU_ERROR_NONE)
|
||||
return false;
|
||||
*/
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void retro_unload_game(void)
|
||||
{
|
||||
}
|
||||
|
||||
unsigned retro_get_region(void)
|
||||
{
|
||||
return RETRO_REGION_NTSC;
|
||||
}
|
||||
|
||||
bool retro_load_game_special(unsigned type, const struct retro_game_info *info, size_t num)
|
||||
{
|
||||
(void)type;
|
||||
(void)info;
|
||||
(void)num;
|
||||
return false;
|
||||
}
|
||||
|
||||
size_t retro_serialize_size(void)
|
||||
{
|
||||
return emulatorGetStateSize();
|
||||
}
|
||||
|
||||
bool retro_serialize(void *data, size_t size)
|
||||
{
|
||||
emulatorSaveState(data);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool retro_unserialize(const void *data, size_t size)
|
||||
{
|
||||
emulatorLoadState(data);
|
||||
return true;
|
||||
}
|
||||
|
||||
void *retro_get_memory_data(unsigned id)
|
||||
{
|
||||
/*
|
||||
if (id != RETRO_MEMORY_SAVE_RAM)
|
||||
return NULL;
|
||||
|
||||
return game_data();
|
||||
*/
|
||||
return NULL;
|
||||
}
|
||||
|
||||
size_t retro_get_memory_size(unsigned id)
|
||||
{
|
||||
/*
|
||||
if (id != RETRO_MEMORY_SAVE_RAM)
|
||||
return 0;
|
||||
|
||||
return game_data_size();
|
||||
*/
|
||||
return 0;
|
||||
}
|
||||
|
||||
void retro_cheat_reset(void)
|
||||
{}
|
||||
|
||||
void retro_cheat_set(unsigned index, bool enabled, const char *code)
|
||||
{
|
||||
(void)index;
|
||||
(void)enabled;
|
||||
(void)code;
|
||||
}
|
||||
|
||||
2343
libretroBuildSystem/libretro.h
Normal file
2343
libretroBuildSystem/libretro.h
Normal file
File diff suppressed because it is too large
Load Diff
18
libretroBuildSystem/libretro_params.h
Normal file
18
libretroBuildSystem/libretro_params.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef LREXPORTS_
|
||||
#define LREXPORTS_
|
||||
|
||||
#define LR_SCREENWIDTH 160
|
||||
#define LR_SCREENHEIGHT (160 + 60)
|
||||
#define LR_SCREENASPECT ((float)LR_SCREENWIDTH / (float)LR_SCREENHEIGHT) //square pixels
|
||||
#define LR_SCREENFPS 60.0
|
||||
|
||||
#define LR_SOUNDRATE 44100.0
|
||||
|
||||
#define LR_CORENAME "PersianTree"
|
||||
#define LR_LIBVERSION "0.86+"
|
||||
#define LR_VALIDFILEEXT "prc|pdb"
|
||||
#define LR_NEEDFILEPATH false
|
||||
#define LR_BLOCKARCEXTRACT false
|
||||
#define LR_REQUIRESROM false
|
||||
|
||||
#endif
|
||||
11
libretroBuildSystem/palmm515emu_libretro.info
Normal file
11
libretroBuildSystem/palmm515emu_libretro.info
Normal file
@@ -0,0 +1,11 @@
|
||||
display_name = "Palm OS (Persian Tree)"
|
||||
authors = "guicrith / meepingsnesroms"
|
||||
supported_extensions = "prc|pdb|pqa"
|
||||
corename = "Persian Tree"
|
||||
manufacturer = "Palm"
|
||||
categories = "Emulator"
|
||||
systemname = "Palm OS"
|
||||
license = "Non-commercial"
|
||||
permissions = ""
|
||||
display_version = "v0.1"
|
||||
supports_no_game = "true"
|
||||
39
qtBuildSystem/qt-common/boolean.h
Normal file
39
qtBuildSystem/qt-common/boolean.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/* Copyright (C) 2010-2017 The RetroArch team
|
||||
*
|
||||
* ---------------------------------------------------------------------------------------
|
||||
* The following license statement only applies to this file (boolean.h).
|
||||
* ---------------------------------------------------------------------------------------
|
||||
*
|
||||
* Permission is hereby granted, free of charge,
|
||||
* to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
* and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __LIBRETRO_SDK_BOOLEAN_H
|
||||
#define __LIBRETRO_SDK_BOOLEAN_H
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1800 && !defined(SN_TARGET_PS3)
|
||||
/* Hack applied for MSVC when compiling in C89 mode as it isn't C99 compliant. */
|
||||
#define bool unsigned char
|
||||
#define true 1
|
||||
#define false 0
|
||||
#else
|
||||
#include <stdbool.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
53
readme.md
Normal file
53
readme.md
Normal file
@@ -0,0 +1,53 @@
|
||||
# Palm m515/OS 4.1 emulator
|
||||
|
||||
This is a complete restart of my Palm OS emulator, with the last one the code got too messy and the goal too ambitious(to emulate every palm API in software and for compatibility with all Palm OS versions and devices).
|
||||
|
||||
|
||||
# The goal of this project
|
||||
|
||||
To emulate every part of the Palm m515 that is used by the OS perfectly.
|
||||
This means no hacks like POSE where API calls are intercepted and replaced with those that dont use the actual hardware.
|
||||
It is also written in C for RetroArch so it will run on everything at the start, not just Win95 like POSE and Copilot and is being developed with modern emulator features in mind, save/load state and overclocking are available from the start.
|
||||
|
||||
## Why the m515?
|
||||
|
||||
It is the best Palm brand OS 4 device that has no special hardware builtin(cellphone, barcode scanner, keyboard attachment), it has a color screen, and available ROM dumps.
|
||||
|
||||
## What about accessorys?
|
||||
|
||||
The Palm keyboard attachment will likely be emulated later on so the PC keyboard can be used on text fields.
|
||||
|
||||
## OS improvements
|
||||
|
||||
If there is something the OS does not support(like an OS 5 API) I may add it manually, this will be in the form of a custom firmware as a ROM image or a .bps patch, not a patch to the emulator with only 1 exception "sysTrapPceNativeCall" which would require an ARM interpreter, it would also be an option to not apply this patch leaving you with an accurately emulated stock Palm m515.
|
||||
|
||||
These patches will not be worked on until the emulator is actually running.
|
||||
|
||||
## But you shouldnt waste your time on OS 4, OS 5 can do more.
|
||||
|
||||
I have made a video of OS 5 doing that "more", it is extremely incompatible with OS 4 games which most games are, very few games used the ARM CPU and those that did are available on other platforms, some used the 320x320 display mode.
|
||||
|
||||
On Clie PEG-SL10:
|
||||
ArgonV: Normal
|
||||
Galax: Normal
|
||||
Zap!20XX: Normal
|
||||
Invaders: Normal
|
||||
Platypus: No ARM CPU, Cant Run
|
||||
|
||||
On Palm T|X:
|
||||
ArgonV: Runs At Warpspeed
|
||||
Galax: Audio Cuts Out
|
||||
Zap!20XX: Audio Cuts Out
|
||||
Invaders: Reboots System
|
||||
Platypus: Normal, Used To Prove Speaker Isnt Defective
|
||||
Bonus: Has Adware(Addit)
|
||||
|
||||
[Palm T|X vs OS 4 Games](https://youtu.be/ithVLI_M6i0)
|
||||
|
||||
The lack of ARM CPU will be fixed in my emulator see "OS improvements".
|
||||
|
||||
## Credits
|
||||
Musashi v3.4(last version that builds outside of mame) (68k core)
|
||||
|
||||
## License
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/3.0/us/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/3.0/us/">Creative Commons Attribution-NonCommercial 3.0 United States License</a>.
|
||||
96
src/cpu32Opcodes.c
Executable file
96
src/cpu32Opcodes.c
Executable file
@@ -0,0 +1,96 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
#include "m68k/m68kcpu.h"
|
||||
#include "m68k/m68kops.h"
|
||||
|
||||
|
||||
#define OPCODE_BGND 0x4AFA
|
||||
#define OPCODE_CPU32_START 0xF800
|
||||
#define OPCODE_CPU32_END 0xF83F
|
||||
|
||||
|
||||
bool lowPowerStopActive;
|
||||
|
||||
|
||||
static inline void patchOpcode(uint16_t opcode, void (*handler)(void), unsigned char cycles){
|
||||
m68ki_instruction_jump_table[opcode] = handler;
|
||||
m68ki_cycles[2][opcode] = cycles;//set how many cycles for 68020
|
||||
}
|
||||
|
||||
|
||||
void cpu32OpLpstop(void){
|
||||
uint immData = OPER_I_16();
|
||||
if(FLAG_S && immData & 0x2000){
|
||||
//turn off the cpu and wait for interrupts
|
||||
m68ki_set_sr(immData);
|
||||
lowPowerStopActive = true;
|
||||
}
|
||||
else{
|
||||
//program lacks authority
|
||||
m68ki_exception_privilege_violation();
|
||||
}
|
||||
}
|
||||
|
||||
void cpu32OpTbls(void){
|
||||
printf("TBLS opcode not implemented!\n");
|
||||
}
|
||||
|
||||
void cpu32OpTblsn(void){
|
||||
printf("TBLSN opcode not implemented!\n");
|
||||
}
|
||||
|
||||
void cpu32OpTblu(void){
|
||||
printf("TBLU opcode not implemented!\n");
|
||||
}
|
||||
|
||||
void cpu32OpTblun(void){
|
||||
printf("TBLUN opcode not implemented!\n");
|
||||
}
|
||||
|
||||
|
||||
void m68k_op_bgnd(void){
|
||||
printf("Opcode BGND not implemented!\n");
|
||||
}
|
||||
|
||||
void m68k_op_cpu32_dispatch(void){
|
||||
uint opcodePart1 = REG_IR;
|
||||
uint opcodePart2 = OPER_I_16();
|
||||
|
||||
if(opcodePart1 == 0xF800 && opcodePart2 == 0x01C0){
|
||||
//Low Power Stop
|
||||
cpu32OpLpstop();
|
||||
return;
|
||||
}
|
||||
|
||||
switch(opcodePart1 & 0x0C00){
|
||||
case 0x0800:
|
||||
//signed and rounded
|
||||
cpu32OpTbls();
|
||||
return;
|
||||
case 0x0C00:
|
||||
//signed, not rounded
|
||||
cpu32OpTblsn();
|
||||
return;
|
||||
case 0x0000:
|
||||
//unsigned and rounded
|
||||
cpu32OpTblu();
|
||||
return;
|
||||
case 0x0400:
|
||||
//unsigned, not rounded
|
||||
cpu32OpTblun();
|
||||
return;
|
||||
}
|
||||
|
||||
m68ki_exception_1111();//illegal coprocessor instruction
|
||||
}
|
||||
|
||||
|
||||
void patchMusashiOpcodeHandlerCpu32(){
|
||||
patchOpcode(OPCODE_BGND, m68k_op_bgnd, 16/*dont know how many cycles, average opcode*/);
|
||||
|
||||
for(uint16_t currentOpcode = OPCODE_CPU32_START; currentOpcode <= OPCODE_CPU32_END; currentOpcode++)
|
||||
patchOpcode(currentOpcode, m68k_op_cpu32_dispatch, 91/*dont know how many cycles, most expenceive opcode*/);
|
||||
}
|
||||
7
src/cpu32Opcodes.h
Executable file
7
src/cpu32Opcodes.h
Executable file
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
extern bool lowPowerStopActive;
|
||||
|
||||
void patchMusashiOpcodeHandlerCpu32();
|
||||
124
src/emulator.c
Normal file
124
src/emulator.c
Normal file
@@ -0,0 +1,124 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
#include "m68k/m68k.h"
|
||||
#include "cpu32Opcodes.h"
|
||||
#include "emulator.h"
|
||||
#include "hardwareRegisters.h"
|
||||
#include "sed1376.h"
|
||||
#include "silkscreen.h"
|
||||
|
||||
|
||||
//Memory Map of Palm m515
|
||||
//0x00000000-0x00FFFFFF RAM, the first 256(0x100) bytes is copyed from the first 256 bytes of ROM before boot, this applys to all palms with the 68k architecture
|
||||
//0x10000000-0x103FFFFF ROM, palmos41-en-m515.rom, substitute "en" for your language code
|
||||
//0x1FF80000-0x1FF800B3 sed1376(Display Controller) Registers
|
||||
//0x1FFA0000-0x1FFB3FFF sed1376(Display Controller) Framebuffer, this is not the same as the palm framebuffer which is always 16 bit color,
|
||||
//this buffer must be processed depending on whats in the sed1376 registers, the result is the palm framebuffer
|
||||
//0xFFFFF000-0xFFFFFDFF Hardware Registers
|
||||
//0xFFFFFF00-0xFFFFFFFF Bootloader, pesumably does the 256 byte ROM to RAM copy, never been dumped
|
||||
|
||||
|
||||
uint8_t palmRam[RAM_SIZE];
|
||||
uint8_t palmRom[ROM_SIZE];
|
||||
uint8_t palmReg[REG_SIZE];
|
||||
input_t palmIo;
|
||||
uint16_t palmFramebuffer[160 * (160 + 60)];//really 160*160, the extra pixels are the silkscreened digitizer area
|
||||
double palmCrystalCycles;//how many cycles before toggling the 32.768 kHz crystal
|
||||
double palmCycleCounter;//can be greater then 0 if too many cycles where run
|
||||
double palmClockMultiplier;//used by the emulator to overclock the emulated palm
|
||||
|
||||
|
||||
void emulatorInit(uint8_t* palmRomDump){
|
||||
m68k_init();
|
||||
m68k_set_cpu_type(M68K_CPU_TYPE_68020);
|
||||
patchMusashiOpcodeHandlerCpu32();
|
||||
|
||||
memset(palmRam, 0x00, RAM_SIZE);
|
||||
memcpy(palmRom, palmRomDump, ROM_SIZE);
|
||||
memcpy(palmRam, palmRom, 256);//copy ROM header
|
||||
memset(&palmIo, 0x00, sizeof(input_t));
|
||||
memcpy(&palmFramebuffer[160 * 160], silkscreenData, SILKSCREEN_WIDTH * SILKSCREEN_HEIGHT * (SILKSCREEN_BPP / 8));
|
||||
resetHwRegisters();
|
||||
sed1376Reset();
|
||||
palmCrystalCycles = 2.0 * (14.0 * (71.0/*p*/ + 1.0) + 3.0/*q*/ + 1.0) / 2.0/*prescaler1*/;
|
||||
palmCycleCounter = 0.0;
|
||||
|
||||
palmClockMultiplier = 1.0;//Overclock disabled
|
||||
lowPowerStopActive = false;
|
||||
|
||||
m68k_set_reset_instr_callback(emulatorReset);
|
||||
m68k_set_int_ack_callback(interruptAcknowledge);
|
||||
m68k_pulse_reset();
|
||||
}
|
||||
|
||||
void emulatorReset(){
|
||||
//reset doesnt clear ram, all programs are stored in ram
|
||||
resetHwRegisters();
|
||||
sed1376Reset();
|
||||
m68k_pulse_reset();
|
||||
}
|
||||
|
||||
void emulatorSetRtc(uint32_t days, uint32_t hours, uint32_t minutes, uint32_t seconds){
|
||||
setRtc(days, hours, minutes, seconds);
|
||||
}
|
||||
|
||||
uint32_t emulatorGetStateSize(){
|
||||
return RAM_SIZE + REG_SIZE + m68k_context_size();
|
||||
}
|
||||
|
||||
void emulatorSaveState(uint8_t* data){
|
||||
uint32_t offset = 0;
|
||||
m68k_get_context(data + offset);
|
||||
offset += m68k_context_size();
|
||||
memcpy(data + offset, palmRam, RAM_SIZE);
|
||||
offset += RAM_SIZE;
|
||||
memcpy(data + offset, palmReg, REG_SIZE);
|
||||
offset += REG_SIZE;
|
||||
memcpy(data + offset, &palmCrystalCycles, sizeof(double));
|
||||
offset += sizeof(double);
|
||||
memcpy(data + offset, &palmCycleCounter, sizeof(double));
|
||||
offset += sizeof(double);
|
||||
memcpy(data + offset, &clk32Counter, sizeof(uint32_t));
|
||||
offset += sizeof(double);
|
||||
data[offset] = lowPowerStopActive;
|
||||
offset += 1;
|
||||
}
|
||||
|
||||
void emulatorLoadState(uint8_t* data){
|
||||
uint32_t offset = 0;
|
||||
m68k_set_context(data + offset);
|
||||
offset += m68k_context_size();
|
||||
memcpy(palmRam, data + offset, RAM_SIZE);
|
||||
offset += RAM_SIZE;
|
||||
memcpy(palmReg, data + offset, REG_SIZE);
|
||||
offset += REG_SIZE;
|
||||
memcpy(&palmCrystalCycles, data + offset, sizeof(double));
|
||||
offset += sizeof(double);
|
||||
memcpy(&palmCycleCounter, data + offset, sizeof(double));
|
||||
offset += sizeof(double);
|
||||
memcpy(&clk32Counter, data + offset, sizeof(double));
|
||||
offset += sizeof(double);
|
||||
lowPowerStopActive = data[offset];
|
||||
offset += 1;
|
||||
}
|
||||
|
||||
uint32_t emulatorInstallPrcPdb(uint8_t* data, uint32_t size){
|
||||
return EMU_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
void emulateFrame(){
|
||||
while(palmCycleCounter < CPU_FREQUENCY / EMU_FPS){
|
||||
if(cpuIsOn())
|
||||
palmCycleCounter += m68k_execute(palmCrystalCycles * palmClockMultiplier) / palmClockMultiplier;//normaly 33mhz / 60fps
|
||||
else
|
||||
palmCycleCounter += palmCrystalCycles;
|
||||
clk32();
|
||||
}
|
||||
palmCycleCounter -= CPU_FREQUENCY / EMU_FPS;
|
||||
|
||||
printf("Ran frame, executed %f cycles.\n", palmCycleCounter + CPU_FREQUENCY / EMU_FPS);
|
||||
}
|
||||
63
src/emulator.h
Normal file
63
src/emulator.h
Normal file
@@ -0,0 +1,63 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
//emu errors
|
||||
enum emu_error_t{
|
||||
EMU_ERROR_NONE = 0,
|
||||
EMU_ERROR_NOT_IMPLEMENTED,
|
||||
EMU_ERROR_NOT_DOCUMENTED
|
||||
};
|
||||
|
||||
//types
|
||||
typedef struct{
|
||||
uint16_t buttonState;
|
||||
uint16_t touchscreenX;
|
||||
uint16_t touchscreenY;
|
||||
bool touchscreenTouched;
|
||||
}input_t;
|
||||
|
||||
//buttons
|
||||
#define buttonUp 0
|
||||
//etc...
|
||||
|
||||
//config options
|
||||
#define EMU_FPS 60.0
|
||||
#define CRYSTAL_FREQUENCY 32768.0
|
||||
#define CPU_FREQUENCY (palmCrystalCycles * CRYSTAL_FREQUENCY)
|
||||
|
||||
//memory chip addresses
|
||||
#define RAM_START_ADDRESS 0x00000000
|
||||
#define ROM_START_ADDRESS 0x10000000
|
||||
#define REG_START_ADDRESS 0xFFFFF000
|
||||
#define RAM_SIZE (16 * 0x100000)//16mb ram
|
||||
#define ROM_SIZE (4 * 0x100000)//4mb rom
|
||||
#define REG_SIZE 0xE00
|
||||
|
||||
//display chip addresses
|
||||
#define SED1376_REG_START_ADDRESS 0x1FF80000
|
||||
#define SED1376_FB_START_ADDRESS 0x1FFA0000
|
||||
#define SED1376_REG_SIZE 0xB4//it has 0x20000 used address space entrys but only 0xB4 registers
|
||||
#define SED1376_FB_SIZE 0x14000//likely also has 0x20000 used address space entrys
|
||||
|
||||
//emulator data
|
||||
extern uint8_t palmRam[];
|
||||
extern uint8_t palmRom[];
|
||||
extern uint8_t palmReg[];
|
||||
extern input_t palmIo;
|
||||
extern uint16_t palmFramebuffer[];
|
||||
extern double palmCrystalCycles;
|
||||
extern double palmCycleCounter;
|
||||
extern double palmClockMultiplier;
|
||||
|
||||
//functions
|
||||
void emulatorInit(uint8_t* palmRomDump);
|
||||
void emulatorReset();
|
||||
void emulatorSetRtc(uint32_t days, uint32_t hours, uint32_t minutes, uint32_t seconds);
|
||||
uint32_t emulatorGetStateSize();
|
||||
void emulatorSaveState(uint8_t* data);
|
||||
void emulatorLoadState(uint8_t* data);
|
||||
uint32_t emulatorInstallPrcPdb(uint8_t* data, uint32_t size);
|
||||
void emulateFrame();
|
||||
174
src/hardwareRegisterNames.h
Normal file
174
src/hardwareRegisterNames.h
Normal file
@@ -0,0 +1,174 @@
|
||||
#pragma once
|
||||
|
||||
// Dragonball VZ Hrdware Register Definitions
|
||||
//"verified" means that the definitions above it have been checked against the dragonball vz datasheet, this file was for the original dragonball and some things arent in the same location anymore
|
||||
|
||||
// SIM - System Integration Module
|
||||
#define SCR 0x000 // System Control Register
|
||||
#define PCR 0x003 // Peripheral control register
|
||||
#define IDR 0x004 // Silicon ID register
|
||||
#define IODCR 0x008 // I/O drive control register
|
||||
//verified
|
||||
|
||||
// CS - Chip Select
|
||||
#define CSGBA 0x100 // Chip Select Group A Base Register
|
||||
#define CSGBB 0x102 // Chip Select Group B Base Register
|
||||
#define CSGBC 0x104 // Chip Select Group C Base Register
|
||||
#define CSGBD 0x106 // Chip Select Group D Base Register
|
||||
#define CSUGBA 0x108 // Chip Select Upper Group Address Register
|
||||
#define CSA 0x110 // Group A Chip Select Register
|
||||
#define CSC 0x114 // Group C Chip Select Register
|
||||
#define CSD 0x116 // Group D Chip Select Register
|
||||
#define EMUCS 0x118 // Emulation chip-select register
|
||||
//verified
|
||||
|
||||
// PLL - Phase Locked Loop
|
||||
#define PLLCR 0x200 // PLL Control Register
|
||||
#define PLLFSR 0x202 // PLL Frequency Select Register
|
||||
#define PCTLR 0x207 // Power Control Register
|
||||
//verified
|
||||
|
||||
// INTR - Interrupt controller
|
||||
#define IVR 0x300 // Interrupt Vector Register
|
||||
#define ICR 0x302 // Interrupt Control Register
|
||||
#define IMR 0x304 // Interrupt Mask Register
|
||||
// Reserved 0x308 // Interrupt Wakeup Enable Register On Original Dragonball
|
||||
#define ISR 0x30C // Interrupt Status Register
|
||||
#define IPR 0x310 // Interrupt Pending Register
|
||||
#define ILCR 0x314 // Interrupt Level Control Register
|
||||
//verified
|
||||
|
||||
// PIO - Parallel IO
|
||||
#define PADIR 0x400 // Port A Direction Register
|
||||
#define PADATA 0x401 // Port A Data Register
|
||||
#define PAPUEN 0x402 // Port A Pull-Up Enable Register
|
||||
|
||||
#define PBDIR 0x408 // Port B Direction Register
|
||||
#define PBDATA 0x409 // Port B Data Register
|
||||
#define PBPUEN 0x40A // Port B Pull-Up Enable Register
|
||||
#define PBSEL 0x40B // Port B Select Register
|
||||
|
||||
#define PCDIR 0x410 // Port C Direction Register
|
||||
#define PCDATA 0x411 // Port C Data Register
|
||||
#define PCPDEN 0x412 // Port C Pull-Down Enable Register
|
||||
#define PCSEL 0x413 // Port C Select Register
|
||||
|
||||
#define PDDIR 0x418 // Port D Direction Register
|
||||
#define PDDATA 0x419 // Port D Data Register
|
||||
#define PDPUEN 0x41A // Port D Pull-Up Enable Register
|
||||
#define PDSEL 0x41B // Port D Select Register
|
||||
#define PDPOL 0x41C // Port D Polarity Register
|
||||
#define PDIRQEN 0x41D // Port D IRQ Enable Register
|
||||
#define PDKBEN 0x41E // Port D Keyboard Enable Register
|
||||
#define PDIRQEG 0x41F // Port D IRQ Edge Register
|
||||
|
||||
#define PEDIR 0x420 // Port E Direction Register
|
||||
#define PEDATA 0x421 // Port E Data Register
|
||||
#define PEPUEN 0x422 // Port E Pull-Up Enable Register
|
||||
#define PESEL 0x423 // Port E Select Register
|
||||
|
||||
#define PFDIR 0x428 // Port F Direction Register
|
||||
#define PFDATA 0x429 // Port F Data Register
|
||||
#define PFPUEN 0x42A // Port F Pull-Up Enable Register
|
||||
#define PFSEL 0x42B // Port F Select Register
|
||||
|
||||
#define PGDIR 0x430 // Port G Direction Register
|
||||
#define PGDATA 0x431 // Port G Data Register
|
||||
#define PGPUEN 0x432 // Port G Pull-Up Enable Register
|
||||
#define PGSEL 0x433 // Port G Select Register
|
||||
|
||||
#define PJDIR 0x438 // Port J Direction Register
|
||||
#define PJDATA 0x439 // Port J Data Register
|
||||
#define PJPUEN 0x43A // Port J Pull-Up Enable Register
|
||||
#define PJSEL 0x43B // Port J Select Register
|
||||
|
||||
#define PKDIR 0x440 // Port K Direction Register
|
||||
#define PKDATA 0x441 // Port K Data Register
|
||||
#define PKPUEN 0x442 // Port K Pull-Up Enable Register
|
||||
#define PKSEL 0x443 // Port K Select Register
|
||||
|
||||
#define PMDIR 0x448 // Port M Direction Register
|
||||
#define PMDATA 0x449 // Port M Data Register
|
||||
#define PMPUEN 0x44A // Port M Pull-Up Enable Register
|
||||
#define PMSEL 0x44B // Port M Select Register
|
||||
//verified
|
||||
|
||||
// PWM - Pulse Width Modulator
|
||||
#define PWMC1 0x500 // PWM Unit 1 Control Register
|
||||
#define PWMS1 0x502 // PWM Unit 1 Sample Register
|
||||
#define PWMP1 0x504 // PWM Unit 1 Period Register
|
||||
#define PWMCNT1 0x505 // PWM Unit 1 Counter Register
|
||||
//verified
|
||||
|
||||
// Timer
|
||||
#define TCTL1 0x600 // Timer Unit 1 Control Register
|
||||
#define TPRER1 0x602 // Timer Unit 1 Prescaler Register
|
||||
#define TCMP1 0x604 // Timer Unit 1 Compare Register
|
||||
#define TCN1 0x608 // Timer Unit 1 Counter
|
||||
#define TSTAT1 0x60A // Timer Unit 1 Status Register
|
||||
#define TCTL2 0x610 // Timer Unit 2 Control Register
|
||||
#define TPRER2 0x612 // Timer Unit 2 Prescaler Register
|
||||
#define TCMP2 0x614 // Timer Unit 2 Compare Register
|
||||
#define TCN2 0x618 // Timer Unit 2 Counter
|
||||
#define TSTAT2 0x61A // Timer Unit 2 Status Register
|
||||
//verified
|
||||
|
||||
// WD - Watchdog
|
||||
#define WATCHDOG 0xB0A // Watchdog Timer Register
|
||||
//verified
|
||||
|
||||
// SPI - Serial Peripheral Interface
|
||||
#define SPIDATA2 0x800 // SPI Unit 2 Data Register
|
||||
#define SPICONT2 0x802 // SPI Unit 2 Control/Status Register
|
||||
//verified
|
||||
|
||||
// UART - Universal Asynchronous Receiver/Transmitter
|
||||
#define USTCNT1 0x900 // UART Unit 1 Status/Control Register
|
||||
#define UBAUD1 0x902 // UART Unit 1 Baud Control Register
|
||||
#define URX1 0x904 // UART Unit 1 RX Register
|
||||
#define UTX1 0x906 // UART Unit 1 TX Register
|
||||
#define UMISC1 0x908 // UART Unit 1 Misc Register
|
||||
|
||||
#define USTCNT2 0x910 // UART Unit 2 Status/Control Register
|
||||
#define UBAUD2 0x912 // UART Unit 2 Baud Control Register
|
||||
#define URX2 0x914 // UART Unit 2 RX Register
|
||||
#define UTX2 0x916 // UART Unit 2 TX Register
|
||||
#define UMISC2 0x918 // UART Unit 2 Misc Register
|
||||
#define NIPR2 0x91A // UART Unit 2 Non-Integer Prescaler Register
|
||||
#define HMARK 0x91C // UART Unit 2 FIFO Half Mark Register
|
||||
//verified
|
||||
|
||||
// LCDC - LCD Controller
|
||||
#define LSSA 0xA00 // Screen Starting Address Register
|
||||
#define LVPW 0xA05 // Virtual Page Width Register
|
||||
#define LXMAX 0xA08 // Screen Width Register
|
||||
#define LYMAX 0xA0A // Screen Height Register
|
||||
#define LCXP 0xA18 // Cursor X Position
|
||||
#define LCYP 0xA1A // Cursor Y Position
|
||||
#define LCWCH 0xA1C // Cursor Width & Height Register
|
||||
#define LBLKC 0xA1F // Blink Control Register
|
||||
#define LPICF 0xA20 // Panel Interface Config Register
|
||||
#define LPXCD 0xA25 // Pixel Clock Divider Register
|
||||
#define LCKCON 0xA27 // Clocking Control Register
|
||||
#define LRRA 0xA29 // LCD Refresh Rate Adjustment Register
|
||||
// Reserved 0xA2B // Octet Terminal Count Register On Original Dragonball
|
||||
#define LFRCM 0xA31 // Frame Rate Control Modulation Register
|
||||
#define LGPMR 0xA33 // Gray Palette Mapping Register
|
||||
#define DMACR 0xA39 // DMA Control Register
|
||||
//verified
|
||||
|
||||
// RTC - Real Time Clock
|
||||
#define RTCTIME 0xB00 // RTC Time Of Day Register
|
||||
#define RTCALRM 0xB04 // RTC Alarm Register
|
||||
#define RTCCTL 0xB0C // RTC Control Register
|
||||
#define RTCISR 0xB0E // RTC Interrupt Status Register
|
||||
#define RTCIENR 0xB10 // RTC Interrupt Enable Register
|
||||
#define STPWCH 0xB12 // Stopwatch Minutes Register
|
||||
#define DAYR 0xB1A // RTC Day Count Register
|
||||
//verified
|
||||
|
||||
// RAM - (S)DRAM Control
|
||||
#define DRAMMC 0xC00 // DRAM Memory Configuration Register
|
||||
#define DRAMC 0xC02 // DRAM Control Register
|
||||
#define SDCTRL 0xC04 // SDRAM Control Register
|
||||
//verified
|
||||
793
src/hardwareRegisters.c
Normal file
793
src/hardwareRegisters.c
Normal file
@@ -0,0 +1,793 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
#include "emulator.h"
|
||||
#include "hardwareRegisterNames.h"
|
||||
#include "hardwareRegisters.h"
|
||||
#include "cpu32Opcodes.h"
|
||||
#include "m68k/m68k.h"
|
||||
#include "m68k/m68kcpu.h"
|
||||
|
||||
|
||||
static inline uint8_t registerArrayRead8(uint32_t address){
|
||||
return palmReg[address];
|
||||
}
|
||||
|
||||
static inline uint16_t registerArrayRead16(uint32_t address){
|
||||
return palmReg[address] << 8 | palmReg[address + 1];
|
||||
}
|
||||
|
||||
static inline uint32_t registerArrayRead32(uint32_t address){
|
||||
return palmReg[address] << 24 | palmReg[address + 1] << 16 | palmReg[address + 2] << 8 | palmReg[address + 3];
|
||||
}
|
||||
|
||||
static inline void registerArrayWrite8(uint32_t address, uint8_t value){
|
||||
palmReg[address] = value;
|
||||
}
|
||||
|
||||
static inline void registerArrayWrite16(uint32_t address, uint16_t value){
|
||||
palmReg[address] = value >> 8;
|
||||
palmReg[address + 1] = value & 0xFF;
|
||||
}
|
||||
|
||||
static inline void registerArrayWrite32(uint32_t address, uint32_t value){
|
||||
palmReg[address] = value >> 24;
|
||||
palmReg[address + 1] = (value >> 16) & 0xFF;
|
||||
palmReg[address + 2] = (value >> 8) & 0xFF;
|
||||
palmReg[address + 3] = value & 0xFF;
|
||||
}
|
||||
|
||||
|
||||
static inline void setIprIsrBit(uint32_t interruptBit){
|
||||
//allows for setting an interrupt with masking by IMR and logging in IPR
|
||||
registerArrayWrite32(IPR, registerArrayRead32(IPR) | interruptBit);
|
||||
registerArrayWrite32(ISR, registerArrayRead32(ISR) | (interruptBit & ~registerArrayRead32(IMR)));
|
||||
}
|
||||
|
||||
static inline void clearIprIsrBit(uint32_t interruptBit){
|
||||
registerArrayWrite32(IPR, registerArrayRead32(IPR) & ~interruptBit);
|
||||
registerArrayWrite32(ISR, registerArrayRead32(ISR) & ~interruptBit);
|
||||
}
|
||||
|
||||
|
||||
uint32_t clk32Counter;
|
||||
|
||||
|
||||
void printUnknownHwAccess(unsigned int address, unsigned int value, unsigned int size, bool isWrite){
|
||||
if(isWrite){
|
||||
printf("Cpu Wrote %d bits of 0x%08X to register 0x%04X.\n", size, value, address);
|
||||
}
|
||||
else{
|
||||
printf("Cpu Read %d bits from register 0x%04X.\n", size, address);
|
||||
}
|
||||
}
|
||||
|
||||
static inline void setPllfsr16(uint16_t value){
|
||||
if(!(registerArrayRead16(PLLFSR) & 0x4000)){
|
||||
//frequency protect bit not set
|
||||
registerArrayWrite16(PLLFSR, value & 0x4FFF);
|
||||
double prescaler1 = (registerArrayRead16(PLLCR) & 0x0080) ? 2 : 1;
|
||||
double p = value & 0x00FF;
|
||||
double q = (value & 0x0F00) >> 8;
|
||||
palmCrystalCycles = 2.0 * (14.0 * (p + 1.0) + q + 1.0) / prescaler1;
|
||||
printf("New CPU frequency of:%f cycles per second.\n", CPU_FREQUENCY);
|
||||
printf("New clk32 cycle count of :%f.\n", palmCrystalCycles);
|
||||
}
|
||||
}
|
||||
|
||||
static inline void setPllcr(uint16_t value){
|
||||
//values that matter are disable pll, prescaler 1 and possibly wakeselect
|
||||
registerArrayWrite16(PLLCR, value & 0x3FBB);
|
||||
uint16_t pllfsr = registerArrayRead16(PLLFSR);
|
||||
double prescaler1 = (value & 0x0080) ? 2 : 1;
|
||||
double p = pllfsr & 0x00FF;
|
||||
double q = (pllfsr & 0x0F00) >> 8;
|
||||
palmCrystalCycles = 2.0 * (14.0 * (p + 1.0) + q + 1.0) / prescaler1;
|
||||
printf("New CPU frequency of:%f cycles per second.\n", CPU_FREQUENCY);
|
||||
printf("New clk32 cycle count of :%f.\n", palmCrystalCycles);
|
||||
|
||||
if(value & 0x0008){
|
||||
//the pll is disabled, the cpu is off, end execution now
|
||||
m68k_end_timeslice();
|
||||
}
|
||||
}
|
||||
|
||||
static inline double sysclksPerClk32(){
|
||||
//extreme precision must be used with the prescalers since it is possible to divide the int so much it is zero and timers will never increment
|
||||
uint16_t pllcr = registerArrayRead16(PLLCR);
|
||||
double sysclks = palmCrystalCycles;
|
||||
uint16_t sysclkSelect = (pllcr >> 8) & 0x0003;
|
||||
|
||||
if(pllcr & 0x0080){
|
||||
//prescaler 1 enabled, divide by 2
|
||||
sysclks /= 2.0;
|
||||
}
|
||||
|
||||
if(pllcr & 0x0020){
|
||||
//prescaler 2 enabled, divides value from prescaler 1 by 2
|
||||
sysclks /= 2.0;
|
||||
}
|
||||
|
||||
switch(sysclkSelect){
|
||||
|
||||
case 0x0000:
|
||||
sysclks /= 2.0;
|
||||
break;
|
||||
|
||||
case 0x0001:
|
||||
sysclks /= 4.0;
|
||||
break;
|
||||
|
||||
case 0x0002:
|
||||
sysclks /= 8.0;
|
||||
break;
|
||||
|
||||
case 0x0003:
|
||||
sysclks /= 16.0;
|
||||
break;
|
||||
|
||||
default:
|
||||
//no divide for 0x0004, 0x0005, 0x0006 or 0x0007
|
||||
break;
|
||||
}
|
||||
|
||||
return sysclks;
|
||||
}
|
||||
|
||||
static inline void rtiInterruptClk32(){
|
||||
//this function is part of clk32();
|
||||
uint16_t triggeredRtiInterrupts = 0;
|
||||
|
||||
if(clk32Counter % ((uint32_t)CRYSTAL_FREQUENCY / 512) == 0){
|
||||
//RIS7 - 512HZ
|
||||
triggeredRtiInterrupts |= 0x8000;
|
||||
}
|
||||
if(clk32Counter % ((uint32_t)CRYSTAL_FREQUENCY / 256) == 0){
|
||||
//RIS6 - 256HZ
|
||||
triggeredRtiInterrupts |= 0x4000;
|
||||
}
|
||||
if(clk32Counter % ((uint32_t)CRYSTAL_FREQUENCY / 128) == 0){
|
||||
//RIS5 - 128HZ
|
||||
triggeredRtiInterrupts |= 0x2000;
|
||||
}
|
||||
if(clk32Counter % ((uint32_t)CRYSTAL_FREQUENCY / 64) == 0){
|
||||
//RIS4 - 64HZ
|
||||
triggeredRtiInterrupts |= 0x1000;
|
||||
}
|
||||
if(clk32Counter % ((uint32_t)CRYSTAL_FREQUENCY / 32) == 0){
|
||||
//RIS3 - 32HZ
|
||||
triggeredRtiInterrupts |= 0x0800;
|
||||
}
|
||||
if(clk32Counter % ((uint32_t)CRYSTAL_FREQUENCY / 16) == 0){
|
||||
//RIS2 - 16HZ
|
||||
triggeredRtiInterrupts |= 0x0400;
|
||||
}
|
||||
if(clk32Counter % ((uint32_t)CRYSTAL_FREQUENCY / 8) == 0){
|
||||
//RIS1 - 8HZ
|
||||
triggeredRtiInterrupts |= 0x0200;
|
||||
}
|
||||
if(clk32Counter % ((uint32_t)CRYSTAL_FREQUENCY / 4) == 0){
|
||||
//RIS0 - 4HZ
|
||||
triggeredRtiInterrupts |= 0x0100;
|
||||
}
|
||||
|
||||
triggeredRtiInterrupts &= registerArrayRead16(RTCIENR);
|
||||
if(triggeredRtiInterrupts){
|
||||
registerArrayWrite16(RTCISR, registerArrayRead16(RTCISR) | triggeredRtiInterrupts);
|
||||
setIprIsrBit(INT_RTI);
|
||||
}
|
||||
}
|
||||
|
||||
static inline void timer12Clk32(){
|
||||
//this function is part of clk32();
|
||||
uint16_t timer1Control = registerArrayRead16(TCTL1);
|
||||
uint16_t timer2Control = registerArrayRead16(TCTL2);
|
||||
|
||||
if(timer1Control & 0x0001 && timer1Control & 0x000E){
|
||||
//enabled and clock source set
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void checkInterrupts(){
|
||||
uint32_t activeInterrupts = registerArrayRead32(ISR);
|
||||
uint16_t interruptLevelControlRegister = registerArrayRead16(ILCR);
|
||||
uint32_t intLevel = 0;
|
||||
|
||||
if(activeInterrupts & INT_EMIQ){
|
||||
//EMIQ - Emulator Irq, has nothing to do with emulation, used for debugging on a dev board
|
||||
intLevel = 7;
|
||||
}
|
||||
|
||||
/*
|
||||
if(activeInterrupts & INT_RTI){
|
||||
//RTI - Real Time Interrupt
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
*/
|
||||
|
||||
if(activeInterrupts & INT_SPI1){
|
||||
uint32_t spi1IrqLevel = interruptLevelControlRegister >> 12;
|
||||
if(intLevel < spi1IrqLevel)
|
||||
intLevel = spi1IrqLevel;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_IRQ5){
|
||||
if(intLevel < 5)
|
||||
intLevel = 5;
|
||||
}
|
||||
|
||||
/*
|
||||
if(activeInterrupts & INT_IRQ6){
|
||||
if(intLevel < 6)
|
||||
intLevel = 6;
|
||||
}
|
||||
*/
|
||||
|
||||
if(activeInterrupts & INT_IRQ3){
|
||||
if(intLevel < 3)
|
||||
intLevel = 3;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_IRQ2){
|
||||
if(intLevel < 2)
|
||||
intLevel = 2;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_IRQ1){
|
||||
if(intLevel < 1)
|
||||
intLevel = 1;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_PWM2){
|
||||
uint32_t pwm2IrqLevel = (interruptLevelControlRegister >> 4) & 0x0007;
|
||||
if(intLevel < pwm2IrqLevel)
|
||||
intLevel = pwm2IrqLevel;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_UART2){
|
||||
uint32_t uart2IrqLevel = (interruptLevelControlRegister >> 8) & 0x0007;
|
||||
if(intLevel < uart2IrqLevel)
|
||||
intLevel = uart2IrqLevel;
|
||||
}
|
||||
|
||||
/*
|
||||
if(activeInterrupts & INT_INT3){
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_INT2){
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_INT1){
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_INT0){
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_PWM1){
|
||||
if(intLevel < 6)
|
||||
intlevel = 6;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_KB){
|
||||
//KB - Keyboard
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
*/
|
||||
|
||||
if(activeInterrupts & INT_TMR2){
|
||||
//TMR2 - Timer 2
|
||||
uint32_t timer2IrqLevel = interruptLevelControlRegister & 0x0007;
|
||||
if(intLevel < timer2IrqLevel)
|
||||
intLevel = timer2IrqLevel;
|
||||
}
|
||||
|
||||
/*
|
||||
if(activeInterrupts & INT_RTC){
|
||||
//RTC - Real Time Clock
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_WDT){
|
||||
//WDT - Watchdog Timer
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_UART1){
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_TMR1){
|
||||
//TMR1 - Timer 1
|
||||
if(intLevel < 6)
|
||||
intLevel = 6;
|
||||
}
|
||||
|
||||
if(activeInterrupts & INT_SPI2){
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
*/
|
||||
|
||||
if(activeInterrupts & (INT_TMR1 | INT_PWM1 | INT_IRQ6)){
|
||||
//All Fixed Level 6 Interrupts
|
||||
if(intLevel < 6)
|
||||
intLevel = 6;
|
||||
}
|
||||
|
||||
if(activeInterrupts & (INT_SPI2 | INT_UART1 | INT_WDT | INT_RTC | INT_KB | INT_INT0 | INT_INT1 | INT_INT2 | INT_INT3 | INT_RTI)){
|
||||
//All Fixed Level 4 Interrupts
|
||||
if(intLevel < 4)
|
||||
intLevel = 4;
|
||||
}
|
||||
|
||||
/*
|
||||
if(lowPowerStopActive){
|
||||
uint32_t intMask = (m68k_get_reg(NULL, M68K_REG_SR) >> 8) & 0x0007;
|
||||
if(intLevel == 7 || intLevel > intMask)
|
||||
lowPowerStopActive = false;
|
||||
}
|
||||
*/
|
||||
|
||||
if(intLevel != 0)
|
||||
m68k_set_irq(intLevel);
|
||||
}
|
||||
|
||||
|
||||
static inline void rtcAddSecondClk32(){
|
||||
//this function is part of clk32();
|
||||
|
||||
//rtc
|
||||
if(registerArrayRead16(RTCCTL) & 0x0080){
|
||||
//rtc enable bit set
|
||||
uint16_t rtcInterruptEvents;
|
||||
uint32_t newRtcTime;
|
||||
uint32_t oldRtcTime = registerArrayRead32(RTCTIME);
|
||||
uint32_t hours = oldRtcTime >> 24;
|
||||
uint32_t minutes = (oldRtcTime >> 16) & 0x0000003F;
|
||||
uint32_t seconds = oldRtcTime & 0x0000003F;
|
||||
|
||||
seconds++;
|
||||
rtcInterruptEvents = 0x0010;//1 second interrupt
|
||||
if(seconds >= 60){
|
||||
minutes++;
|
||||
seconds = 0;
|
||||
rtcInterruptEvents |= 0x0002;//1 minute interrupt
|
||||
if(minutes >= 60){
|
||||
hours++;
|
||||
minutes = 0;
|
||||
rtcInterruptEvents |= 0x0020;//1 hour interrupt
|
||||
if(hours >= 24){
|
||||
hours = 0;
|
||||
uint16_t days = registerArrayRead16(DAYR);
|
||||
days++;
|
||||
registerArrayWrite16(DAYR, days & 0x01FF);
|
||||
rtcInterruptEvents |= 0x0008;//1 day interrupt
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
rtcInterruptEvents &= registerArrayRead16(RTCIENR);
|
||||
if(rtcInterruptEvents){
|
||||
registerArrayWrite16(RTCISR, registerArrayRead16(RTCISR) | rtcInterruptEvents);
|
||||
setIprIsrBit(INT_RTC);
|
||||
}
|
||||
|
||||
newRtcTime = seconds & 0x0000003F;
|
||||
newRtcTime |= minutes << 16;
|
||||
newRtcTime |= hours << 24;
|
||||
registerArrayWrite32(RTCTIME, newRtcTime);
|
||||
}
|
||||
|
||||
//watchdog
|
||||
uint16_t watchdogState = registerArrayRead16(WATCHDOG);
|
||||
if(watchdogState & 0x0001){
|
||||
//watchdog enabled
|
||||
watchdogState += 0x0100;//add second to watchdog timer
|
||||
watchdogState &= 0x0383;//cap overflow
|
||||
if((watchdogState & 0x0200) == 0x0200){
|
||||
//time expired
|
||||
if(watchdogState & 0x0002){
|
||||
//interrupt
|
||||
setIprIsrBit(INT_WDT);
|
||||
}
|
||||
else{
|
||||
//reset
|
||||
emulatorReset();
|
||||
return;
|
||||
}
|
||||
}
|
||||
registerArrayWrite16(WATCHDOG, watchdogState);
|
||||
}
|
||||
}
|
||||
|
||||
void clk32(){
|
||||
registerArrayWrite16(PLLFSR, registerArrayRead16(PLLFSR) ^ 0x8000);
|
||||
//rolls over every second
|
||||
if(clk32Counter >= CRYSTAL_FREQUENCY - 1){
|
||||
clk32Counter = 0;
|
||||
rtcAddSecondClk32();
|
||||
}
|
||||
else{
|
||||
clk32Counter++;
|
||||
}
|
||||
|
||||
rtiInterruptClk32();
|
||||
timer12Clk32();
|
||||
|
||||
checkInterrupts();
|
||||
}
|
||||
|
||||
bool cpuIsOn(){
|
||||
return !((registerArrayRead16(PLLCR) & 0x0008) || lowPowerStopActive);
|
||||
}
|
||||
|
||||
|
||||
int interruptAcknowledge(int intLevel){
|
||||
int vectorOffset = registerArrayRead8(IVR);
|
||||
int vector;
|
||||
|
||||
//If an interrupt occurs before the IVR has been programmed, the interrupt vector number 0x0F is returned to the CPU as an uninitialized interrupt.
|
||||
if(!vectorOffset)
|
||||
vector = EXCEPTION_UNINITIALIZED_INTERRUPT;
|
||||
else
|
||||
vector = vectorOffset | intLevel;
|
||||
|
||||
//dont know if interrupts reenable the pll if disabled, but they exit low power stop mode
|
||||
lowPowerStopActive = false;
|
||||
|
||||
//the interrupt is not really cleared until the handler writes a 1 to its source register, if the os doesnt
|
||||
//clear the interrupt properly it will trigger again on the first clk32 after returning from this interrupt
|
||||
CPU_INT_LEVEL = 0;
|
||||
|
||||
return vector;
|
||||
}
|
||||
|
||||
|
||||
unsigned int getHwRegister8(unsigned int address){
|
||||
switch(address){
|
||||
|
||||
//select between gpio or special function
|
||||
case PBSEL:
|
||||
case PCSEL:
|
||||
case PDSEL:
|
||||
case PESEL:
|
||||
case PFSEL:
|
||||
case PGSEL:
|
||||
case PJSEL:
|
||||
case PKSEL:
|
||||
case PMSEL:
|
||||
|
||||
//pull up/down enable
|
||||
case PAPUEN:
|
||||
case PBPUEN:
|
||||
case PCPDEN:
|
||||
case PDPUEN:
|
||||
case PEPUEN:
|
||||
case PFPUEN:
|
||||
case PGPUEN:
|
||||
case PJPUEN:
|
||||
case PKPUEN:
|
||||
case PMPUEN:
|
||||
//simple read, no actions needed
|
||||
//PGPUEN, PGSEL PMSEL and PMPUEN lack the top 2 bits but that is handled on write
|
||||
//PDSEL lacks the bottom 4 bits but that is handled on write
|
||||
return registerArrayRead8(address);
|
||||
|
||||
default:
|
||||
printUnknownHwAccess(address, 0, 8, false);
|
||||
return registerArrayRead8(address);
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int getHwRegister16(unsigned int address){
|
||||
switch(address){
|
||||
|
||||
case PLLCR:
|
||||
case PLLFSR:
|
||||
case SDCTRL:
|
||||
case RTCISR:
|
||||
case RTCCTL:
|
||||
case RTCIENR:
|
||||
//simple read, no actions needed
|
||||
return registerArrayRead16(address);
|
||||
|
||||
default:
|
||||
printUnknownHwAccess(address, 0, 16, false);
|
||||
return registerArrayRead16(address);
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int getHwRegister32(unsigned int address){
|
||||
switch(address){
|
||||
|
||||
case ISR:
|
||||
case IPR:
|
||||
case IMR:
|
||||
case RTCTIME:
|
||||
case IDR:
|
||||
//simple read, no actions needed
|
||||
return registerArrayRead32(address);
|
||||
|
||||
default:
|
||||
printUnknownHwAccess(address, 0, 32, false);
|
||||
return registerArrayRead32(address);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void setHwRegister8(unsigned int address, unsigned int value){
|
||||
switch(address){
|
||||
|
||||
case PDSEL:
|
||||
//write without the bottom 4 bits
|
||||
registerArrayWrite8(address, value & 0xF0);
|
||||
break;
|
||||
|
||||
case IVR:
|
||||
//write without the bottom 3 bits
|
||||
registerArrayWrite8(address, value & 0xF8);
|
||||
break;
|
||||
|
||||
case PGSEL:
|
||||
case PMSEL:
|
||||
case PGPUEN:
|
||||
case PMPUEN:
|
||||
//write without the top 2 bits
|
||||
registerArrayWrite8(address, value & 0x3F);
|
||||
break;
|
||||
|
||||
//select between gpio or special function
|
||||
case PBSEL:
|
||||
case PCSEL:
|
||||
case PESEL:
|
||||
case PFSEL:
|
||||
case PJSEL:
|
||||
case PKSEL:
|
||||
|
||||
//pull up/down enable
|
||||
case PAPUEN:
|
||||
case PBPUEN:
|
||||
case PCPDEN:
|
||||
case PDPUEN:
|
||||
case PEPUEN:
|
||||
case PFPUEN:
|
||||
case PJPUEN:
|
||||
case PKPUEN:
|
||||
//simple write, no actions needed
|
||||
registerArrayWrite8(address, value);
|
||||
break;
|
||||
|
||||
default:
|
||||
printUnknownHwAccess(address, value, 8, true);
|
||||
registerArrayWrite8(address, value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void setHwRegister16(unsigned int address, unsigned int value){
|
||||
switch(address){
|
||||
|
||||
case RTCIENR:
|
||||
//missing bits 6 and 7
|
||||
registerArrayWrite16(address, value & 0xFF3F);
|
||||
break;
|
||||
|
||||
case IMR:
|
||||
//this is a 32 bit register but palm os writes it as 16 bit chunks
|
||||
registerArrayWrite16(address, value & 0x00FF);
|
||||
break;
|
||||
case IMR + 2:
|
||||
//this is a 32 bit register but palm os writes it as 16 bit chunks
|
||||
registerArrayWrite16(address, value & 0x03FF);
|
||||
break;
|
||||
|
||||
case ISR + 2:
|
||||
//this is a 32 bit register but palm os writes it as 16 bit chunks
|
||||
registerArrayWrite16(ISR + 2, registerArrayRead16(ISR + 2) & ~(value & 0x0F00));
|
||||
break;
|
||||
|
||||
/*
|
||||
case TCTL1:
|
||||
dprk
|
||||
break;
|
||||
*/
|
||||
|
||||
case WATCHDOG:
|
||||
//writing to the watchdog resets the counter bits(8 and 9) to 0
|
||||
registerArrayWrite16(address, value & 0x0083);
|
||||
break;
|
||||
|
||||
case RTCISR:
|
||||
registerArrayWrite16(RTCISR, registerArrayRead16(RTCISR) & ~value);
|
||||
if(!(registerArrayRead16(RTCISR) & 0xFF00))
|
||||
clearIprIsrBit(INT_RTI);
|
||||
if(!(registerArrayRead16(RTCISR) & 0x003F))
|
||||
clearIprIsrBit(INT_RTC);
|
||||
break;
|
||||
|
||||
case PLLFSR:
|
||||
setPllfsr16(value);
|
||||
break;
|
||||
|
||||
case PLLCR:
|
||||
setPllcr(value);
|
||||
break;
|
||||
|
||||
case ICR:
|
||||
//missing bottom 7 bits
|
||||
registerArrayWrite16(address, value & 0xFFF8);
|
||||
break;
|
||||
|
||||
case SDCTRL:
|
||||
//missing bits 13, 9, 8 and 7
|
||||
registerArrayWrite16(address, value & 0xDC7F);
|
||||
break;
|
||||
|
||||
default:
|
||||
printUnknownHwAccess(address, value, 16, true);
|
||||
registerArrayWrite16(address, value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void setHwRegister32(unsigned int address, unsigned int value){
|
||||
switch(address){
|
||||
|
||||
case RTCTIME:
|
||||
registerArrayWrite32(address, value & 0x1F3F003F);
|
||||
break;
|
||||
|
||||
case IDR:
|
||||
case IPR:
|
||||
//write to read only register, do nothing
|
||||
break;
|
||||
|
||||
case ISR:
|
||||
//clear ISR and IPR for external hardware whereever there is a 1 bit in value
|
||||
registerArrayWrite32(IPR, registerArrayRead32(IPR) & ~(value & 0x000F0F00/*external hardware int mask*/));
|
||||
registerArrayWrite32(ISR, registerArrayRead32(ISR) & ~(value & 0x000F0F00/*external hardware int mask*/));
|
||||
break;
|
||||
|
||||
case IMR:
|
||||
registerArrayWrite32(address, value & 0x00FF3FFF);
|
||||
break;
|
||||
|
||||
case LSSA:
|
||||
//simple write, no actions needed
|
||||
registerArrayWrite32(address, value);
|
||||
break;
|
||||
|
||||
default:
|
||||
printUnknownHwAccess(address, value, 32, true);
|
||||
registerArrayWrite32(address, value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void resetHwRegisters(){
|
||||
memset(palmReg, 0x00, REG_SIZE);
|
||||
clk32Counter = 0;
|
||||
|
||||
//system control
|
||||
registerArrayWrite8(SCR, 0x1C);
|
||||
|
||||
//cpu id
|
||||
registerArrayWrite32(IDR, 0x56000000);
|
||||
|
||||
//i/o drive control //probably unused
|
||||
registerArrayWrite16(IODCR, 0x1FFF);
|
||||
|
||||
//chip selects
|
||||
registerArrayWrite16(CSA, 0x00B0);
|
||||
registerArrayWrite16(CSD, 0x0200);
|
||||
registerArrayWrite16(EMUCS, 0x0060);
|
||||
|
||||
//phase lock loop
|
||||
registerArrayWrite16(PLLCR, 0x24B3);
|
||||
registerArrayWrite16(PLLFSR, 0x0347);
|
||||
|
||||
//power control
|
||||
registerArrayWrite8(PCTLR, 0x1F);
|
||||
|
||||
//cpu interrupts
|
||||
registerArrayWrite32(IMR, 0x00FFFFFF);
|
||||
registerArrayWrite16(ILCR, 0x6533);
|
||||
|
||||
//gpio ports
|
||||
registerArrayWrite8(PADATA, 0xFF);
|
||||
registerArrayWrite8(PAPUEN, 0xFF);
|
||||
|
||||
registerArrayWrite8(PBDATA, 0xFF);
|
||||
registerArrayWrite8(PBPUEN, 0xFF);
|
||||
registerArrayWrite8(PBSEL, 0xFF);
|
||||
|
||||
registerArrayWrite8(PCPDEN, 0xFF);
|
||||
registerArrayWrite8(PCSEL, 0xFF);
|
||||
|
||||
registerArrayWrite8(PDDATA, 0xFF);
|
||||
registerArrayWrite8(PDPUEN, 0xFF);
|
||||
registerArrayWrite8(PDSEL, 0xF0);
|
||||
|
||||
registerArrayWrite8(PEDATA, 0xFF);
|
||||
registerArrayWrite8(PEPUEN, 0xFF);
|
||||
registerArrayWrite8(PESEL, 0xFF);
|
||||
|
||||
registerArrayWrite8(PFDATA, 0xFF);
|
||||
registerArrayWrite8(PFPUEN, 0xFF);
|
||||
registerArrayWrite8(PFSEL, 0x87);
|
||||
|
||||
registerArrayWrite8(PGDATA, 0x3F);
|
||||
registerArrayWrite8(PGPUEN, 0x3D);
|
||||
registerArrayWrite8(PGSEL, 0x08);
|
||||
|
||||
registerArrayWrite8(PJDATA, 0xFF);
|
||||
registerArrayWrite8(PJPUEN, 0xFF);
|
||||
registerArrayWrite8(PJSEL, 0xEF);
|
||||
|
||||
registerArrayWrite8(PKDATA, 0x0F);
|
||||
registerArrayWrite8(PKPUEN, 0xFF);
|
||||
registerArrayWrite8(PKSEL, 0xFF);
|
||||
|
||||
registerArrayWrite8(PMDATA, 0x20);
|
||||
registerArrayWrite8(PMPUEN, 0x3F);
|
||||
registerArrayWrite8(PMSEL, 0x3F);
|
||||
|
||||
//pulse width modulation control
|
||||
registerArrayWrite16(PWMC1, 0x0020);
|
||||
registerArrayWrite8(PWMP1, 0xFE);
|
||||
|
||||
//timers
|
||||
registerArrayWrite16(TCMP1, 0xFFFF);
|
||||
registerArrayWrite16(TCMP2, 0xFFFF);
|
||||
|
||||
//serial i/o
|
||||
registerArrayWrite16(UBAUD1, 0x003F);
|
||||
registerArrayWrite16(UBAUD2, 0x003F);
|
||||
registerArrayWrite16(HMARK, 0x0102);
|
||||
|
||||
//lcd control registers, unused since the sed1376 is present
|
||||
registerArrayWrite8(LVPW, 0xFF);
|
||||
registerArrayWrite16(LXMAX, 0x03F0);
|
||||
registerArrayWrite16(LYMAX, 0x01FF);
|
||||
registerArrayWrite16(LCWCH, 0x0101);
|
||||
registerArrayWrite8(LBLKC, 0x7F);
|
||||
registerArrayWrite8(LRRA, 0xFF);
|
||||
registerArrayWrite8(LGPMR, 0x84);
|
||||
registerArrayWrite8(DMACR, 0x62);
|
||||
|
||||
//realtime clock
|
||||
//RTCTIME is not changed on reset
|
||||
registerArrayWrite16(WATCHDOG, 0x0001);
|
||||
registerArrayWrite16(RTCCTL, 0x0080);//conflicting size in datasheet, it says its 8 bit but provides 16 bit values
|
||||
registerArrayWrite16(STPWCH, 0x003F);//conflicting size in datasheet, it says its 8 bit but provides 16 bit values
|
||||
//DAYR is not changed on reset
|
||||
|
||||
//sdram control, unused since ram refresh is unemulated
|
||||
registerArrayWrite16(SDCTRL, 0x003C);
|
||||
}
|
||||
|
||||
void setRtc(uint32_t days, uint32_t hours, uint32_t minutes, uint32_t seconds){
|
||||
uint32_t rtcTime;
|
||||
rtcTime = seconds & 0x0000003F;
|
||||
rtcTime |= (minutes << 16) & 0x003F0000;
|
||||
rtcTime |= (hours << 24) & 0x1F000000;
|
||||
registerArrayWrite32(RTCTIME, rtcTime);
|
||||
registerArrayWrite16(DAYR, days & 0x01FF);
|
||||
}
|
||||
51
src/hardwareRegisters.h
Normal file
51
src/hardwareRegisters.h
Normal file
@@ -0,0 +1,51 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
//interrupt names
|
||||
#define INT_EMIQ 0x00800000 //level 7
|
||||
#define INT_RTI 0x00400000 //level 4
|
||||
#define INT_SPI1 0x00200000 //level 1-6, configurable, datasheet is contraditory on this one
|
||||
#define INT_IRQ5 0x00100000 //level 5
|
||||
#define INT_IRQ6 0x00080000 //level 6
|
||||
#define INT_IRQ3 0x00040000 //level 3
|
||||
#define INT_IRQ2 0x00020000 //level 2
|
||||
#define INT_IRQ1 0x00010000 //level 1
|
||||
#define INT_PWM2 0x00002000 //level 1-6, configurable
|
||||
#define INT_UART2 0x00001000 //level 1-6, configurable
|
||||
#define INT_INT3 0x00000800 //level 4
|
||||
#define INT_INT2 0x00000400 //level 4
|
||||
#define INT_INT1 0x00000200 //level 4
|
||||
#define INT_INT0 0x00000100 //level 4
|
||||
#define INT_PWM1 0x00000080 //level 6
|
||||
#define INT_KB 0x00000040 //level 4
|
||||
#define INT_TMR2 0x00000020 //level 1-6, configurable
|
||||
#define INT_RTC 0x00000010 //level 4
|
||||
#define INT_WDT 0x00000008 //level 4
|
||||
#define INT_UART1 0x00000004 //level 4
|
||||
#define INT_TMR1 0x00000002 //level 6
|
||||
#define INT_SPI2 0x00000001 //level 4
|
||||
|
||||
//variables
|
||||
extern uint32_t clk32Counter;
|
||||
|
||||
//memory accessors
|
||||
unsigned int getHwRegister8(unsigned int address);
|
||||
unsigned int getHwRegister16(unsigned int address);
|
||||
unsigned int getHwRegister32(unsigned int address);
|
||||
void setHwRegister8(unsigned int address, unsigned int value);
|
||||
void setHwRegister16(unsigned int address, unsigned int value);
|
||||
void setHwRegister32(unsigned int address, unsigned int value);
|
||||
|
||||
//timing
|
||||
void clk32();//also checks all interrupts
|
||||
|
||||
//cpu
|
||||
bool cpuIsOn();
|
||||
int interruptAcknowledge(int intLevel);
|
||||
|
||||
//config
|
||||
void resetHwRegisters();
|
||||
void setRtc(uint32_t days, uint32_t hours, uint32_t minutes, uint32_t seconds);
|
||||
358
src/m68k/m68k.h
Executable file
358
src/m68k/m68k.h
Executable file
@@ -0,0 +1,358 @@
|
||||
/* ======================================================================== */
|
||||
/* ========================= LICENSING & COPYRIGHT ======================== */
|
||||
/* ======================================================================== */
|
||||
/*
|
||||
* MUSASHI
|
||||
* Version 3.4
|
||||
*
|
||||
* A portable Motorola M680x0 processor emulation engine.
|
||||
* Copyright 1998-2001 Karl Stenerud. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef M68K__HEADER
|
||||
#define M68K__HEADER
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ============================= CONFIGURATION ============================ */
|
||||
/* ======================================================================== */
|
||||
|
||||
/* Import the configuration for this build */
|
||||
#include "m68kconf.h"
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ============================ GENERAL DEFINES =========================== */
|
||||
|
||||
/* ======================================================================== */
|
||||
|
||||
/* There are 7 levels of interrupt to the 68K.
|
||||
* A transition from < 7 to 7 will cause a non-maskable interrupt (NMI).
|
||||
*/
|
||||
#define M68K_IRQ_NONE 0
|
||||
#define M68K_IRQ_1 1
|
||||
#define M68K_IRQ_2 2
|
||||
#define M68K_IRQ_3 3
|
||||
#define M68K_IRQ_4 4
|
||||
#define M68K_IRQ_5 5
|
||||
#define M68K_IRQ_6 6
|
||||
#define M68K_IRQ_7 7
|
||||
|
||||
|
||||
/* Special interrupt acknowledge values.
|
||||
* Use these as special returns from the interrupt acknowledge callback
|
||||
* (specified later in this header).
|
||||
*/
|
||||
|
||||
/* Causes an interrupt autovector (0x18 + interrupt level) to be taken.
|
||||
* This happens in a real 68K if VPA or AVEC is asserted during an interrupt
|
||||
* acknowledge cycle instead of DTACK.
|
||||
*/
|
||||
#define M68K_INT_ACK_AUTOVECTOR 0xffffffff
|
||||
|
||||
/* Causes the spurious interrupt vector (0x18) to be taken
|
||||
* This happens in a real 68K if BERR is asserted during the interrupt
|
||||
* acknowledge cycle (i.e. no devices responded to the acknowledge).
|
||||
*/
|
||||
#define M68K_INT_ACK_SPURIOUS 0xfffffffe
|
||||
|
||||
|
||||
/* CPU types for use in m68k_set_cpu_type() */
|
||||
enum
|
||||
{
|
||||
M68K_CPU_TYPE_INVALID,
|
||||
M68K_CPU_TYPE_68000,
|
||||
M68K_CPU_TYPE_68010,
|
||||
M68K_CPU_TYPE_68EC020,
|
||||
M68K_CPU_TYPE_68020,
|
||||
M68K_CPU_TYPE_68030, /* Supported by disassembler ONLY */
|
||||
M68K_CPU_TYPE_68040 /* Supported by disassembler ONLY */
|
||||
};
|
||||
|
||||
/* Registers used by m68k_get_reg() and m68k_set_reg() */
|
||||
typedef enum
|
||||
{
|
||||
/* Real registers */
|
||||
M68K_REG_D0, /* Data registers */
|
||||
M68K_REG_D1,
|
||||
M68K_REG_D2,
|
||||
M68K_REG_D3,
|
||||
M68K_REG_D4,
|
||||
M68K_REG_D5,
|
||||
M68K_REG_D6,
|
||||
M68K_REG_D7,
|
||||
M68K_REG_A0, /* Address registers */
|
||||
M68K_REG_A1,
|
||||
M68K_REG_A2,
|
||||
M68K_REG_A3,
|
||||
M68K_REG_A4,
|
||||
M68K_REG_A5,
|
||||
M68K_REG_A6,
|
||||
M68K_REG_A7,
|
||||
M68K_REG_PC, /* Program Counter */
|
||||
M68K_REG_SR, /* Status Register */
|
||||
M68K_REG_SP, /* The current Stack Pointer (located in A7) */
|
||||
M68K_REG_USP, /* User Stack Pointer */
|
||||
M68K_REG_ISP, /* Interrupt Stack Pointer */
|
||||
M68K_REG_MSP, /* Master Stack Pointer */
|
||||
M68K_REG_SFC, /* Source Function Code */
|
||||
M68K_REG_DFC, /* Destination Function Code */
|
||||
M68K_REG_VBR, /* Vector Base Register */
|
||||
M68K_REG_CACR, /* Cache Control Register */
|
||||
M68K_REG_CAAR, /* Cache Address Register */
|
||||
|
||||
/* Assumed registers */
|
||||
/* These are cheat registers which emulate the 1-longword prefetch
|
||||
* present in the 68000 and 68010.
|
||||
*/
|
||||
M68K_REG_PREF_ADDR, /* Last prefetch address */
|
||||
M68K_REG_PREF_DATA, /* Last prefetch data */
|
||||
|
||||
/* Convenience registers */
|
||||
M68K_REG_PPC, /* Previous value in the program counter */
|
||||
M68K_REG_IR, /* Instruction register */
|
||||
M68K_REG_CPU_TYPE /* Type of CPU being run */
|
||||
} m68k_register_t;
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ====================== FUNCTIONS CALLED BY THE CPU ===================== */
|
||||
/* ======================================================================== */
|
||||
|
||||
/* You will have to implement these functions */
|
||||
|
||||
/* read/write functions called by the CPU to access memory.
|
||||
* while values used are 32 bits, only the appropriate number
|
||||
* of bits are relevant (i.e. in write_memory_8, only the lower 8 bits
|
||||
* of value should be written to memory).
|
||||
*
|
||||
* NOTE: I have separated the immediate and PC-relative memory fetches
|
||||
* from the other memory fetches because some systems require
|
||||
* differentiation between PROGRAM and DATA fetches (usually
|
||||
* for security setups such as encryption).
|
||||
* This separation can either be achieved by setting
|
||||
* M68K_SEPARATE_READS in m68kconf.h and defining
|
||||
* the read functions, or by setting M68K_EMULATE_FC and
|
||||
* making a function code callback function.
|
||||
* Using the callback offers better emulation coverage
|
||||
* because you can also monitor whether the CPU is in SYSTEM or
|
||||
* USER mode, but it is also slower.
|
||||
*/
|
||||
|
||||
/* Read from anywhere */
|
||||
unsigned int m68k_read_memory_8(unsigned int address);
|
||||
unsigned int m68k_read_memory_16(unsigned int address);
|
||||
unsigned int m68k_read_memory_32(unsigned int address);
|
||||
|
||||
/* Read data immediately following the PC */
|
||||
unsigned int m68k_read_immediate_16(unsigned int address);
|
||||
unsigned int m68k_read_immediate_32(unsigned int address);
|
||||
|
||||
/* Read data relative to the PC */
|
||||
unsigned int m68k_read_pcrelative_8(unsigned int address);
|
||||
unsigned int m68k_read_pcrelative_16(unsigned int address);
|
||||
unsigned int m68k_read_pcrelative_32(unsigned int address);
|
||||
|
||||
/* Memory access for the disassembler */
|
||||
unsigned int m68k_read_disassembler_8 (unsigned int address);
|
||||
unsigned int m68k_read_disassembler_16 (unsigned int address);
|
||||
unsigned int m68k_read_disassembler_32 (unsigned int address);
|
||||
|
||||
/* Write to anywhere */
|
||||
void m68k_write_memory_8(unsigned int address, unsigned int value);
|
||||
void m68k_write_memory_16(unsigned int address, unsigned int value);
|
||||
void m68k_write_memory_32(unsigned int address, unsigned int value);
|
||||
|
||||
/* Special call to simulate undocumented 68k behavior when move.l with a
|
||||
* predecrement destination mode is executed.
|
||||
* To simulate real 68k behavior, first write the high word to
|
||||
* [address+2], and then write the low word to [address].
|
||||
*
|
||||
* Enable this functionality with M68K_SIMULATE_PD_WRITES in m68kconf.h.
|
||||
*/
|
||||
void m68k_write_memory_32_pd(unsigned int address, unsigned int value);
|
||||
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ============================== CALLBACKS =============================== */
|
||||
/* ======================================================================== */
|
||||
|
||||
/* These functions allow you to set callbacks to the host when specific events
|
||||
* occur. Note that you must enable the corresponding value in m68kconf.h
|
||||
* in order for these to do anything useful.
|
||||
* Note: I have defined default callbacks which are used if you have enabled
|
||||
* the corresponding #define in m68kconf.h but either haven't assigned a
|
||||
* callback or have assigned a callback of NULL.
|
||||
*/
|
||||
|
||||
/* Set the callback for an interrupt acknowledge.
|
||||
* You must enable M68K_EMULATE_INT_ACK in m68kconf.h.
|
||||
* The CPU will call the callback with the interrupt level being acknowledged.
|
||||
* The host program must return either a vector from 0x02-0xff, or one of the
|
||||
* special interrupt acknowledge values specified earlier in this header.
|
||||
* If this is not implemented, the CPU will always assume an autovectored
|
||||
* interrupt, and will automatically clear the interrupt request when it
|
||||
* services the interrupt.
|
||||
* Default behavior: return M68K_INT_ACK_AUTOVECTOR.
|
||||
*/
|
||||
void m68k_set_int_ack_callback(int (*callback)(int int_level));
|
||||
|
||||
|
||||
/* Set the callback for a breakpoint acknowledge (68010+).
|
||||
* You must enable M68K_EMULATE_BKPT_ACK in m68kconf.h.
|
||||
* The CPU will call the callback with whatever was in the data field of the
|
||||
* BKPT instruction for 68020+, or 0 for 68010.
|
||||
* Default behavior: do nothing.
|
||||
*/
|
||||
void m68k_set_bkpt_ack_callback(void (*callback)(unsigned int data));
|
||||
|
||||
|
||||
/* Set the callback for the RESET instruction.
|
||||
* You must enable M68K_EMULATE_RESET in m68kconf.h.
|
||||
* The CPU calls this callback every time it encounters a RESET instruction.
|
||||
* Default behavior: do nothing.
|
||||
*/
|
||||
void m68k_set_reset_instr_callback(void (*callback)(void));
|
||||
|
||||
|
||||
/* Set the callback for informing of a large PC change.
|
||||
* You must enable M68K_MONITOR_PC in m68kconf.h.
|
||||
* The CPU calls this callback with the new PC value every time the PC changes
|
||||
* by a large value (currently set for changes by longwords).
|
||||
* Default behavior: do nothing.
|
||||
*/
|
||||
void m68k_set_pc_changed_callback(void (*callback)(unsigned int new_pc));
|
||||
|
||||
|
||||
/* Set the callback for CPU function code changes.
|
||||
* You must enable M68K_EMULATE_FC in m68kconf.h.
|
||||
* The CPU calls this callback with the function code before every memory
|
||||
* access to set the CPU's function code according to what kind of memory
|
||||
* access it is (supervisor/user, program/data and such).
|
||||
* Default behavior: do nothing.
|
||||
*/
|
||||
void m68k_set_fc_callback(void (*callback)(unsigned int new_fc));
|
||||
|
||||
|
||||
/* Set a callback for the instruction cycle of the CPU.
|
||||
* You must enable M68K_INSTRUCTION_HOOK in m68kconf.h.
|
||||
* The CPU calls this callback just before fetching the opcode in the
|
||||
* instruction cycle.
|
||||
* Default behavior: do nothing.
|
||||
*/
|
||||
void m68k_set_instr_hook_callback(void (*callback)(void));
|
||||
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ====================== FUNCTIONS TO ACCESS THE CPU ===================== */
|
||||
/* ======================================================================== */
|
||||
|
||||
/* Use this function to set the CPU type you want to emulate.
|
||||
* Currently supported types are: M68K_CPU_TYPE_68000, M68K_CPU_TYPE_68010,
|
||||
* M68K_CPU_TYPE_EC020, and M68K_CPU_TYPE_68020.
|
||||
*/
|
||||
void m68k_set_cpu_type(unsigned int cpu_type);
|
||||
|
||||
/* Do whatever initialisations the core requires. Should be called
|
||||
* at least once at init time.
|
||||
*/
|
||||
void m68k_init(void);
|
||||
|
||||
/* Pulse the RESET pin on the CPU.
|
||||
* You *MUST* reset the CPU at least once to initialize the emulation
|
||||
* Note: If you didn't call m68k_set_cpu_type() before resetting
|
||||
* the CPU for the first time, the CPU will be set to
|
||||
* M68K_CPU_TYPE_68000.
|
||||
*/
|
||||
void m68k_pulse_reset(void);
|
||||
|
||||
/* execute num_cycles worth of instructions. returns number of cycles used */
|
||||
int m68k_execute(int num_cycles);
|
||||
|
||||
/* These functions let you read/write/modify the number of cycles left to run
|
||||
* while m68k_execute() is running.
|
||||
* These are useful if the 68k accesses a memory-mapped port on another device
|
||||
* that requires immediate processing by another CPU.
|
||||
*/
|
||||
int m68k_cycles_run(void); /* Number of cycles run so far */
|
||||
int m68k_cycles_remaining(void); /* Number of cycles left */
|
||||
void m68k_modify_timeslice(int cycles); /* Modify cycles left */
|
||||
void m68k_end_timeslice(void); /* End timeslice now */
|
||||
|
||||
/* Set the IPL0-IPL2 pins on the CPU (IRQ).
|
||||
* A transition from < 7 to 7 will cause a non-maskable interrupt (NMI).
|
||||
* Setting IRQ to 0 will clear an interrupt request.
|
||||
*/
|
||||
void m68k_set_irq(unsigned int int_level);
|
||||
|
||||
|
||||
/* Halt the CPU as if you pulsed the HALT pin. */
|
||||
void m68k_pulse_halt(void);
|
||||
|
||||
|
||||
/* Context switching to allow multiple CPUs */
|
||||
|
||||
/* Get the size of the cpu context in bytes */
|
||||
unsigned int m68k_context_size(void);
|
||||
|
||||
/* Get a cpu context */
|
||||
unsigned int m68k_get_context(void* dst);
|
||||
|
||||
/* set the current cpu context */
|
||||
void m68k_set_context(void* dst);
|
||||
|
||||
/* Register the CPU state information */
|
||||
void m68k_state_register(const char *type);
|
||||
|
||||
|
||||
/* Peek at the internals of a CPU context. This can either be a context
|
||||
* retrieved using m68k_get_context() or the currently running context.
|
||||
* If context is NULL, the currently running CPU context will be used.
|
||||
*/
|
||||
unsigned int m68k_get_reg(void* context, m68k_register_t reg);
|
||||
|
||||
/* Poke values into the internals of the currently running CPU context */
|
||||
void m68k_set_reg(m68k_register_t reg, unsigned int value);
|
||||
|
||||
/* Check if an instruction is valid for the specified CPU type */
|
||||
unsigned int m68k_is_valid_instruction(unsigned int instruction, unsigned int cpu_type);
|
||||
|
||||
/* Disassemble 1 instruction using the epecified CPU type at pc. Stores
|
||||
* disassembly in str_buff and returns the size of the instruction in bytes.
|
||||
*/
|
||||
unsigned int m68k_disassemble(char* str_buff, unsigned int pc, unsigned int cpu_type);
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ============================== MAME STUFF ============================== */
|
||||
/* ======================================================================== */
|
||||
|
||||
#if M68K_COMPILE_FOR_MAME == OPT_ON
|
||||
#include "m68kmame.h"
|
||||
#endif /* M68K_COMPILE_FOR_MAME */
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ============================== END OF FILE ============================= */
|
||||
/* ======================================================================== */
|
||||
|
||||
#endif /* M68K__HEADER */
|
||||
10375
src/m68k/m68k_in.c
Executable file
10375
src/m68k/m68k_in.c
Executable file
File diff suppressed because it is too large
Load Diff
186
src/m68k/m68kconf.h
Executable file
186
src/m68k/m68kconf.h
Executable file
@@ -0,0 +1,186 @@
|
||||
/* ======================================================================== */
|
||||
/* ========================= LICENSING & COPYRIGHT ======================== */
|
||||
/* ======================================================================== */
|
||||
/*
|
||||
* MUSASHI
|
||||
* Version 3.4
|
||||
*
|
||||
* A portable Motorola M680x0 processor emulation engine.
|
||||
* Copyright 1998-2001 Karl Stenerud. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#ifndef M68KCONF__HEADER
|
||||
#define M68KCONF__HEADER
|
||||
|
||||
/* Configuration switches.
|
||||
* Use OPT_SPECIFY_HANDLER for configuration options that allow callbacks.
|
||||
* OPT_SPECIFY_HANDLER causes the core to link directly to the function
|
||||
* or macro you specify, rather than using callback functions whose pointer
|
||||
* must be passed in using m68k_set_xxx_callback().
|
||||
*/
|
||||
#define OPT_OFF 0
|
||||
#define OPT_ON 1
|
||||
#define OPT_SPECIFY_HANDLER 2
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ============================== MAME STUFF ============================== */
|
||||
/* ======================================================================== */
|
||||
|
||||
/* If you're compiling this for MAME, only change M68K_COMPILE_FOR_MAME
|
||||
* to OPT_ON and use m68kmame.h to configure the 68k core.
|
||||
*/
|
||||
#ifndef M68K_COMPILE_FOR_MAME
|
||||
#define M68K_COMPILE_FOR_MAME OPT_OFF
|
||||
#endif /* M68K_COMPILE_FOR_MAME */
|
||||
|
||||
|
||||
#if M68K_COMPILE_FOR_MAME == OPT_OFF
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ============================= CONFIGURATION ============================ */
|
||||
/* ======================================================================== */
|
||||
|
||||
/* Turn ON if you want to use the following M68K variants */
|
||||
#define M68K_EMULATE_010 OPT_ON
|
||||
#define M68K_EMULATE_EC020 OPT_ON
|
||||
#define M68K_EMULATE_020 OPT_ON
|
||||
|
||||
|
||||
/* If ON, the CPU will call m68k_read_immediate_xx() for immediate addressing
|
||||
* and m68k_read_pcrelative_xx() for PC-relative addressing.
|
||||
* If off, all read requests from the CPU will be redirected to m68k_read_xx()
|
||||
*/
|
||||
#define M68K_SEPARATE_READS OPT_OFF
|
||||
|
||||
/* If ON, the CPU will call m68k_write_32_pd() when it executes move.l with a
|
||||
* predecrement destination EA mode instead of m68k_write_32().
|
||||
* To simulate real 68k behavior, m68k_write_32_pd() must first write the high
|
||||
* word to [address+2], and then write the low word to [address].
|
||||
*/
|
||||
#define M68K_SIMULATE_PD_WRITES OPT_ON
|
||||
|
||||
/* If ON, CPU will call the interrupt acknowledge callback when it services an
|
||||
* interrupt.
|
||||
* If off, all interrupts will be autovectored and all interrupt requests will
|
||||
* auto-clear when the interrupt is serviced.
|
||||
*/
|
||||
#define M68K_EMULATE_INT_ACK OPT_ON
|
||||
#define M68K_INT_ACK_CALLBACK(A) interruptAcknowledge(A)
|
||||
|
||||
|
||||
/* If ON, CPU will call the breakpoint acknowledge callback when it encounters
|
||||
* a breakpoint instruction and it is running a 68010+.
|
||||
*/
|
||||
#define M68K_EMULATE_BKPT_ACK OPT_OFF
|
||||
#define M68K_BKPT_ACK_CALLBACK() your_bkpt_ack_handler_function()
|
||||
|
||||
|
||||
/* If ON, the CPU will monitor the trace flags and take trace exceptions
|
||||
*/
|
||||
#define M68K_EMULATE_TRACE OPT_OFF
|
||||
|
||||
|
||||
/* If ON, CPU will call the output reset callback when it encounters a reset
|
||||
* instruction.
|
||||
*/
|
||||
#define M68K_EMULATE_RESET OPT_ON
|
||||
#define M68K_RESET_CALLBACK() emulatorReset()
|
||||
|
||||
|
||||
/* If ON, CPU will call the set fc callback on every memory access to
|
||||
* differentiate between user/supervisor, program/data access like a real
|
||||
* 68000 would. This should be enabled and the callback should be set if you
|
||||
* want to properly emulate the m68010 or higher. (moves uses function codes
|
||||
* to read/write data from different address spaces)
|
||||
*/
|
||||
#define M68K_EMULATE_FC OPT_OFF
|
||||
#define M68K_SET_FC_CALLBACK(A) your_set_fc_handler_function(A)
|
||||
|
||||
|
||||
/* If ON, CPU will call the pc changed callback when it changes the PC by a
|
||||
* large value. This allows host programs to be nicer when it comes to
|
||||
* fetching immediate data and instructions on a banked memory system.
|
||||
*/
|
||||
#define M68K_MONITOR_PC OPT_OFF
|
||||
#define M68K_SET_PC_CALLBACK(A) your_pc_changed_handler_function(A)
|
||||
|
||||
|
||||
/* If ON, CPU will call the instruction hook callback before every
|
||||
* instruction.
|
||||
*/
|
||||
#define M68K_INSTRUCTION_HOOK OPT_OFF
|
||||
#define M68K_INSTRUCTION_CALLBACK() your_instruction_hook_function()
|
||||
|
||||
|
||||
/* If ON, the CPU will emulate the 4-byte prefetch queue of a real 68000 */
|
||||
#define M68K_EMULATE_PREFETCH OPT_OFF
|
||||
|
||||
|
||||
/* If ON, the CPU will generate address error exceptions if it tries to
|
||||
* access a word or longword at an odd address.
|
||||
* NOTE: This is only emulated properly for 68000 mode.
|
||||
*/
|
||||
#define M68K_EMULATE_ADDRESS_ERROR OPT_OFF
|
||||
|
||||
|
||||
/* Turn ON to enable logging of illegal instruction calls.
|
||||
* M68K_LOG_FILEHANDLE must be #defined to a stdio file stream.
|
||||
* Turn on M68K_LOG_1010_1111 to log all 1010 and 1111 calls.
|
||||
*/
|
||||
#define M68K_LOG_ENABLE OPT_OFF
|
||||
#define M68K_LOG_1010_1111 OPT_OFF
|
||||
#define M68K_LOG_FILEHANDLE some_file_handle
|
||||
|
||||
|
||||
/* ----------------------------- COMPATIBILITY ---------------------------- */
|
||||
|
||||
/* The following options set optimizations that violate the current ANSI
|
||||
* standard, but will be compliant under the forthcoming C9X standard.
|
||||
*/
|
||||
|
||||
|
||||
/* If ON, the enulation core will use 64-bit integers to speed up some
|
||||
* operations.
|
||||
*/
|
||||
#define M68K_USE_64_BIT OPT_ON
|
||||
|
||||
|
||||
/* Set to your compiler's static inline keyword to enable it, or
|
||||
* set it to blank to disable it.
|
||||
* If you define INLINE in the makefile, it will override this value.
|
||||
* NOTE: not enabling inline functions will SEVERELY slow down emulation.
|
||||
*/
|
||||
#ifndef INLINE
|
||||
#define INLINE static __inline__
|
||||
#endif /* INLINE */
|
||||
|
||||
#endif /* M68K_COMPILE_FOR_MAME */
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ============================== END OF FILE ============================= */
|
||||
/* ======================================================================== */
|
||||
|
||||
#endif /* M68KCONF__HEADER */
|
||||
882
src/m68k/m68kcpu.c
Executable file
882
src/m68k/m68kcpu.c
Executable file
@@ -0,0 +1,882 @@
|
||||
/* ======================================================================== */
|
||||
/* ========================= LICENSING & COPYRIGHT ======================== */
|
||||
/* ======================================================================== */
|
||||
/*
|
||||
* MUSASHI
|
||||
* Version 3.4
|
||||
*
|
||||
* A portable Motorola M680x0 processor emulation engine.
|
||||
* Copyright 1998-2001 Karl Stenerud. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ================================= NOTES ================================ */
|
||||
/* ======================================================================== */
|
||||
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ================================ INCLUDES ============================== */
|
||||
/* ======================================================================== */
|
||||
|
||||
#include "m68kops.h"
|
||||
#include "m68kcpu.h"
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ================================= DATA ================================= */
|
||||
/* ======================================================================== */
|
||||
|
||||
int m68ki_initial_cycles;
|
||||
int m68ki_remaining_cycles = 0; /* Number of clocks remaining */
|
||||
uint m68ki_tracing = 0;
|
||||
uint m68ki_address_space;
|
||||
|
||||
#ifdef M68K_LOG_ENABLE
|
||||
char* m68ki_cpu_names[9] =
|
||||
{
|
||||
"Invalid CPU",
|
||||
"M68000",
|
||||
"M68010",
|
||||
"Invalid CPU",
|
||||
"M68EC020"
|
||||
"Invalid CPU",
|
||||
"Invalid CPU",
|
||||
"Invalid CPU",
|
||||
"M68020"
|
||||
};
|
||||
#endif /* M68K_LOG_ENABLE */
|
||||
|
||||
/* The CPU core */
|
||||
m68ki_cpu_core m68ki_cpu = {0};
|
||||
|
||||
#if M68K_EMULATE_ADDRESS_ERROR
|
||||
jmp_buf m68ki_aerr_trap;
|
||||
#endif /* M68K_EMULATE_ADDRESS_ERROR */
|
||||
|
||||
uint m68ki_aerr_address;
|
||||
uint m68ki_aerr_write_mode;
|
||||
uint m68ki_aerr_fc;
|
||||
|
||||
/* Used by shift & rotate instructions */
|
||||
uint8 m68ki_shift_8_table[65] =
|
||||
{
|
||||
0x00, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff
|
||||
};
|
||||
uint16 m68ki_shift_16_table[65] =
|
||||
{
|
||||
0x0000, 0x8000, 0xc000, 0xe000, 0xf000, 0xf800, 0xfc00, 0xfe00, 0xff00,
|
||||
0xff80, 0xffc0, 0xffe0, 0xfff0, 0xfff8, 0xfffc, 0xfffe, 0xffff, 0xffff,
|
||||
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
|
||||
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
|
||||
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
|
||||
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
|
||||
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
|
||||
0xffff, 0xffff
|
||||
};
|
||||
uint m68ki_shift_32_table[65] =
|
||||
{
|
||||
0x00000000, 0x80000000, 0xc0000000, 0xe0000000, 0xf0000000, 0xf8000000,
|
||||
0xfc000000, 0xfe000000, 0xff000000, 0xff800000, 0xffc00000, 0xffe00000,
|
||||
0xfff00000, 0xfff80000, 0xfffc0000, 0xfffe0000, 0xffff0000, 0xffff8000,
|
||||
0xffffc000, 0xffffe000, 0xfffff000, 0xfffff800, 0xfffffc00, 0xfffffe00,
|
||||
0xffffff00, 0xffffff80, 0xffffffc0, 0xffffffe0, 0xfffffff0, 0xfffffff8,
|
||||
0xfffffffc, 0xfffffffe, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
|
||||
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff
|
||||
};
|
||||
|
||||
|
||||
/* Number of clock cycles to use for exception processing.
|
||||
* I used 4 for any vectors that are undocumented for processing times.
|
||||
*/
|
||||
uint8 m68ki_exception_cycle_table[3][256] =
|
||||
{
|
||||
{ /* 000 */
|
||||
4, /* 0: Reset - Initial Stack Pointer */
|
||||
4, /* 1: Reset - Initial Program Counter */
|
||||
50, /* 2: Bus Error (unemulated) */
|
||||
50, /* 3: Address Error (unemulated) */
|
||||
34, /* 4: Illegal Instruction */
|
||||
38, /* 5: Divide by Zero -- ASG: changed from 42 */
|
||||
40, /* 6: CHK -- ASG: chanaged from 44 */
|
||||
34, /* 7: TRAPV */
|
||||
34, /* 8: Privilege Violation */
|
||||
34, /* 9: Trace */
|
||||
34, /* 10: 1010 */
|
||||
34, /* 11: 1111 */
|
||||
4, /* 12: RESERVED */
|
||||
4, /* 13: Coprocessor Protocol Violation (unemulated) */
|
||||
4, /* 14: Format Error */
|
||||
44, /* 15: Uninitialized Interrupt */
|
||||
4, /* 16: RESERVED */
|
||||
4, /* 17: RESERVED */
|
||||
4, /* 18: RESERVED */
|
||||
4, /* 19: RESERVED */
|
||||
4, /* 20: RESERVED */
|
||||
4, /* 21: RESERVED */
|
||||
4, /* 22: RESERVED */
|
||||
4, /* 23: RESERVED */
|
||||
44, /* 24: Spurious Interrupt */
|
||||
44, /* 25: Level 1 Interrupt Autovector */
|
||||
44, /* 26: Level 2 Interrupt Autovector */
|
||||
44, /* 27: Level 3 Interrupt Autovector */
|
||||
44, /* 28: Level 4 Interrupt Autovector */
|
||||
44, /* 29: Level 5 Interrupt Autovector */
|
||||
44, /* 30: Level 6 Interrupt Autovector */
|
||||
44, /* 31: Level 7 Interrupt Autovector */
|
||||
34, /* 32: TRAP #0 -- ASG: chanaged from 38 */
|
||||
34, /* 33: TRAP #1 */
|
||||
34, /* 34: TRAP #2 */
|
||||
34, /* 35: TRAP #3 */
|
||||
34, /* 36: TRAP #4 */
|
||||
34, /* 37: TRAP #5 */
|
||||
34, /* 38: TRAP #6 */
|
||||
34, /* 39: TRAP #7 */
|
||||
34, /* 40: TRAP #8 */
|
||||
34, /* 41: TRAP #9 */
|
||||
34, /* 42: TRAP #10 */
|
||||
34, /* 43: TRAP #11 */
|
||||
34, /* 44: TRAP #12 */
|
||||
34, /* 45: TRAP #13 */
|
||||
34, /* 46: TRAP #14 */
|
||||
34, /* 47: TRAP #15 */
|
||||
4, /* 48: FP Branch or Set on Unknown Condition (unemulated) */
|
||||
4, /* 49: FP Inexact Result (unemulated) */
|
||||
4, /* 50: FP Divide by Zero (unemulated) */
|
||||
4, /* 51: FP Underflow (unemulated) */
|
||||
4, /* 52: FP Operand Error (unemulated) */
|
||||
4, /* 53: FP Overflow (unemulated) */
|
||||
4, /* 54: FP Signaling NAN (unemulated) */
|
||||
4, /* 55: FP Unimplemented Data Type (unemulated) */
|
||||
4, /* 56: MMU Configuration Error (unemulated) */
|
||||
4, /* 57: MMU Illegal Operation Error (unemulated) */
|
||||
4, /* 58: MMU Access Level Violation Error (unemulated) */
|
||||
4, /* 59: RESERVED */
|
||||
4, /* 60: RESERVED */
|
||||
4, /* 61: RESERVED */
|
||||
4, /* 62: RESERVED */
|
||||
4, /* 63: RESERVED */
|
||||
/* 64-255: User Defined */
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
|
||||
},
|
||||
{ /* 010 */
|
||||
4, /* 0: Reset - Initial Stack Pointer */
|
||||
4, /* 1: Reset - Initial Program Counter */
|
||||
126, /* 2: Bus Error (unemulated) */
|
||||
126, /* 3: Address Error (unemulated) */
|
||||
38, /* 4: Illegal Instruction */
|
||||
44, /* 5: Divide by Zero */
|
||||
44, /* 6: CHK */
|
||||
34, /* 7: TRAPV */
|
||||
38, /* 8: Privilege Violation */
|
||||
38, /* 9: Trace */
|
||||
4, /* 10: 1010 */
|
||||
4, /* 11: 1111 */
|
||||
4, /* 12: RESERVED */
|
||||
4, /* 13: Coprocessor Protocol Violation (unemulated) */
|
||||
4, /* 14: Format Error */
|
||||
44, /* 15: Uninitialized Interrupt */
|
||||
4, /* 16: RESERVED */
|
||||
4, /* 17: RESERVED */
|
||||
4, /* 18: RESERVED */
|
||||
4, /* 19: RESERVED */
|
||||
4, /* 20: RESERVED */
|
||||
4, /* 21: RESERVED */
|
||||
4, /* 22: RESERVED */
|
||||
4, /* 23: RESERVED */
|
||||
46, /* 24: Spurious Interrupt */
|
||||
46, /* 25: Level 1 Interrupt Autovector */
|
||||
46, /* 26: Level 2 Interrupt Autovector */
|
||||
46, /* 27: Level 3 Interrupt Autovector */
|
||||
46, /* 28: Level 4 Interrupt Autovector */
|
||||
46, /* 29: Level 5 Interrupt Autovector */
|
||||
46, /* 30: Level 6 Interrupt Autovector */
|
||||
46, /* 31: Level 7 Interrupt Autovector */
|
||||
38, /* 32: TRAP #0 */
|
||||
38, /* 33: TRAP #1 */
|
||||
38, /* 34: TRAP #2 */
|
||||
38, /* 35: TRAP #3 */
|
||||
38, /* 36: TRAP #4 */
|
||||
38, /* 37: TRAP #5 */
|
||||
38, /* 38: TRAP #6 */
|
||||
38, /* 39: TRAP #7 */
|
||||
38, /* 40: TRAP #8 */
|
||||
38, /* 41: TRAP #9 */
|
||||
38, /* 42: TRAP #10 */
|
||||
38, /* 43: TRAP #11 */
|
||||
38, /* 44: TRAP #12 */
|
||||
38, /* 45: TRAP #13 */
|
||||
38, /* 46: TRAP #14 */
|
||||
38, /* 47: TRAP #15 */
|
||||
4, /* 48: FP Branch or Set on Unknown Condition (unemulated) */
|
||||
4, /* 49: FP Inexact Result (unemulated) */
|
||||
4, /* 50: FP Divide by Zero (unemulated) */
|
||||
4, /* 51: FP Underflow (unemulated) */
|
||||
4, /* 52: FP Operand Error (unemulated) */
|
||||
4, /* 53: FP Overflow (unemulated) */
|
||||
4, /* 54: FP Signaling NAN (unemulated) */
|
||||
4, /* 55: FP Unimplemented Data Type (unemulated) */
|
||||
4, /* 56: MMU Configuration Error (unemulated) */
|
||||
4, /* 57: MMU Illegal Operation Error (unemulated) */
|
||||
4, /* 58: MMU Access Level Violation Error (unemulated) */
|
||||
4, /* 59: RESERVED */
|
||||
4, /* 60: RESERVED */
|
||||
4, /* 61: RESERVED */
|
||||
4, /* 62: RESERVED */
|
||||
4, /* 63: RESERVED */
|
||||
/* 64-255: User Defined */
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
|
||||
},
|
||||
{ /* 020 */
|
||||
4, /* 0: Reset - Initial Stack Pointer */
|
||||
4, /* 1: Reset - Initial Program Counter */
|
||||
50, /* 2: Bus Error (unemulated) */
|
||||
50, /* 3: Address Error (unemulated) */
|
||||
20, /* 4: Illegal Instruction */
|
||||
38, /* 5: Divide by Zero */
|
||||
40, /* 6: CHK */
|
||||
20, /* 7: TRAPV */
|
||||
34, /* 8: Privilege Violation */
|
||||
25, /* 9: Trace */
|
||||
20, /* 10: 1010 */
|
||||
20, /* 11: 1111 */
|
||||
4, /* 12: RESERVED */
|
||||
4, /* 13: Coprocessor Protocol Violation (unemulated) */
|
||||
4, /* 14: Format Error */
|
||||
30, /* 15: Uninitialized Interrupt */
|
||||
4, /* 16: RESERVED */
|
||||
4, /* 17: RESERVED */
|
||||
4, /* 18: RESERVED */
|
||||
4, /* 19: RESERVED */
|
||||
4, /* 20: RESERVED */
|
||||
4, /* 21: RESERVED */
|
||||
4, /* 22: RESERVED */
|
||||
4, /* 23: RESERVED */
|
||||
30, /* 24: Spurious Interrupt */
|
||||
30, /* 25: Level 1 Interrupt Autovector */
|
||||
30, /* 26: Level 2 Interrupt Autovector */
|
||||
30, /* 27: Level 3 Interrupt Autovector */
|
||||
30, /* 28: Level 4 Interrupt Autovector */
|
||||
30, /* 29: Level 5 Interrupt Autovector */
|
||||
30, /* 30: Level 6 Interrupt Autovector */
|
||||
30, /* 31: Level 7 Interrupt Autovector */
|
||||
20, /* 32: TRAP #0 */
|
||||
20, /* 33: TRAP #1 */
|
||||
20, /* 34: TRAP #2 */
|
||||
20, /* 35: TRAP #3 */
|
||||
20, /* 36: TRAP #4 */
|
||||
20, /* 37: TRAP #5 */
|
||||
20, /* 38: TRAP #6 */
|
||||
20, /* 39: TRAP #7 */
|
||||
20, /* 40: TRAP #8 */
|
||||
20, /* 41: TRAP #9 */
|
||||
20, /* 42: TRAP #10 */
|
||||
20, /* 43: TRAP #11 */
|
||||
20, /* 44: TRAP #12 */
|
||||
20, /* 45: TRAP #13 */
|
||||
20, /* 46: TRAP #14 */
|
||||
20, /* 47: TRAP #15 */
|
||||
4, /* 48: FP Branch or Set on Unknown Condition (unemulated) */
|
||||
4, /* 49: FP Inexact Result (unemulated) */
|
||||
4, /* 50: FP Divide by Zero (unemulated) */
|
||||
4, /* 51: FP Underflow (unemulated) */
|
||||
4, /* 52: FP Operand Error (unemulated) */
|
||||
4, /* 53: FP Overflow (unemulated) */
|
||||
4, /* 54: FP Signaling NAN (unemulated) */
|
||||
4, /* 55: FP Unimplemented Data Type (unemulated) */
|
||||
4, /* 56: MMU Configuration Error (unemulated) */
|
||||
4, /* 57: MMU Illegal Operation Error (unemulated) */
|
||||
4, /* 58: MMU Access Level Violation Error (unemulated) */
|
||||
4, /* 59: RESERVED */
|
||||
4, /* 60: RESERVED */
|
||||
4, /* 61: RESERVED */
|
||||
4, /* 62: RESERVED */
|
||||
4, /* 63: RESERVED */
|
||||
/* 64-255: User Defined */
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
|
||||
}
|
||||
};
|
||||
|
||||
uint8 m68ki_ea_idx_cycle_table[64] =
|
||||
{
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, /* ..01.000 no memory indirect, base NULL */
|
||||
5, /* ..01..01 memory indirect, base NULL, outer NULL */
|
||||
7, /* ..01..10 memory indirect, base NULL, outer 16 */
|
||||
7, /* ..01..11 memory indirect, base NULL, outer 32 */
|
||||
0, 5, 7, 7, 0, 5, 7, 7, 0, 5, 7, 7,
|
||||
2, /* ..10.000 no memory indirect, base 16 */
|
||||
7, /* ..10..01 memory indirect, base 16, outer NULL */
|
||||
9, /* ..10..10 memory indirect, base 16, outer 16 */
|
||||
9, /* ..10..11 memory indirect, base 16, outer 32 */
|
||||
0, 7, 9, 9, 0, 7, 9, 9, 0, 7, 9, 9,
|
||||
6, /* ..11.000 no memory indirect, base 32 */
|
||||
11, /* ..11..01 memory indirect, base 32, outer NULL */
|
||||
13, /* ..11..10 memory indirect, base 32, outer 16 */
|
||||
13, /* ..11..11 memory indirect, base 32, outer 32 */
|
||||
0, 11, 13, 13, 0, 11, 13, 13, 0, 11, 13, 13
|
||||
};
|
||||
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* =============================== CALLBACKS ============================== */
|
||||
/* ======================================================================== */
|
||||
|
||||
/* Default callbacks used if the callback hasn't been set yet, or if the
|
||||
* callback is set to NULL
|
||||
*/
|
||||
|
||||
/* Interrupt acknowledge */
|
||||
static int default_int_ack_callback_data;
|
||||
static int default_int_ack_callback(int int_level)
|
||||
{
|
||||
default_int_ack_callback_data = int_level;
|
||||
CPU_INT_LEVEL = 0;
|
||||
return M68K_INT_ACK_AUTOVECTOR;
|
||||
}
|
||||
|
||||
/* Breakpoint acknowledge */
|
||||
static unsigned int default_bkpt_ack_callback_data;
|
||||
static void default_bkpt_ack_callback(unsigned int data)
|
||||
{
|
||||
default_bkpt_ack_callback_data = data;
|
||||
}
|
||||
|
||||
/* Called when a reset instruction is executed */
|
||||
static void default_reset_instr_callback(void)
|
||||
{
|
||||
}
|
||||
|
||||
/* Called when the program counter changed by a large value */
|
||||
static unsigned int default_pc_changed_callback_data;
|
||||
static void default_pc_changed_callback(unsigned int new_pc)
|
||||
{
|
||||
default_pc_changed_callback_data = new_pc;
|
||||
}
|
||||
|
||||
/* Called every time there's bus activity (read/write to/from memory */
|
||||
static unsigned int default_set_fc_callback_data;
|
||||
static void default_set_fc_callback(unsigned int new_fc)
|
||||
{
|
||||
default_set_fc_callback_data = new_fc;
|
||||
}
|
||||
|
||||
/* Called every instruction cycle prior to execution */
|
||||
static void default_instr_hook_callback(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
#if M68K_EMULATE_ADDRESS_ERROR
|
||||
#include <setjmp.h>
|
||||
jmp_buf m68ki_aerr_trap;
|
||||
#endif /* M68K_EMULATE_ADDRESS_ERROR */
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ================================= API ================================== */
|
||||
/* ======================================================================== */
|
||||
|
||||
/* Access the internals of the CPU */
|
||||
unsigned int m68k_get_reg(void* context, m68k_register_t regnum)
|
||||
{
|
||||
m68ki_cpu_core* cpu = context != NULL ?(m68ki_cpu_core*)context : &m68ki_cpu;
|
||||
|
||||
switch(regnum)
|
||||
{
|
||||
case M68K_REG_D0: return cpu->dar[0];
|
||||
case M68K_REG_D1: return cpu->dar[1];
|
||||
case M68K_REG_D2: return cpu->dar[2];
|
||||
case M68K_REG_D3: return cpu->dar[3];
|
||||
case M68K_REG_D4: return cpu->dar[4];
|
||||
case M68K_REG_D5: return cpu->dar[5];
|
||||
case M68K_REG_D6: return cpu->dar[6];
|
||||
case M68K_REG_D7: return cpu->dar[7];
|
||||
case M68K_REG_A0: return cpu->dar[8];
|
||||
case M68K_REG_A1: return cpu->dar[9];
|
||||
case M68K_REG_A2: return cpu->dar[10];
|
||||
case M68K_REG_A3: return cpu->dar[11];
|
||||
case M68K_REG_A4: return cpu->dar[12];
|
||||
case M68K_REG_A5: return cpu->dar[13];
|
||||
case M68K_REG_A6: return cpu->dar[14];
|
||||
case M68K_REG_A7: return cpu->dar[15];
|
||||
case M68K_REG_PC: return MASK_OUT_ABOVE_32(cpu->pc);
|
||||
case M68K_REG_SR: return cpu->t1_flag |
|
||||
cpu->t0_flag |
|
||||
(cpu->s_flag << 11) |
|
||||
(cpu->m_flag << 11) |
|
||||
cpu->int_mask |
|
||||
((cpu->x_flag & XFLAG_SET) >> 4) |
|
||||
((cpu->n_flag & NFLAG_SET) >> 4) |
|
||||
((!cpu->not_z_flag) << 2) |
|
||||
((cpu->v_flag & VFLAG_SET) >> 6) |
|
||||
((cpu->c_flag & CFLAG_SET) >> 8);
|
||||
case M68K_REG_SP: return cpu->dar[15];
|
||||
case M68K_REG_USP: return cpu->s_flag ? cpu->sp[0] : cpu->dar[15];
|
||||
case M68K_REG_ISP: return cpu->s_flag && !cpu->m_flag ? cpu->dar[15] : cpu->sp[4];
|
||||
case M68K_REG_MSP: return cpu->s_flag && cpu->m_flag ? cpu->dar[15] : cpu->sp[6];
|
||||
case M68K_REG_SFC: return cpu->sfc;
|
||||
case M68K_REG_DFC: return cpu->dfc;
|
||||
case M68K_REG_VBR: return cpu->vbr;
|
||||
case M68K_REG_CACR: return cpu->cacr;
|
||||
case M68K_REG_CAAR: return cpu->caar;
|
||||
case M68K_REG_PREF_ADDR: return cpu->pref_addr;
|
||||
case M68K_REG_PREF_DATA: return cpu->pref_data;
|
||||
case M68K_REG_PPC: return MASK_OUT_ABOVE_32(cpu->ppc);
|
||||
case M68K_REG_IR: return cpu->ir;
|
||||
case M68K_REG_CPU_TYPE:
|
||||
switch(cpu->cpu_type)
|
||||
{
|
||||
case CPU_TYPE_000: return (unsigned int)M68K_CPU_TYPE_68000;
|
||||
case CPU_TYPE_010: return (unsigned int)M68K_CPU_TYPE_68010;
|
||||
case CPU_TYPE_EC020: return (unsigned int)M68K_CPU_TYPE_68EC020;
|
||||
case CPU_TYPE_020: return (unsigned int)M68K_CPU_TYPE_68020;
|
||||
}
|
||||
return M68K_CPU_TYPE_INVALID;
|
||||
default: return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void m68k_set_reg(m68k_register_t regnum, unsigned int value)
|
||||
{
|
||||
switch(regnum)
|
||||
{
|
||||
case M68K_REG_D0: REG_D[0] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_D1: REG_D[1] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_D2: REG_D[2] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_D3: REG_D[3] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_D4: REG_D[4] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_D5: REG_D[5] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_D6: REG_D[6] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_D7: REG_D[7] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_A0: REG_A[0] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_A1: REG_A[1] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_A2: REG_A[2] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_A3: REG_A[3] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_A4: REG_A[4] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_A5: REG_A[5] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_A6: REG_A[6] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_A7: REG_A[7] = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_PC: m68ki_jump(MASK_OUT_ABOVE_32(value)); return;
|
||||
case M68K_REG_SR: m68ki_set_sr(value); return;
|
||||
case M68K_REG_SP: REG_SP = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_USP: if(FLAG_S)
|
||||
REG_USP = MASK_OUT_ABOVE_32(value);
|
||||
else
|
||||
REG_SP = MASK_OUT_ABOVE_32(value);
|
||||
return;
|
||||
case M68K_REG_ISP: if(FLAG_S && !FLAG_M)
|
||||
REG_SP = MASK_OUT_ABOVE_32(value);
|
||||
else
|
||||
REG_ISP = MASK_OUT_ABOVE_32(value);
|
||||
return;
|
||||
case M68K_REG_MSP: if(FLAG_S && FLAG_M)
|
||||
REG_SP = MASK_OUT_ABOVE_32(value);
|
||||
else
|
||||
REG_MSP = MASK_OUT_ABOVE_32(value);
|
||||
return;
|
||||
case M68K_REG_VBR: REG_VBR = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_SFC: REG_SFC = value & 7; return;
|
||||
case M68K_REG_DFC: REG_DFC = value & 7; return;
|
||||
case M68K_REG_CACR: REG_CACR = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_CAAR: REG_CAAR = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_PPC: REG_PPC = MASK_OUT_ABOVE_32(value); return;
|
||||
case M68K_REG_IR: REG_IR = MASK_OUT_ABOVE_16(value); return;
|
||||
case M68K_REG_CPU_TYPE: m68k_set_cpu_type(value); return;
|
||||
default: return;
|
||||
}
|
||||
}
|
||||
|
||||
/* Set the callbacks */
|
||||
void m68k_set_int_ack_callback(int (*callback)(int int_level))
|
||||
{
|
||||
CALLBACK_INT_ACK = callback ? callback : default_int_ack_callback;
|
||||
}
|
||||
|
||||
void m68k_set_bkpt_ack_callback(void (*callback)(unsigned int data))
|
||||
{
|
||||
CALLBACK_BKPT_ACK = callback ? callback : default_bkpt_ack_callback;
|
||||
}
|
||||
|
||||
void m68k_set_reset_instr_callback(void (*callback)(void))
|
||||
{
|
||||
CALLBACK_RESET_INSTR = callback ? callback : default_reset_instr_callback;
|
||||
}
|
||||
|
||||
void m68k_set_pc_changed_callback(void (*callback)(unsigned int new_pc))
|
||||
{
|
||||
CALLBACK_PC_CHANGED = callback ? callback : default_pc_changed_callback;
|
||||
}
|
||||
|
||||
void m68k_set_fc_callback(void (*callback)(unsigned int new_fc))
|
||||
{
|
||||
CALLBACK_SET_FC = callback ? callback : default_set_fc_callback;
|
||||
}
|
||||
|
||||
void m68k_set_instr_hook_callback(void (*callback)(void))
|
||||
{
|
||||
CALLBACK_INSTR_HOOK = callback ? callback : default_instr_hook_callback;
|
||||
}
|
||||
|
||||
#include <stdio.h>
|
||||
/* Set the CPU type. */
|
||||
void m68k_set_cpu_type(unsigned int cpu_type)
|
||||
{
|
||||
switch(cpu_type)
|
||||
{
|
||||
case M68K_CPU_TYPE_68000:
|
||||
CPU_TYPE = CPU_TYPE_000;
|
||||
CPU_ADDRESS_MASK = 0x00ffffff;
|
||||
CPU_SR_MASK = 0xa71f; /* T1 -- S -- -- I2 I1 I0 -- -- -- X N Z V C */
|
||||
CYC_INSTRUCTION = m68ki_cycles[0];
|
||||
CYC_EXCEPTION = m68ki_exception_cycle_table[0];
|
||||
CYC_BCC_NOTAKE_B = -2;
|
||||
CYC_BCC_NOTAKE_W = 2;
|
||||
CYC_DBCC_F_NOEXP = -2;
|
||||
CYC_DBCC_F_EXP = 2;
|
||||
CYC_SCC_R_TRUE = 2;
|
||||
CYC_MOVEM_W = 2;
|
||||
CYC_MOVEM_L = 3;
|
||||
CYC_SHIFT = 1;
|
||||
CYC_RESET = 132;
|
||||
return;
|
||||
case M68K_CPU_TYPE_68010:
|
||||
CPU_TYPE = CPU_TYPE_010;
|
||||
CPU_ADDRESS_MASK = 0x00ffffff;
|
||||
CPU_SR_MASK = 0xa71f; /* T1 -- S -- -- I2 I1 I0 -- -- -- X N Z V C */
|
||||
CYC_INSTRUCTION = m68ki_cycles[1];
|
||||
CYC_EXCEPTION = m68ki_exception_cycle_table[1];
|
||||
CYC_BCC_NOTAKE_B = -4;
|
||||
CYC_BCC_NOTAKE_W = 0;
|
||||
CYC_DBCC_F_NOEXP = 0;
|
||||
CYC_DBCC_F_EXP = 6;
|
||||
CYC_SCC_R_TRUE = 0;
|
||||
CYC_MOVEM_W = 2;
|
||||
CYC_MOVEM_L = 3;
|
||||
CYC_SHIFT = 1;
|
||||
CYC_RESET = 130;
|
||||
return;
|
||||
case M68K_CPU_TYPE_68EC020:
|
||||
CPU_TYPE = CPU_TYPE_EC020;
|
||||
CPU_ADDRESS_MASK = 0x00ffffff;
|
||||
CPU_SR_MASK = 0xf71f; /* T1 T0 S M -- I2 I1 I0 -- -- -- X N Z V C */
|
||||
CYC_INSTRUCTION = m68ki_cycles[2];
|
||||
CYC_EXCEPTION = m68ki_exception_cycle_table[2];
|
||||
CYC_BCC_NOTAKE_B = -2;
|
||||
CYC_BCC_NOTAKE_W = 0;
|
||||
CYC_DBCC_F_NOEXP = 0;
|
||||
CYC_DBCC_F_EXP = 4;
|
||||
CYC_SCC_R_TRUE = 0;
|
||||
CYC_MOVEM_W = 2;
|
||||
CYC_MOVEM_L = 2;
|
||||
CYC_SHIFT = 0;
|
||||
CYC_RESET = 518;
|
||||
return;
|
||||
case M68K_CPU_TYPE_68020:
|
||||
CPU_TYPE = CPU_TYPE_020;
|
||||
CPU_ADDRESS_MASK = 0xffffffff;
|
||||
CPU_SR_MASK = 0xf71f; /* T1 T0 S M -- I2 I1 I0 -- -- -- X N Z V C */
|
||||
CYC_INSTRUCTION = m68ki_cycles[2];
|
||||
CYC_EXCEPTION = m68ki_exception_cycle_table[2];
|
||||
CYC_BCC_NOTAKE_B = -2;
|
||||
CYC_BCC_NOTAKE_W = 0;
|
||||
CYC_DBCC_F_NOEXP = 0;
|
||||
CYC_DBCC_F_EXP = 4;
|
||||
CYC_SCC_R_TRUE = 0;
|
||||
CYC_MOVEM_W = 2;
|
||||
CYC_MOVEM_L = 2;
|
||||
CYC_SHIFT = 0;
|
||||
CYC_RESET = 518;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* Execute some instructions until we use up num_cycles clock cycles */
|
||||
/* ASG: removed per-instruction interrupt checks */
|
||||
int m68k_execute(int num_cycles)
|
||||
{
|
||||
/* Make sure we're not stopped */
|
||||
if(!CPU_STOPPED)
|
||||
{
|
||||
/* Set our pool of clock cycles available */
|
||||
SET_CYCLES(num_cycles);
|
||||
m68ki_initial_cycles = num_cycles;
|
||||
|
||||
/* ASG: update cycles */
|
||||
USE_CYCLES(CPU_INT_CYCLES);
|
||||
CPU_INT_CYCLES = 0;
|
||||
|
||||
/* Return point if we had an address error */
|
||||
m68ki_set_address_error_trap(); /* auto-disable (see m68kcpu.h) */
|
||||
|
||||
/* Main loop. Keep going until we run out of clock cycles */
|
||||
do
|
||||
{
|
||||
/* Set tracing accodring to T1. (T0 is done inside instruction) */
|
||||
m68ki_trace_t1(); /* auto-disable (see m68kcpu.h) */
|
||||
|
||||
/* Set the address space for reads */
|
||||
m68ki_use_data_space(); /* auto-disable (see m68kcpu.h) */
|
||||
|
||||
/* Call external hook to peek at CPU */
|
||||
m68ki_instr_hook(); /* auto-disable (see m68kcpu.h) */
|
||||
|
||||
/* Record previous program counter */
|
||||
REG_PPC = REG_PC;
|
||||
|
||||
/* Read an instruction and call its handler */
|
||||
REG_IR = m68ki_read_imm_16();
|
||||
m68ki_instruction_jump_table[REG_IR]();
|
||||
USE_CYCLES(CYC_INSTRUCTION[REG_IR]);
|
||||
|
||||
/* Trace m68k_exception, if necessary */
|
||||
m68ki_exception_if_trace(); /* auto-disable (see m68kcpu.h) */
|
||||
} while(GET_CYCLES() > 0);
|
||||
|
||||
/* set previous PC to current PC for the next entry into the loop */
|
||||
REG_PPC = REG_PC;
|
||||
|
||||
/* ASG: update cycles */
|
||||
USE_CYCLES(CPU_INT_CYCLES);
|
||||
CPU_INT_CYCLES = 0;
|
||||
|
||||
/* return how many clocks we used */
|
||||
return m68ki_initial_cycles - GET_CYCLES();
|
||||
}
|
||||
|
||||
/* We get here if the CPU is stopped or halted */
|
||||
SET_CYCLES(0);
|
||||
CPU_INT_CYCLES = 0;
|
||||
|
||||
return num_cycles;
|
||||
}
|
||||
|
||||
|
||||
int m68k_cycles_run(void)
|
||||
{
|
||||
return m68ki_initial_cycles - GET_CYCLES();
|
||||
}
|
||||
|
||||
int m68k_cycles_remaining(void)
|
||||
{
|
||||
return GET_CYCLES();
|
||||
}
|
||||
|
||||
/* Change the timeslice */
|
||||
void m68k_modify_timeslice(int cycles)
|
||||
{
|
||||
m68ki_initial_cycles += cycles;
|
||||
ADD_CYCLES(cycles);
|
||||
}
|
||||
|
||||
|
||||
void m68k_end_timeslice(void)
|
||||
{
|
||||
m68ki_initial_cycles = GET_CYCLES();
|
||||
SET_CYCLES(0);
|
||||
}
|
||||
|
||||
|
||||
/* ASG: rewrote so that the int_level is a mask of the IPL0/IPL1/IPL2 bits */
|
||||
/* KS: Modified so that IPL* bits match with mask positions in the SR
|
||||
* and cleaned out remenants of the interrupt controller.
|
||||
*/
|
||||
void m68k_set_irq(unsigned int int_level)
|
||||
{
|
||||
uint old_level = CPU_INT_LEVEL;
|
||||
CPU_INT_LEVEL = int_level << 8;
|
||||
|
||||
/* A transition from < 7 to 7 always interrupts (NMI) */
|
||||
/* Note: Level 7 can also level trigger like a normal IRQ */
|
||||
if(old_level != 0x0700 && CPU_INT_LEVEL == 0x0700)
|
||||
m68ki_exception_interrupt(7); /* Edge triggered level 7 (NMI) */
|
||||
else
|
||||
m68ki_check_interrupts(); /* Level triggered (IRQ) */
|
||||
}
|
||||
|
||||
void m68k_init(void)
|
||||
{
|
||||
static uint emulation_initialized = 0;
|
||||
|
||||
/* The first call to this function initializes the opcode handler jump table */
|
||||
if(!emulation_initialized)
|
||||
{
|
||||
m68ki_build_opcode_table();
|
||||
emulation_initialized = 1;
|
||||
}
|
||||
|
||||
m68k_set_int_ack_callback(NULL);
|
||||
m68k_set_bkpt_ack_callback(NULL);
|
||||
m68k_set_reset_instr_callback(NULL);
|
||||
m68k_set_pc_changed_callback(NULL);
|
||||
m68k_set_fc_callback(NULL);
|
||||
m68k_set_instr_hook_callback(NULL);
|
||||
}
|
||||
|
||||
/* Pulse the RESET line on the CPU */
|
||||
void m68k_pulse_reset(void)
|
||||
{
|
||||
/* Clear all stop levels and eat up all remaining cycles */
|
||||
CPU_STOPPED = 0;
|
||||
SET_CYCLES(0);
|
||||
|
||||
CPU_RUN_MODE = RUN_MODE_BERR_AERR_RESET;
|
||||
CPU_INSTR_MODE = INSTRUCTION_YES;
|
||||
|
||||
/* Turn off tracing */
|
||||
FLAG_T1 = FLAG_T0 = 0;
|
||||
m68ki_clear_trace();
|
||||
/* Interrupt mask to level 7 */
|
||||
FLAG_INT_MASK = 0x0700;
|
||||
/* Reset VBR */
|
||||
REG_VBR = 0;
|
||||
/* Go to supervisor mode */
|
||||
m68ki_set_sm_flag(SFLAG_SET | MFLAG_CLEAR);
|
||||
|
||||
/* Invalidate the prefetch queue */
|
||||
#if M68K_EMULATE_PREFETCH
|
||||
/* Set to arbitrary number since our first fetch is from 0 */
|
||||
CPU_PREF_ADDR = 0x1000;
|
||||
#endif /* M68K_EMULATE_PREFETCH */
|
||||
|
||||
/* Read the initial stack pointer and program counter */
|
||||
m68ki_jump(0);
|
||||
REG_SP = m68ki_read_imm_32();
|
||||
REG_PC = m68ki_read_imm_32();
|
||||
m68ki_jump(REG_PC);
|
||||
|
||||
CPU_RUN_MODE = RUN_MODE_NORMAL;
|
||||
}
|
||||
|
||||
/* Pulse the HALT line on the CPU */
|
||||
void m68k_pulse_halt(void)
|
||||
{
|
||||
CPU_STOPPED |= STOP_LEVEL_HALT;
|
||||
}
|
||||
|
||||
|
||||
/* Get and set the current CPU context */
|
||||
/* This is to allow for multiple CPUs */
|
||||
unsigned int m68k_context_size()
|
||||
{
|
||||
return sizeof(m68ki_cpu_core);
|
||||
}
|
||||
|
||||
unsigned int m68k_get_context(void* dst)
|
||||
{
|
||||
if(dst) *(m68ki_cpu_core*)dst = m68ki_cpu;
|
||||
return sizeof(m68ki_cpu_core);
|
||||
}
|
||||
|
||||
void m68k_set_context(void* src)
|
||||
{
|
||||
if(src) m68ki_cpu = *(m68ki_cpu_core*)src;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ============================== MAME STUFF ============================== */
|
||||
/* ======================================================================== */
|
||||
|
||||
#if M68K_COMPILE_FOR_MAME == OPT_ON
|
||||
|
||||
#include "state.h"
|
||||
|
||||
static struct {
|
||||
UINT16 sr;
|
||||
int stopped;
|
||||
int halted;
|
||||
} m68k_substate;
|
||||
|
||||
static void m68k_prepare_substate(void)
|
||||
{
|
||||
m68k_substate.sr = m68ki_get_sr();
|
||||
m68k_substate.stopped = (CPU_STOPPED & STOP_LEVEL_STOP) != 0;
|
||||
m68k_substate.halted = (CPU_STOPPED & STOP_LEVEL_HALT) != 0;
|
||||
}
|
||||
|
||||
static void m68k_post_load(void)
|
||||
{
|
||||
m68ki_set_sr_noint_nosp(m68k_substate.sr);
|
||||
CPU_STOPPED = m68k_substate.stopped ? STOP_LEVEL_STOP : 0
|
||||
| m68k_substate.halted ? STOP_LEVEL_HALT : 0;
|
||||
m68ki_jump(REG_PC);
|
||||
}
|
||||
|
||||
void m68k_state_register(const char *type)
|
||||
{
|
||||
int cpu = cpu_getactivecpu();
|
||||
|
||||
state_save_register_UINT32(type, cpu, "D" , REG_D, 8);
|
||||
state_save_register_UINT32(type, cpu, "A" , REG_A, 8);
|
||||
state_save_register_UINT32(type, cpu, "PPC" , ®_PPC, 1);
|
||||
state_save_register_UINT32(type, cpu, "PC" , ®_PC, 1);
|
||||
state_save_register_UINT32(type, cpu, "USP" , ®_USP, 1);
|
||||
state_save_register_UINT32(type, cpu, "ISP" , ®_ISP, 1);
|
||||
state_save_register_UINT32(type, cpu, "MSP" , ®_MSP, 1);
|
||||
state_save_register_UINT32(type, cpu, "VBR" , ®_VBR, 1);
|
||||
state_save_register_UINT32(type, cpu, "SFC" , ®_SFC, 1);
|
||||
state_save_register_UINT32(type, cpu, "DFC" , ®_DFC, 1);
|
||||
state_save_register_UINT32(type, cpu, "CACR" , ®_CACR, 1);
|
||||
state_save_register_UINT32(type, cpu, "CAAR" , ®_CAAR, 1);
|
||||
state_save_register_UINT16(type, cpu, "SR" , &m68k_substate.sr, 1);
|
||||
state_save_register_UINT32(type, cpu, "INT_LEVEL" , &CPU_INT_LEVEL, 1);
|
||||
state_save_register_UINT32(type, cpu, "INT_CYCLES", &CPU_INT_CYCLES, 1);
|
||||
state_save_register_int (type, cpu, "STOPPED" , &m68k_substate.stopped);
|
||||
state_save_register_int (type, cpu, "HALTED" , &m68k_substate.halted);
|
||||
state_save_register_UINT32(type, cpu, "PREF_ADDR" , &CPU_PREF_ADDR, 1);
|
||||
state_save_register_UINT32(type, cpu, "PREF_DATA" , &CPU_PREF_DATA, 1);
|
||||
state_save_register_func_presave(m68k_prepare_substate);
|
||||
state_save_register_func_postload(m68k_post_load);
|
||||
}
|
||||
|
||||
#endif /* M68K_COMPILE_FOR_MAME */
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ============================== END OF FILE ============================= */
|
||||
/* ======================================================================== */
|
||||
1985
src/m68k/m68kcpu.h
Executable file
1985
src/m68k/m68kcpu.h
Executable file
File diff suppressed because it is too large
Load Diff
3477
src/m68k/m68kdasm.c
Executable file
3477
src/m68k/m68kdasm.c
Executable file
File diff suppressed because it is too large
Load Diff
1429
src/m68k/m68kmake.c
Executable file
1429
src/m68k/m68kmake.c
Executable file
File diff suppressed because it is too large
Load Diff
12062
src/m68k/m68kopac.c
Normal file
12062
src/m68k/m68kopac.c
Normal file
File diff suppressed because it is too large
Load Diff
13223
src/m68k/m68kopdm.c
Normal file
13223
src/m68k/m68kopdm.c
Normal file
File diff suppressed because it is too large
Load Diff
8817
src/m68k/m68kopnz.c
Normal file
8817
src/m68k/m68kopnz.c
Normal file
File diff suppressed because it is too large
Load Diff
2103
src/m68k/m68kops.c
Normal file
2103
src/m68k/m68kops.c
Normal file
File diff suppressed because it is too large
Load Diff
1984
src/m68k/m68kops.h
Normal file
1984
src/m68k/m68kops.h
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/m68k/musashiMakeOpTable_MacOs
Executable file
BIN
src/m68k/musashiMakeOpTable_MacOs
Executable file
Binary file not shown.
12
src/makefile.all
Normal file
12
src/makefile.all
Normal file
@@ -0,0 +1,12 @@
|
||||
EMU_SOURCES := $(EMU_PATH)/emulator.c \
|
||||
$(EMU_PATH)/memoryAccess.c \
|
||||
$(EMU_PATH)/hardwareRegisters.c \
|
||||
$(EMU_PATH)/sed1376.c \
|
||||
$(EMU_PATH)/silkscreen.c \
|
||||
$(EMU_PATH)/cpu32Opcodes.c \
|
||||
$(EMU_PATH)/m68k/m68kops.c \
|
||||
$(EMU_PATH)/m68k/m68kopnz.c \
|
||||
$(EMU_PATH)/m68k/m68kopdm.c \
|
||||
$(EMU_PATH)/m68k/m68kopac.c \
|
||||
$(EMU_PATH)/m68k/m68kdasm.c \
|
||||
$(EMU_PATH)/m68k/m68kcpu.c
|
||||
174
src/memoryAccess.c
Normal file
174
src/memoryAccess.c
Normal file
@@ -0,0 +1,174 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "emulator.h"
|
||||
#include "hardwareRegisters.h"
|
||||
#include "m68k/m68k.h"
|
||||
#include "sed1376.h"
|
||||
|
||||
//invalid accesses are ok, from POSE: Hack to keep HwrGetRAMSize working: it runs off the end of RAM while testing it.
|
||||
|
||||
/* Read from anywhere */
|
||||
unsigned int m68k_read_memory_8(unsigned int address){
|
||||
if(address >= RAM_START_ADDRESS && address < RAM_START_ADDRESS + RAM_SIZE)
|
||||
return palmRam[address - RAM_START_ADDRESS];
|
||||
else if(address >= ROM_START_ADDRESS && address < ROM_START_ADDRESS + ROM_SIZE)
|
||||
return palmRom[address - ROM_START_ADDRESS];
|
||||
else if(address >= REG_START_ADDRESS && address < REG_START_ADDRESS + REG_SIZE)
|
||||
return getHwRegister8(address - REG_START_ADDRESS);
|
||||
else if(address >= SED1376_REG_START_ADDRESS && address < SED1376_REG_START_ADDRESS + SED1376_REG_SIZE)
|
||||
return sed1376GetRegister(address - SED1376_REG_START_ADDRESS);
|
||||
else if(address >= SED1376_FB_START_ADDRESS && address < SED1376_FB_START_ADDRESS + SED1376_FB_SIZE)
|
||||
printf("Attempted 8 bit read on sed1376 framebuffer at 0x%08X.\n", address - SED1376_FB_START_ADDRESS);
|
||||
|
||||
//printf("Invalid 8 bit read at 0x%08X.\n", address);
|
||||
|
||||
return 0x00;
|
||||
}
|
||||
|
||||
unsigned int m68k_read_memory_16(unsigned int address){
|
||||
if(address >= RAM_START_ADDRESS && address < RAM_START_ADDRESS + RAM_SIZE)
|
||||
return palmRam[address - RAM_START_ADDRESS] << 8 | palmRam[address - RAM_START_ADDRESS + 1];
|
||||
else if(address >= ROM_START_ADDRESS && address < ROM_START_ADDRESS + ROM_SIZE)
|
||||
return palmRom[address - ROM_START_ADDRESS] << 8 | palmRom[address - ROM_START_ADDRESS + 1];
|
||||
else if(address >= REG_START_ADDRESS && address < REG_START_ADDRESS + REG_SIZE)
|
||||
return getHwRegister16(address - REG_START_ADDRESS);
|
||||
else if(address >= SED1376_REG_START_ADDRESS && address < SED1376_REG_START_ADDRESS + SED1376_REG_SIZE)
|
||||
return sed1376GetRegister(address - SED1376_REG_START_ADDRESS);
|
||||
else if(address >= SED1376_FB_START_ADDRESS && address < SED1376_FB_START_ADDRESS + SED1376_FB_SIZE)
|
||||
printf("Attempted 16 bit read on sed1376 framebuffer at 0x%08X.\n", address - SED1376_FB_START_ADDRESS);
|
||||
|
||||
//printf("Invalid 16 bit read at 0x%08X.\n", address);
|
||||
|
||||
return 0x0000;
|
||||
}
|
||||
|
||||
unsigned int m68k_read_memory_32(unsigned int address){
|
||||
if(address >= RAM_START_ADDRESS && address < RAM_START_ADDRESS + RAM_SIZE)
|
||||
return palmRam[address - RAM_START_ADDRESS] << 24 | palmRam[address - RAM_START_ADDRESS + 1] << 16 | palmRam[address - RAM_START_ADDRESS + 2] << 8 | palmRam[address - RAM_START_ADDRESS + 3];
|
||||
else if(address >= ROM_START_ADDRESS && address < ROM_START_ADDRESS + ROM_SIZE)
|
||||
return palmRom[address - ROM_START_ADDRESS] << 24 | palmRom[address - ROM_START_ADDRESS + 1] << 16 | palmRom[address - ROM_START_ADDRESS + 2] << 8 | palmRom[address - ROM_START_ADDRESS + 3];
|
||||
else if(address >= REG_START_ADDRESS && address < REG_START_ADDRESS + REG_SIZE)
|
||||
return getHwRegister32(address - REG_START_ADDRESS);
|
||||
else if(address >= SED1376_REG_START_ADDRESS && address < SED1376_REG_START_ADDRESS + SED1376_REG_SIZE)
|
||||
return sed1376GetRegister(address - SED1376_REG_START_ADDRESS);
|
||||
else if(address >= SED1376_FB_START_ADDRESS && address < SED1376_FB_START_ADDRESS + SED1376_FB_SIZE)
|
||||
printf("Attempted 32 bit read on sed1376 framebuffer at 0x%08X.\n", address - SED1376_FB_START_ADDRESS);
|
||||
|
||||
//printf("Invalid 32 bit read at 0x%08X.\n", address);
|
||||
|
||||
return 0x00000000;
|
||||
}
|
||||
|
||||
/* Write to anywhere */
|
||||
void m68k_write_memory_8(unsigned int address, unsigned int value){
|
||||
if(address >= RAM_START_ADDRESS && address < RAM_START_ADDRESS + RAM_SIZE){
|
||||
palmRam[address - RAM_START_ADDRESS] = value;
|
||||
}
|
||||
else if(address >= ROM_START_ADDRESS && address < ROM_START_ADDRESS + ROM_SIZE){
|
||||
//cant write ROM
|
||||
printf("Tried to write 8 bits to ROM at 0x%08X with value of 0x%02X.\n", address, value);
|
||||
}
|
||||
else if(address >= REG_START_ADDRESS && address < REG_START_ADDRESS + REG_SIZE){
|
||||
setHwRegister8(address - REG_START_ADDRESS, value);
|
||||
}
|
||||
else if(address >= SED1376_REG_START_ADDRESS && address < SED1376_REG_START_ADDRESS + SED1376_REG_SIZE){
|
||||
sed1376SetRegister(address - SED1376_REG_START_ADDRESS, value);
|
||||
}
|
||||
else if(address >= SED1376_FB_START_ADDRESS && address < SED1376_FB_START_ADDRESS + SED1376_FB_SIZE){
|
||||
printf("Attempted 8 bit write on sed1376 framebuffer at 0x%08X with value of 0x%02X.\n", address - SED1376_FB_START_ADDRESS, value);
|
||||
}
|
||||
else{
|
||||
//printf("Invalid 8 bit write at 0x%08X with value of 0x%02X.\n", address, value);
|
||||
}
|
||||
}
|
||||
|
||||
void m68k_write_memory_16(unsigned int address, unsigned int value){
|
||||
if(address >= RAM_START_ADDRESS && address < RAM_START_ADDRESS + RAM_SIZE){
|
||||
palmRam[address - RAM_START_ADDRESS] = value >> 8;
|
||||
palmRam[address - RAM_START_ADDRESS + 1] = value & 0xFF;
|
||||
}
|
||||
else if(address >= ROM_START_ADDRESS && address < ROM_START_ADDRESS + ROM_SIZE){
|
||||
//cant write ROM
|
||||
printf("Tried to write 16 bits to ROM at 0x%08X with value of 0x%04X.\n", address, value);
|
||||
}
|
||||
else if(address >= REG_START_ADDRESS && address < REG_START_ADDRESS + REG_SIZE){
|
||||
setHwRegister16(address - REG_START_ADDRESS, value);
|
||||
}
|
||||
else if(address >= SED1376_REG_START_ADDRESS && address < SED1376_REG_START_ADDRESS + SED1376_REG_SIZE){
|
||||
sed1376SetRegister(address - SED1376_REG_START_ADDRESS, value & 0xFF);
|
||||
}
|
||||
else if(address >= SED1376_FB_START_ADDRESS && address < SED1376_FB_START_ADDRESS + SED1376_FB_SIZE){
|
||||
printf("Attempted 16 bit write on sed1376 framebuffer at 0x%08X with value of 0x%04X.\n", address - SED1376_FB_START_ADDRESS, value);
|
||||
}
|
||||
else{
|
||||
//printf("Invalid 16 bit write at 0x%08X with value of 0x%04X.\n", address, value);
|
||||
}
|
||||
}
|
||||
|
||||
void m68k_write_memory_32(unsigned int address, unsigned int value){
|
||||
if(address >= RAM_START_ADDRESS && address < RAM_START_ADDRESS + RAM_SIZE){
|
||||
palmRam[address - RAM_START_ADDRESS] = value >> 24;
|
||||
palmRam[address - RAM_START_ADDRESS + 1] = (value >> 16) & 0xFF;
|
||||
palmRam[address - RAM_START_ADDRESS + 2] = (value >> 8) & 0xFF;
|
||||
palmRam[address - RAM_START_ADDRESS + 3] = value & 0xFF;
|
||||
}
|
||||
else if(address >= ROM_START_ADDRESS && address < ROM_START_ADDRESS + ROM_SIZE){
|
||||
//cant write ROM
|
||||
printf("Tried to write 32 bits to ROM at 0x%08X with value of 0x%08X.\n", address, value);
|
||||
}
|
||||
else if(address >= REG_START_ADDRESS && address < REG_START_ADDRESS + REG_SIZE){
|
||||
setHwRegister32(address - REG_START_ADDRESS, value);
|
||||
}
|
||||
else if(address >= SED1376_REG_START_ADDRESS && address < SED1376_REG_START_ADDRESS + SED1376_REG_SIZE){
|
||||
sed1376SetRegister(address - SED1376_REG_START_ADDRESS, value & 0xFF);
|
||||
}
|
||||
else if(address >= SED1376_FB_START_ADDRESS && address < SED1376_FB_START_ADDRESS + SED1376_FB_SIZE){
|
||||
printf("Attempted 32 bit write on sed1376 framebuffer at 0x%08X with value of 0x%08X.\n", address - SED1376_FB_START_ADDRESS, value);
|
||||
}
|
||||
else{
|
||||
//printf("Invalid 32 bit write at 0x%08X with value of 0x%08X.\n", address, value);
|
||||
}
|
||||
}
|
||||
|
||||
void m68k_write_memory_32_pd(unsigned int address, unsigned int value){
|
||||
//swaps the upper and lower 16bits
|
||||
if(address >= RAM_START_ADDRESS && address < RAM_START_ADDRESS + RAM_SIZE){
|
||||
printf("Wrote predecrement swapped 32 bits to RAM at 0x%08X with value of 0x%08X.\n", address, value >> 16 | value << 16);
|
||||
palmRam[address - RAM_START_ADDRESS + 2] = value >> 24;
|
||||
palmRam[address - RAM_START_ADDRESS + 3] = (value >> 16) & 0xFF;
|
||||
palmRam[address - RAM_START_ADDRESS] = (value >> 8) & 0xFF;
|
||||
palmRam[address - RAM_START_ADDRESS + 1] = value & 0xFF;
|
||||
}
|
||||
else if(address >= ROM_START_ADDRESS && address < ROM_START_ADDRESS + ROM_SIZE){
|
||||
//cant write ROM
|
||||
printf("Tried to write predecrement swapped 32 bits to ROM at 0x%08X with value of 0x%08X.\n", address, value >> 16 | value << 16);
|
||||
}
|
||||
else if(address >= REG_START_ADDRESS && address < REG_START_ADDRESS + REG_SIZE){
|
||||
setHwRegister32(address - REG_START_ADDRESS, value >> 16 | value << 16);
|
||||
//I dont know the interaction between the hw registers and the malformed opcode
|
||||
printf("Possibly fatal error: Predecrement swaped 32bit write to hw register: 0x%08X, at PC: 0x%08X\n", address, m68k_get_reg(NULL, M68K_REG_PC));
|
||||
}
|
||||
else if(address >= SED1376_REG_START_ADDRESS && address < SED1376_REG_START_ADDRESS + SED1376_REG_SIZE){
|
||||
//I dont know the interaction between sed1376 registers and the malformed opcode
|
||||
printf("Predecrement swapped 32 bit write at sed1376 register 0x%08X with value of 0x%08X.\n", address - SED1376_REG_START_ADDRESS, value);
|
||||
}
|
||||
else if(address >= SED1376_FB_START_ADDRESS && address < SED1376_FB_START_ADDRESS + SED1376_FB_SIZE){
|
||||
printf("Attempted 32 bit predecrement swapped write on sed1376 framebuffer at 0x%08X with value of 0x%08X.\n", address - SED1376_FB_START_ADDRESS, value);
|
||||
}
|
||||
else{
|
||||
printf("Invalid predecrement swapped 32 bit write at 0x%08X with value of 0x%08X.\n", address, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Memory access for the disassembler */
|
||||
unsigned int m68k_read_disassembler_8(unsigned int address){
|
||||
return m68k_read_memory_8(address);
|
||||
}
|
||||
unsigned int m68k_read_disassembler_16(unsigned int address){
|
||||
return m68k_read_memory_16(address);
|
||||
}
|
||||
unsigned int m68k_read_disassembler_32(unsigned int address){
|
||||
return m68k_read_memory_32(address);
|
||||
}
|
||||
51
src/sed1376.c
Normal file
51
src/sed1376.c
Normal file
@@ -0,0 +1,51 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "emulator.h"
|
||||
|
||||
|
||||
//the sed1376 has only 16 address lines(17 if you count the line that switches between registers and framebuffer) and 16 data lines, the most you can read is 16 bits, registers are 8 bits
|
||||
|
||||
//the actions described below are just my best guesses after reading the datasheet, I have not tested with actual hardware
|
||||
//you read and write the register on the address lines set
|
||||
//8 bit reg access works normal
|
||||
//16 bit reg reads will result in you getting (0x00 << 8 | register).
|
||||
//16 bit reg writes will result in you writing the lower 8 bits.
|
||||
//32 bit register reads will result in you getting (randomUint16 << 16 | 0x00 << 8 | register), upper 16 bits are floating because sed1376 only has 16 address lines.
|
||||
//32 bit register writes will result in you writing the lower 8 bits.
|
||||
|
||||
|
||||
//The LCD power-on sequence is activated by programming the Power Save Mode Enable bit (REG[A0h] bit 0) to 0.
|
||||
//The LCD power-off sequence is activated by programming the Power Save Mode Enable bit (REG[A0h] bit 0) to 1.
|
||||
|
||||
uint8_t sed1376Registers[SED1376_REG_SIZE];
|
||||
uint8_t sed1376Framebuffer[SED1376_FB_SIZE];
|
||||
|
||||
|
||||
unsigned int sed1376GetRegister(unsigned int address){
|
||||
printf("SED1376 Register Read from 0x%02X.\n", address);
|
||||
return sed1376Registers[address];
|
||||
}
|
||||
|
||||
void sed1376SetRegister(unsigned int address, unsigned int value){
|
||||
printf("SED1376 Register write 0x%02X to 0x%02X.\n", value, address);
|
||||
sed1376Registers[address] = value;
|
||||
}
|
||||
|
||||
|
||||
void sed1376Reset(){
|
||||
memset(sed1376Registers, 0x00, SED1376_REG_SIZE);
|
||||
memset(sed1376Framebuffer, 0x00, SED1376_FB_SIZE);
|
||||
|
||||
sed1376Registers[0x00] = 0x28;//revision code
|
||||
sed1376Registers[0x01] = 0x14;//display buffer size
|
||||
|
||||
}
|
||||
|
||||
void sed1376Render(){
|
||||
//only render if lcd on and backlight on
|
||||
if(0){
|
||||
|
||||
}
|
||||
}
|
||||
13
src/sed1376.h
Normal file
13
src/sed1376.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern uint8_t sed1376Registers[];
|
||||
extern uint8_t sed1376Framebuffer[];
|
||||
|
||||
unsigned int sed1376GetRegister(unsigned int address);
|
||||
void sed1376SetRegister(unsigned int address, unsigned int value);
|
||||
|
||||
void sed1376Reset();
|
||||
|
||||
void sed1376Render();
|
||||
992
src/silkscreen.c
Normal file
992
src/silkscreen.c
Normal file
@@ -0,0 +1,992 @@
|
||||
unsigned char silkscreenData[160 * 60 * 2 + 1] = {
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\377\377"
|
||||
"\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377"
|
||||
"\377\377\377\377\377\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377"
|
||||
"\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\377\377\377\377\377\377\0\0\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0\377\377\377"
|
||||
"\377\377\377\0\0\0\0\377\377\0\0\0\0\377\377\377\377\377\377\377\377\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\377\377\0\0\0\0\377\377\377"
|
||||
"\377\377\377\0\0\0\0\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\0\0\377\377\377\377\377\377\377\377"
|
||||
"\0\0\377\377\377\377\377\377\0\0\377\377\377\377\377\377\0\0\377\377\377"
|
||||
"\377\0\0\0\0\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377"
|
||||
"\377\377\377\377\377\377\0\0\0\0\0\0\377\377\377\377\377\377\0\0\0\0\0\0"
|
||||
"\377\377\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\377\377\0\0"
|
||||
"\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0"
|
||||
"\0\0\0\0\377\377\0\0\0\0\0\0\377\377\377\377\377\377\0\0\0\0\377\377\0\0"
|
||||
"\0\0\377\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377"
|
||||
"\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\377\377"
|
||||
"\377\377\377\377\377\377\0\0\0\0\377\377\377\377\0\0\377\377\0\0\0\0\0\0"
|
||||
"\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\377\377\377\377\377\377\377\377\377\377\0\0\0\0\377\377\0\0\377"
|
||||
"\377\0\0\377\377\377\377\377\377\0\0\0\0\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\377\377\377\377\377\377"
|
||||
"\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377"
|
||||
"\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0"
|
||||
"\0\0\377\377\377\377\0\0\377\377\377\377\377\377\0\0\377\377\0\0\0\0\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0"
|
||||
"\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\377\377\377\377\377\377\0\0\377\377\0\0\377\377\0\0\377\377\0\0"
|
||||
"\0\0\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0"
|
||||
"\0\0\0\0\0\0\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\0\0\377\377\0\0"
|
||||
"\377\377\377\377\377\377\0\0\377\377\377\377\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\0\0\0\0\0\0\377"
|
||||
"\377\377\377\0\0\377\377\377\377\0\0\0\0\377\377\377\377\377\377\0\0\377"
|
||||
"\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377"
|
||||
"\377\377\377\377\0\0\0\0\0\0\377\377\0\0\0\0\0\0\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\0\0\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\377\377\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\0\0\377\377\377\377\0\0"
|
||||
"\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\0\0\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377"
|
||||
"\377\377\377\0\0\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\0\0\0\0\0\0\377\377\377\377\0\0\0\0"
|
||||
"\377\377\377\377\377\377\0\0\0\0\377\377\377\377\0\0\0\0\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\0\0\0\0\377\377\377"
|
||||
"\377\377\377\377\377\0\0\0\0\0\0\377\377\377\377\0\0\377\377\0\0\0\0\0\0"
|
||||
"\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\0\0\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\377\377\0\0\377\377\0\0\0\0\377\377"
|
||||
"\0\0\0\0\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377"
|
||||
"\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377"
|
||||
"\0\0\377\377\377\377\377\377\377\377\0\0\0\0\377\377\0\0\0\0\0\0\0\0\377"
|
||||
"\377\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\0\0\377\377\377\377\0\0\0\0"
|
||||
"\0\0\0\0\377\377\0\0\0\0\0\0\377\377\377\377\377\377\0\0\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\377\377\0\0\0\0\377\377\377\377\0\0\0\0\377\377\377\377\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\0\0\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\0\0\377\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\0\0\0\0\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377"
|
||||
"\0\0\0\0\0\0\0\0\0\0\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\0\0\0\0\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\377\377\0\0\0\0\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377"
|
||||
"\377\377\377\377\377\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\377\377\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0"
|
||||
"\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\377\377\377\377\377\377"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377"
|
||||
"\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\377\377\377\377"
|
||||
"\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377"
|
||||
"\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\0"
|
||||
"\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\0\0\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\0\0\0\0\0\0\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
"\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
|
||||
"\377\377\377\377\377\377\377\377\377\377\377\377\377",
|
||||
};
|
||||
|
||||
7
src/silkscreen.h
Normal file
7
src/silkscreen.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#define SILKSCREEN_WIDTH 160
|
||||
#define SILKSCREEN_HEIGHT 60
|
||||
#define SILKSCREEN_BPP 16
|
||||
|
||||
extern unsigned char silkscreenData[];
|
||||
454
tests/HwRegTest1.txt
Normal file
454
tests/HwRegTest1.txt
Normal file
@@ -0,0 +1,454 @@
|
||||
Boot ProgramCounter is:0x100002A2
|
||||
Cpu Read 16 bits from 0xFFFFF200.
|
||||
Cpu Wrote 16 bits of 0x0000AAAA to 0xFFFFF200.
|
||||
Cpu Wrote 8 bits of 0x00000061 to 0xFFFFF42B.
|
||||
Cpu Wrote 16 bits of 0x00000000 to 0xFFFFF302.
|
||||
Cpu Wrote 8 bits of 0xFFFFFFFF to 0xFFFFF30C.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to 0xFFFFF304.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to 0xFFFFF306.
|
||||
Cpu Wrote 16 bits of 0x00000000 to 0xFFFFFB0A.
|
||||
Cpu Wrote 8 bits of 0x00000060 to 0xFFFFF40B.
|
||||
Cpu Wrote 8 bits of 0x00000020 to 0xFFFFF409.
|
||||
Cpu Wrote 8 bits of 0x00000060 to 0xFFFFF408.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFF40A.
|
||||
Cpu Wrote 8 bits of 0x000000FF to 0xFFFFF413.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFF410.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFF411.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFF412.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFF41B.
|
||||
Cpu Wrote 8 bits of 0x0000000F to 0xFFFFF41C.
|
||||
Cpu Wrote 8 bits of 0x000000F0 to 0xFFFFF419.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFF418.
|
||||
Cpu Wrote 8 bits of 0x000000FF to 0xFFFFF41A.
|
||||
Cpu Wrote 8 bits of 0x0000000F to 0xFFFFF41D.
|
||||
Cpu Wrote 8 bits of 0x0000000F to 0xFFFFF41F.
|
||||
Cpu Wrote 8 bits of 0x0000000F to 0xFFFFF419.
|
||||
Cpu Wrote 16 bits of 0x00000F00 to 0xFFFFF30E.
|
||||
Cpu Wrote 8 bits of 0x0000000F to 0xFFFFF41E.
|
||||
Cpu Wrote 8 bits of 0x00000008 to 0xFFFFF421.
|
||||
Cpu Wrote 8 bits of 0x00000088 to 0xFFFFF420.
|
||||
Cpu Wrote 8 bits of 0x000000C8 to 0xFFFFF423.
|
||||
Cpu Wrote 8 bits of 0x00000040 to 0xFFFFF422.
|
||||
Cpu Wrote 8 bits of 0x000000E1 to 0xFFFFF42B.
|
||||
Cpu Wrote 8 bits of 0x00000002 to 0xFFFFF429.
|
||||
Cpu Wrote 8 bits of 0x00000020 to 0xFFFFF428.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFF42A.
|
||||
Cpu Wrote 8 bits of 0x0000002E to 0xFFFFF433.
|
||||
Cpu Wrote 8 bits of 0x0000002C to 0xFFFFF430.
|
||||
Cpu Wrote 8 bits of 0x00000004 to 0xFFFFF431.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFF432.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFF439.
|
||||
Cpu Wrote 8 bits of 0x0000000F to 0xFFFFF43B.
|
||||
Cpu Wrote 8 bits of 0x0000000F to 0xFFFFF438.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFF43A.
|
||||
Cpu Wrote 8 bits of 0x00000008 to 0xFFFFF441.
|
||||
Cpu Wrote 8 bits of 0x000000FF to 0xFFFFF443.
|
||||
Cpu Wrote 8 bits of 0x00000006 to 0xFFFFF442.
|
||||
Cpu Wrote 8 bits of 0x000000F9 to 0xFFFFF440.
|
||||
Cpu Wrote 8 bits of 0x00000020 to 0xFFFFF44B.
|
||||
Cpu Wrote 8 bits of 0x00000020 to 0xFFFFF448.
|
||||
Cpu Wrote 8 bits of 0x00000020 to 0xFFFFF449.
|
||||
Cpu Wrote 8 bits of 0x00000020 to 0xFFFFF44A.
|
||||
Cpu Wrote 8 bits of 0x00000000 to 0xFFFFFA27.
|
||||
Cpu Wrote 16 bits of 0x00000000 to 0xFFFFF600.
|
||||
Cpu Wrote 8 bits of 0x000000F8 to 0xFFFFF000.
|
||||
Cpu Wrote 16 bits of 0x00008000 to 0xFFFFF100.
|
||||
Cpu Wrote 16 bits of 0x000001AB to 0xFFFFF110.
|
||||
Cpu Wrote 16 bits of 0x0000FFC0 to 0xFFFFF102.
|
||||
Cpu Wrote 16 bits of 0x000001F3 to 0xFFFFF112.
|
||||
Cpu Wrote 16 bits of 0x00008200 to 0xFFFFF104.
|
||||
Cpu Wrote 16 bits of 0x00000101 to 0xFFFFF114.
|
||||
Cpu Wrote 16 bits of 0x00000000 to 0xFFFFF106.
|
||||
Cpu Wrote 16 bits of 0x00001E83 to 0xFFFFF116.
|
||||
Cpu Wrote 16 bits of 0x00000040 to 0xFFFFF10A.
|
||||
Cpu Wrote 16 bits of 0x00000000 to 0xFFFFFC02.
|
||||
Cpu Wrote 16 bits of 0x0000C03F to 0xFFFFFC04.
|
||||
Cpu Wrote 16 bits of 0x00004020 to 0xFFFFFC00.
|
||||
Cpu Wrote 16 bits of 0x00008000 to 0xFFFFFC02.
|
||||
Cpu Wrote 16 bits of 0x0000C83F to 0xFFFFFC04.
|
||||
Cpu Wrote 16 bits of 0x0000D03F to 0xFFFFFC04.
|
||||
Cpu Wrote 16 bits of 0x0000D43F to 0xFFFFFC04.
|
||||
Cpu Wrote 16 bits of 0x00001A81 to 0xFFFFF116.
|
||||
Cpu Wrote 16 bits of 0x00000000 to 0xFFFFFC02.
|
||||
Cpu Wrote 16 bits of 0x0000C017 to 0xFFFFFC04.
|
||||
Cpu Wrote 16 bits of 0x00008000 to 0xFFFFFC02.
|
||||
Cpu Wrote 16 bits of 0x0000C817 to 0xFFFFFC04.
|
||||
Cpu Wrote 16 bits of 0x0000D017 to 0xFFFFFC04.
|
||||
Cpu Wrote 16 bits of 0x0000D417 to 0xFFFFFC04.
|
||||
Cpu Read 16 bits from 0xFFFFF310.
|
||||
Cpu Wrote 8 bits of 0x00000018 to 0xFFFFF300.
|
||||
Cpu Read 8 bits from 0xFFFFF418.
|
||||
Cpu Wrote 8 bits of 0x000000AA to 0xFFFFF418.
|
||||
Cpu Read 8 bits from 0xFFFFF41A.
|
||||
Cpu Wrote 8 bits of 0x000000AB to 0xFFFFF41A.
|
||||
Cpu Wrote 8 bits of 0x00000001 to 0xFFFFF41E.
|
||||
Cpu Read 8 bits from 0xFFFFF440.
|
||||
Cpu Wrote 8 bits of 0x000000EA to 0xFFFFF440.
|
||||
Cpu Read 8 bits from 0xFFFFF442.
|
||||
Cpu Wrote 8 bits of 0x0000000A to 0xFFFFF442.
|
||||
Cpu Read 8 bits from 0xFFFFF443.
|
||||
Cpu Wrote 8 bits of 0x000000EA to 0xFFFFF443.
|
||||
Cpu Read 8 bits from 0xFFFFF441.
|
||||
Cpu Wrote 8 bits of 0x0000002A to 0xFFFFF441.
|
||||
Cpu Read 8 bits from 0xFFFFF441.
|
||||
Cpu Wrote 8 bits of 0x000000EA to 0xFFFFF441.
|
||||
Cpu Read 16 bits from 0xFFFFF200.
|
||||
Cpu Wrote 16 bits of 0x0000A9AA to 0xFFFFF200.
|
||||
Cpu Read 16 bits from 0xFFFFF306.
|
||||
Cpu Wrote 16 bits of 0x0000AAAA to 0xFFFFF306.
|
||||
Cpu Read 16 bits from 0xFFFFFC02.
|
||||
Cpu Wrote 16 bits of 0x0000EABA to 0xFFFFFC02.
|
||||
Cpu Read 16 bits from 0xFFFFF202.
|
||||
Cpu Read 16 bits from 0xFFFFF200.
|
||||
Cpu Wrote 16 bits of 0x0000AAAA to 0xFFFFF200.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
Ran frame, executed 550000 cycles.
|
||||
209
tests/HwRegTest10.txt
Normal file
209
tests/HwRegTest10.txt
Normal file
@@ -0,0 +1,209 @@
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0409.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x0408.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0410.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0411.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041C.
|
||||
Cpu Wrote 8 bits of 0x000000F0 to register 0x0419.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0418.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041D.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041F.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0419.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041E.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0421.
|
||||
Cpu Wrote 8 bits of 0x00000088 to register 0x0420.
|
||||
Cpu Wrote 8 bits of 0x00000002 to register 0x0429.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0428.
|
||||
Cpu Wrote 8 bits of 0x0000002C to register 0x0430.
|
||||
Cpu Wrote 8 bits of 0x00000004 to register 0x0431.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0439.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0438.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0441.
|
||||
Cpu Wrote 8 bits of 0x000000F9 to register 0x0440.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0448.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0449.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0A27.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0600.
|
||||
Cpu Wrote 8 bits of 0x000000F8 to register 0x0000.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0100.
|
||||
Cpu Wrote 16 bits of 0x000001AB to register 0x0110.
|
||||
Cpu Wrote 16 bits of 0x0000FFC0 to register 0x0102.
|
||||
Cpu Wrote 16 bits of 0x000001F3 to register 0x0112.
|
||||
Cpu Wrote 16 bits of 0x00008200 to register 0x0104.
|
||||
Cpu Wrote 16 bits of 0x00000101 to register 0x0114.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0106.
|
||||
Cpu Wrote 16 bits of 0x00001E83 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000040 to register 0x010A.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00004020 to register 0x0C00.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00001A81 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Read 16 bits from register 0x0310.
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
Ran frame, executed 553603 cycles.
|
||||
Ran frame, executed 553469 cycles.
|
||||
Ran frame, executed 553335 cycles.
|
||||
Ran frame, executed 553201 cycles.
|
||||
Ran frame, executed 553067 cycles.
|
||||
Ran frame, executed 552933 cycles.
|
||||
Ran frame, executed 552799 cycles.
|
||||
Ran frame, executed 553677 cycles.
|
||||
Ran frame, executed 553543 cycles.
|
||||
Ran frame, executed 553409 cycles.
|
||||
Ran frame, executed 553275 cycles.
|
||||
Ran frame, executed 553141 cycles.
|
||||
Ran frame, executed 553007 cycles.
|
||||
Ran frame, executed 552873 cycles.
|
||||
Ran frame, executed 552739 cycles.
|
||||
Ran frame, executed 553617 cycles.
|
||||
Ran frame, executed 553483 cycles.
|
||||
Ran frame, executed 553349 cycles.
|
||||
Ran frame, executed 553215 cycles.
|
||||
Ran frame, executed 553081 cycles.
|
||||
Ran frame, executed 552947 cycles.
|
||||
Ran frame, executed 552813 cycles.
|
||||
Ran frame, executed 553691 cycles.
|
||||
Ran frame, executed 553557 cycles.
|
||||
Ran frame, executed 553423 cycles.
|
||||
Ran frame, executed 553289 cycles.
|
||||
Ran frame, executed 553155 cycles.
|
||||
Ran frame, executed 553021 cycles.
|
||||
Ran frame, executed 552887 cycles.
|
||||
Ran frame, executed 552753 cycles.
|
||||
Ran frame, executed 553631 cycles.
|
||||
Ran frame, executed 553497 cycles.
|
||||
Ran frame, executed 553363 cycles.
|
||||
Ran frame, executed 553229 cycles.
|
||||
Ran frame, executed 553095 cycles.
|
||||
Ran frame, executed 552961 cycles.
|
||||
Ran frame, executed 552827 cycles.
|
||||
Ran frame, executed 552693 cycles.
|
||||
Ran frame, executed 553571 cycles.
|
||||
Ran frame, executed 553437 cycles.
|
||||
Ran frame, executed 553303 cycles.
|
||||
Ran frame, executed 553169 cycles.
|
||||
Ran frame, executed 553035 cycles.
|
||||
Ran frame, executed 552901 cycles.
|
||||
Ran frame, executed 552767 cycles.
|
||||
Ran frame, executed 553645 cycles.
|
||||
Ran frame, executed 553511 cycles.
|
||||
Ran frame, executed 553377 cycles.
|
||||
Ran frame, executed 553243 cycles.
|
||||
Ran frame, executed 553109 cycles.
|
||||
Ran frame, executed 552975 cycles.
|
||||
Ran frame, executed 552841 cycles.
|
||||
Ran frame, executed 552707 cycles.
|
||||
Ran frame, executed 553585 cycles.
|
||||
Ran frame, executed 553451 cycles.
|
||||
Ran frame, executed 553317 cycles.
|
||||
Ran frame, executed 553183 cycles.
|
||||
Ran frame, executed 553049 cycles.
|
||||
Ran frame, executed 552915 cycles.
|
||||
Ran frame, executed 552781 cycles.
|
||||
Ran frame, executed 553659 cycles.
|
||||
Ran frame, executed 553525 cycles.
|
||||
Ran frame, executed 553391 cycles.
|
||||
Ran frame, executed 553257 cycles.
|
||||
Ran frame, executed 553123 cycles.
|
||||
Ran frame, executed 552989 cycles.
|
||||
Ran frame, executed 552855 cycles.
|
||||
Ran frame, executed 552721 cycles.
|
||||
Ran frame, executed 553599 cycles.
|
||||
Ran frame, executed 553465 cycles.
|
||||
Ran frame, executed 553331 cycles.
|
||||
Ran frame, executed 553197 cycles.
|
||||
Ran frame, executed 553063 cycles.
|
||||
Ran frame, executed 552929 cycles.
|
||||
Ran frame, executed 552795 cycles.
|
||||
Ran frame, executed 553673 cycles.
|
||||
Ran frame, executed 553539 cycles.
|
||||
Ran frame, executed 553405 cycles.
|
||||
Ran frame, executed 553271 cycles.
|
||||
Ran frame, executed 553137 cycles.
|
||||
Ran frame, executed 553003 cycles.
|
||||
Ran frame, executed 552869 cycles.
|
||||
Ran frame, executed 552735 cycles.
|
||||
Ran frame, executed 553613 cycles.
|
||||
Ran frame, executed 553479 cycles.
|
||||
Ran frame, executed 553345 cycles.
|
||||
Ran frame, executed 553211 cycles.
|
||||
Ran frame, executed 553077 cycles.
|
||||
Ran frame, executed 552943 cycles.
|
||||
Ran frame, executed 552809 cycles.
|
||||
Ran frame, executed 553687 cycles.
|
||||
Ran frame, executed 553553 cycles.
|
||||
Ran frame, executed 553419 cycles.
|
||||
Ran frame, executed 553285 cycles.
|
||||
Ran frame, executed 553151 cycles.
|
||||
Ran frame, executed 553017 cycles.
|
||||
Ran frame, executed 552883 cycles.
|
||||
Ran frame, executed 552749 cycles.
|
||||
Ran frame, executed 553627 cycles.
|
||||
Ran frame, executed 553493 cycles.
|
||||
Ran frame, executed 553359 cycles.
|
||||
Ran frame, executed 553225 cycles.
|
||||
Ran frame, executed 553091 cycles.
|
||||
Ran frame, executed 552957 cycles.
|
||||
Ran frame, executed 552823 cycles.
|
||||
Ran frame, executed 552689 cycles.
|
||||
Ran frame, executed 553567 cycles.
|
||||
Ran frame, executed 553433 cycles.
|
||||
Ran frame, executed 553299 cycles.
|
||||
Ran frame, executed 553165 cycles.
|
||||
Ran frame, executed 553031 cycles.
|
||||
Ran frame, executed 552897 cycles.
|
||||
Ran frame, executed 552763 cycles.
|
||||
Ran frame, executed 553641 cycles.
|
||||
Ran frame, executed 553507 cycles.
|
||||
Ran frame, executed 553373 cycles.
|
||||
Ran frame, executed 553239 cycles.
|
||||
Ran frame, executed 553105 cycles.
|
||||
Ran frame, executed 552971 cycles.
|
||||
Ran frame, executed 552837 cycles.
|
||||
Ran frame, executed 552703 cycles.
|
||||
Ran frame, executed 553581 cycles.
|
||||
Ran frame, executed 553447 cycles.
|
||||
Ran frame, executed 553313 cycles.
|
||||
Ran frame, executed 553179 cycles.
|
||||
Ran frame, executed 553045 cycles.
|
||||
Ran frame, executed 552911 cycles.
|
||||
Ran frame, executed 552777 cycles.
|
||||
Ran frame, executed 553655 cycles.
|
||||
Ran frame, executed 553521 cycles.
|
||||
Ran frame, executed 553387 cycles.
|
||||
Ran frame, executed 553253 cycles.
|
||||
Ran frame, executed 553119 cycles.
|
||||
Ran frame, executed 552985 cycles.
|
||||
Ran frame, executed 552851 cycles.
|
||||
Ran frame, executed 552717 cycles.
|
||||
Ran frame, executed 553595 cycles.
|
||||
Ran frame, executed 553461 cycles.
|
||||
Ran frame, executed 553327 cycles.
|
||||
Ran frame, executed 553193 cycles.
|
||||
Ran frame, executed 553059 cycles.
|
||||
Ran frame, executed 552925 cycles.
|
||||
Ran frame, executed 552791 cycles.
|
||||
Ran frame, executed 553669 cycles.
|
||||
Ran frame, executed 553535 cycles.
|
||||
Ran frame, executed 553401 cycles.
|
||||
Ran frame, executed 553267 cycles.
|
||||
Ran frame, executed 553133 cycles.
|
||||
Ran frame, executed 552999 cycles.
|
||||
Ran frame, executed 552865 cycles.
|
||||
Ran frame, executed 552731 cycles.
|
||||
Ran frame, executed 553609 cycles.
|
||||
Ran frame, executed 553475 cycles.
|
||||
Ran frame, executed 553341 cycles.
|
||||
Ran frame, executed 553207 cycles.
|
||||
Ran frame, executed 553073 cycles.
|
||||
Ran frame, executed 552939 cycles.
|
||||
Ran frame, executed 552805 cycles.
|
||||
Ran frame, executed 553683 cycles.
|
||||
Ran frame, executed 553549 cycles.
|
||||
Ran frame, executed 553415 cycles.
|
||||
244
tests/HwRegTest11.txt
Normal file
244
tests/HwRegTest11.txt
Normal file
@@ -0,0 +1,244 @@
|
||||
double accuracy test 32768 == 32768.
|
||||
New CPU frequency of:33161216.000000 cycles per second.
|
||||
New clk32 cycle count of :1012.000000.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0409.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x0408.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0410.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0411.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041C.
|
||||
Cpu Wrote 8 bits of 0x000000F0 to register 0x0419.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0418.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041D.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041F.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0419.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041E.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0421.
|
||||
Cpu Wrote 8 bits of 0x00000088 to register 0x0420.
|
||||
Cpu Wrote 8 bits of 0x00000002 to register 0x0429.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0428.
|
||||
Cpu Wrote 8 bits of 0x0000002C to register 0x0430.
|
||||
Cpu Wrote 8 bits of 0x00000004 to register 0x0431.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0439.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0438.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0441.
|
||||
Cpu Wrote 8 bits of 0x000000F9 to register 0x0440.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0448.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0449.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0A27.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0600.
|
||||
Cpu Wrote 8 bits of 0x000000F8 to register 0x0000.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0100.
|
||||
Cpu Wrote 16 bits of 0x000001AB to register 0x0110.
|
||||
Cpu Wrote 16 bits of 0x0000FFC0 to register 0x0102.
|
||||
Cpu Wrote 16 bits of 0x000001F3 to register 0x0112.
|
||||
Cpu Wrote 16 bits of 0x00008200 to register 0x0104.
|
||||
Cpu Wrote 16 bits of 0x00000101 to register 0x0114.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0106.
|
||||
Cpu Wrote 16 bits of 0x00001E83 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000040 to register 0x010A.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00004020 to register 0x0C00.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00001A81 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Read 16 bits from register 0x0310.
|
||||
New CPU frequency of:33161216.000000 cycles per second.
|
||||
New clk32 cycle count of :1012.000000.
|
||||
New CPU frequency of:33161216.000000 cycles per second.
|
||||
New clk32 cycle count of :1012.000000.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
Ran frame, executed 553603.000000 cycles.
|
||||
Ran frame, executed 553468.066667 cycles.
|
||||
Ran frame, executed 553333.133333 cycles.
|
||||
Ran frame, executed 553198.200000 cycles.
|
||||
Ran frame, executed 553063.266667 cycles.
|
||||
Ran frame, executed 552928.333333 cycles.
|
||||
Ran frame, executed 552793.400000 cycles.
|
||||
Ran frame, executed 553670.466667 cycles.
|
||||
Ran frame, executed 553535.533333 cycles.
|
||||
Ran frame, executed 553400.600000 cycles.
|
||||
Ran frame, executed 553265.666667 cycles.
|
||||
Ran frame, executed 553130.733333 cycles.
|
||||
Ran frame, executed 552995.800000 cycles.
|
||||
Ran frame, executed 552860.866667 cycles.
|
||||
Ran frame, executed 552725.933333 cycles.
|
||||
548
tests/HwRegTest2.txt
Normal file
548
tests/HwRegTest2.txt
Normal file
@@ -0,0 +1,548 @@
|
||||
Cpu Read 16 bits from register 0x0200.
|
||||
Cpu Wrote 16 bits of 0x000024A3 to register 0x0200.
|
||||
Cpu Wrote 8 bits of 0x00000061 to register 0x042B.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0302.
|
||||
Cpu Wrote 32 bits of 0xFFFFFFFF to register 0x030C.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0304.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0306.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0B0A.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x040B.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0409.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x0408.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x040A.
|
||||
Cpu Wrote 8 bits of 0x000000FF to register 0x0413.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0410.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0411.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0412.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x041B.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041C.
|
||||
Cpu Wrote 8 bits of 0x000000F0 to register 0x0419.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0418.
|
||||
Cpu Wrote 8 bits of 0x000000FF to register 0x041A.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041D.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041F.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0419.
|
||||
Cpu Wrote 16 bits of 0x00000F00 to register 0x030E.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041E.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0421.
|
||||
Cpu Wrote 8 bits of 0x00000088 to register 0x0420.
|
||||
Cpu Wrote 8 bits of 0x000000C8 to register 0x0423.
|
||||
Cpu Wrote 8 bits of 0x00000040 to register 0x0422.
|
||||
Cpu Wrote 8 bits of 0x000000E1 to register 0x042B.
|
||||
Cpu Wrote 8 bits of 0x00000002 to register 0x0429.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0428.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x042A.
|
||||
Cpu Wrote 8 bits of 0x0000002E to register 0x0433.
|
||||
Cpu Wrote 8 bits of 0x0000002C to register 0x0430.
|
||||
Cpu Wrote 8 bits of 0x00000004 to register 0x0431.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0432.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0439.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x043B.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0438.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x043A.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0441.
|
||||
Cpu Wrote 8 bits of 0x000000FF to register 0x0443.
|
||||
Cpu Wrote 8 bits of 0x00000006 to register 0x0442.
|
||||
Cpu Wrote 8 bits of 0x000000F9 to register 0x0440.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x044B.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0448.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0449.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x044A.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0A27.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0600.
|
||||
Cpu Wrote 8 bits of 0x000000F8 to register 0x0000.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0100.
|
||||
Cpu Wrote 16 bits of 0x000001AB to register 0x0110.
|
||||
Cpu Wrote 16 bits of 0x0000FFC0 to register 0x0102.
|
||||
Cpu Wrote 16 bits of 0x000001F3 to register 0x0112.
|
||||
Cpu Wrote 16 bits of 0x00008200 to register 0x0104.
|
||||
Cpu Wrote 16 bits of 0x00000101 to register 0x0114.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0106.
|
||||
Cpu Wrote 16 bits of 0x00001E83 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000040 to register 0x010A.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C03F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x00004020 to register 0x0C00.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C83F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D03F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D43F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x00001A81 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C017 to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C817 to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D017 to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D417 to register 0x0C04.
|
||||
Cpu Read 16 bits from register 0x0310.
|
||||
Cpu Read 8 bits from register 0x0423.
|
||||
Cpu Wrote 8 bits of 0x000000C8 to register 0x0423.
|
||||
Cpu Read 8 bits from register 0x042A.
|
||||
Cpu Wrote 8 bits of 0x00000002 to register 0x042A.
|
||||
Cpu Read 8 bits from register 0x042B.
|
||||
Cpu Wrote 8 bits of 0x000000E1 to register 0x042B.
|
||||
Cpu Wrote 16 bits of 0x00000C80 to register 0x0200.
|
||||
New CPU frequency of:66322432 cycles per second.
|
||||
New clk32 cycle count of :2024.
|
||||
Ran frame, executed 1107149 cycles.
|
||||
Ran frame, executed 1106880 cycles.
|
||||
Ran frame, executed 1106611 cycles.
|
||||
Ran frame, executed 1106342 cycles.
|
||||
Ran frame, executed 1106073 cycles.
|
||||
Ran frame, executed 1105804 cycles.
|
||||
Ran frame, executed 1105535 cycles.
|
||||
Ran frame, executed 1107290 cycles.
|
||||
Ran frame, executed 1107021 cycles.
|
||||
Ran frame, executed 1106752 cycles.
|
||||
Ran frame, executed 1106483 cycles.
|
||||
Ran frame, executed 1106214 cycles.
|
||||
Ran frame, executed 1105945 cycles.
|
||||
Ran frame, executed 1105676 cycles.
|
||||
Ran frame, executed 1105407 cycles.
|
||||
Ran frame, executed 1107162 cycles.
|
||||
Ran frame, executed 1106893 cycles.
|
||||
Ran frame, executed 1106624 cycles.
|
||||
Ran frame, executed 1106355 cycles.
|
||||
Ran frame, executed 1106086 cycles.
|
||||
Ran frame, executed 1105817 cycles.
|
||||
Ran frame, executed 1105548 cycles.
|
||||
Ran frame, executed 1107303 cycles.
|
||||
Ran frame, executed 1107034 cycles.
|
||||
Ran frame, executed 1106765 cycles.
|
||||
Ran frame, executed 1106496 cycles.
|
||||
Ran frame, executed 1106227 cycles.
|
||||
Ran frame, executed 1105958 cycles.
|
||||
Ran frame, executed 1105689 cycles.
|
||||
Ran frame, executed 1105420 cycles.
|
||||
Ran frame, executed 1107175 cycles.
|
||||
Ran frame, executed 1106906 cycles.
|
||||
Ran frame, executed 1106637 cycles.
|
||||
Ran frame, executed 1106368 cycles.
|
||||
Ran frame, executed 1106099 cycles.
|
||||
Ran frame, executed 1105830 cycles.
|
||||
Ran frame, executed 1105561 cycles.
|
||||
Ran frame, executed 1107316 cycles.
|
||||
Ran frame, executed 1107047 cycles.
|
||||
Ran frame, executed 1106778 cycles.
|
||||
Ran frame, executed 1106509 cycles.
|
||||
Ran frame, executed 1106240 cycles.
|
||||
Ran frame, executed 1105971 cycles.
|
||||
Ran frame, executed 1105702 cycles.
|
||||
Ran frame, executed 1105433 cycles.
|
||||
Ran frame, executed 1107188 cycles.
|
||||
Ran frame, executed 1106919 cycles.
|
||||
Ran frame, executed 1106650 cycles.
|
||||
Ran frame, executed 1106381 cycles.
|
||||
Ran frame, executed 1106112 cycles.
|
||||
Ran frame, executed 1105843 cycles.
|
||||
Ran frame, executed 1105574 cycles.
|
||||
Ran frame, executed 1107329 cycles.
|
||||
Ran frame, executed 1107060 cycles.
|
||||
Ran frame, executed 1106791 cycles.
|
||||
Ran frame, executed 1106522 cycles.
|
||||
Ran frame, executed 1106253 cycles.
|
||||
Ran frame, executed 1105984 cycles.
|
||||
Ran frame, executed 1105715 cycles.
|
||||
Ran frame, executed 1105446 cycles.
|
||||
Ran frame, executed 1107201 cycles.
|
||||
Ran frame, executed 1106932 cycles.
|
||||
Ran frame, executed 1106663 cycles.
|
||||
Ran frame, executed 1106394 cycles.
|
||||
Ran frame, executed 1106125 cycles.
|
||||
Ran frame, executed 1105856 cycles.
|
||||
Ran frame, executed 1105587 cycles.
|
||||
Ran frame, executed 1107342 cycles.
|
||||
Ran frame, executed 1107073 cycles.
|
||||
Ran frame, executed 1106804 cycles.
|
||||
Ran frame, executed 1106535 cycles.
|
||||
Ran frame, executed 1106266 cycles.
|
||||
Ran frame, executed 1105997 cycles.
|
||||
Ran frame, executed 1105728 cycles.
|
||||
Ran frame, executed 1105459 cycles.
|
||||
Ran frame, executed 1107214 cycles.
|
||||
Ran frame, executed 1106945 cycles.
|
||||
Ran frame, executed 1106676 cycles.
|
||||
Ran frame, executed 1106407 cycles.
|
||||
Ran frame, executed 1106138 cycles.
|
||||
Ran frame, executed 1105869 cycles.
|
||||
Ran frame, executed 1105600 cycles.
|
||||
Ran frame, executed 1107355 cycles.
|
||||
Ran frame, executed 1107086 cycles.
|
||||
Ran frame, executed 1106817 cycles.
|
||||
Ran frame, executed 1106548 cycles.
|
||||
Ran frame, executed 1106279 cycles.
|
||||
Ran frame, executed 1106010 cycles.
|
||||
Ran frame, executed 1105741 cycles.
|
||||
Ran frame, executed 1105472 cycles.
|
||||
Ran frame, executed 1107227 cycles.
|
||||
Ran frame, executed 1106958 cycles.
|
||||
Ran frame, executed 1106689 cycles.
|
||||
Ran frame, executed 1106420 cycles.
|
||||
Ran frame, executed 1106151 cycles.
|
||||
Ran frame, executed 1105882 cycles.
|
||||
Ran frame, executed 1105613 cycles.
|
||||
Ran frame, executed 1107368 cycles.
|
||||
Ran frame, executed 1107099 cycles.
|
||||
Ran frame, executed 1106830 cycles.
|
||||
Ran frame, executed 1106561 cycles.
|
||||
Ran frame, executed 1106292 cycles.
|
||||
Ran frame, executed 1106023 cycles.
|
||||
Ran frame, executed 1105754 cycles.
|
||||
Ran frame, executed 1105485 cycles.
|
||||
Ran frame, executed 1107240 cycles.
|
||||
Ran frame, executed 1106971 cycles.
|
||||
Ran frame, executed 1106702 cycles.
|
||||
Ran frame, executed 1106433 cycles.
|
||||
Ran frame, executed 1106164 cycles.
|
||||
Ran frame, executed 1105895 cycles.
|
||||
Ran frame, executed 1105626 cycles.
|
||||
Ran frame, executed 1107381 cycles.
|
||||
Ran frame, executed 1107112 cycles.
|
||||
Ran frame, executed 1106843 cycles.
|
||||
Tried to write 16 bits to ROM at 0x10002B04 with value of 0x0008.
|
||||
Ran frame, executed 1106575 cycles.
|
||||
Ran frame, executed 1106306 cycles.
|
||||
Ran frame, executed 1106037 cycles.
|
||||
Ran frame, executed 1105768 cycles.
|
||||
Ran frame, executed 1105499 cycles.
|
||||
Ran frame, executed 1107254 cycles.
|
||||
Ran frame, executed 1106985 cycles.
|
||||
Ran frame, executed 1106716 cycles.
|
||||
Ran frame, executed 1106447 cycles.
|
||||
Ran frame, executed 1106178 cycles.
|
||||
Ran frame, executed 1105909 cycles.
|
||||
Ran frame, executed 1105640 cycles.
|
||||
Ran frame, executed 1107395 cycles.
|
||||
Ran frame, executed 1107126 cycles.
|
||||
Ran frame, executed 1106857 cycles.
|
||||
Ran frame, executed 1106588 cycles.
|
||||
Ran frame, executed 1106319 cycles.
|
||||
Ran frame, executed 1106050 cycles.
|
||||
Ran frame, executed 1105781 cycles.
|
||||
Ran frame, executed 1105512 cycles.
|
||||
Ran frame, executed 1107267 cycles.
|
||||
Ran frame, executed 1106998 cycles.
|
||||
Ran frame, executed 1106729 cycles.
|
||||
Ran frame, executed 1106460 cycles.
|
||||
Ran frame, executed 1106191 cycles.
|
||||
Ran frame, executed 1105922 cycles.
|
||||
Ran frame, executed 1105653 cycles.
|
||||
Ran frame, executed 1105384 cycles.
|
||||
Ran frame, executed 1107139 cycles.
|
||||
Ran frame, executed 1106870 cycles.
|
||||
Ran frame, executed 1106601 cycles.
|
||||
Ran frame, executed 1106332 cycles.
|
||||
Ran frame, executed 1106063 cycles.
|
||||
Ran frame, executed 1105794 cycles.
|
||||
Ran frame, executed 1105525 cycles.
|
||||
Ran frame, executed 1107280 cycles.
|
||||
Ran frame, executed 1107011 cycles.
|
||||
Ran frame, executed 1106742 cycles.
|
||||
Ran frame, executed 1106473 cycles.
|
||||
Ran frame, executed 1106204 cycles.
|
||||
Ran frame, executed 1105935 cycles.
|
||||
Ran frame, executed 1105666 cycles.
|
||||
Ran frame, executed 1105397 cycles.
|
||||
Ran frame, executed 1107152 cycles.
|
||||
Ran frame, executed 1106883 cycles.
|
||||
Ran frame, executed 1106614 cycles.
|
||||
Ran frame, executed 1106345 cycles.
|
||||
Ran frame, executed 1106076 cycles.
|
||||
Ran frame, executed 1105807 cycles.
|
||||
Ran frame, executed 1105538 cycles.
|
||||
Ran frame, executed 1107293 cycles.
|
||||
Ran frame, executed 1107024 cycles.
|
||||
Ran frame, executed 1106755 cycles.
|
||||
Ran frame, executed 1106486 cycles.
|
||||
Ran frame, executed 1106217 cycles.
|
||||
Ran frame, executed 1105948 cycles.
|
||||
Ran frame, executed 1105679 cycles.
|
||||
Ran frame, executed 1105410 cycles.
|
||||
Ran frame, executed 1107165 cycles.
|
||||
Ran frame, executed 1106896 cycles.
|
||||
Ran frame, executed 1106627 cycles.
|
||||
Ran frame, executed 1106358 cycles.
|
||||
Ran frame, executed 1106089 cycles.
|
||||
Ran frame, executed 1105820 cycles.
|
||||
Ran frame, executed 1105551 cycles.
|
||||
Ran frame, executed 1107306 cycles.
|
||||
Ran frame, executed 1107037 cycles.
|
||||
Ran frame, executed 1106768 cycles.
|
||||
Ran frame, executed 1106499 cycles.
|
||||
Ran frame, executed 1106230 cycles.
|
||||
Ran frame, executed 1105961 cycles.
|
||||
Ran frame, executed 1105692 cycles.
|
||||
Ran frame, executed 1105423 cycles.
|
||||
Ran frame, executed 1107178 cycles.
|
||||
Ran frame, executed 1106909 cycles.
|
||||
Ran frame, executed 1106640 cycles.
|
||||
Ran frame, executed 1106371 cycles.
|
||||
Ran frame, executed 1106102 cycles.
|
||||
Ran frame, executed 1105833 cycles.
|
||||
Ran frame, executed 1105564 cycles.
|
||||
Ran frame, executed 1107319 cycles.
|
||||
Ran frame, executed 1107050 cycles.
|
||||
Ran frame, executed 1106781 cycles.
|
||||
Ran frame, executed 1106512 cycles.
|
||||
Ran frame, executed 1106243 cycles.
|
||||
Ran frame, executed 1105974 cycles.
|
||||
Ran frame, executed 1105705 cycles.
|
||||
Ran frame, executed 1105436 cycles.
|
||||
Ran frame, executed 1107191 cycles.
|
||||
Ran frame, executed 1106922 cycles.
|
||||
Ran frame, executed 1106653 cycles.
|
||||
Ran frame, executed 1106384 cycles.
|
||||
Ran frame, executed 1106115 cycles.
|
||||
Ran frame, executed 1105846 cycles.
|
||||
Ran frame, executed 1105577 cycles.
|
||||
Ran frame, executed 1107332 cycles.
|
||||
Ran frame, executed 1107063 cycles.
|
||||
Ran frame, executed 1106794 cycles.
|
||||
Ran frame, executed 1106525 cycles.
|
||||
Ran frame, executed 1106256 cycles.
|
||||
Ran frame, executed 1105987 cycles.
|
||||
Ran frame, executed 1105718 cycles.
|
||||
Ran frame, executed 1105449 cycles.
|
||||
Ran frame, executed 1107204 cycles.
|
||||
Ran frame, executed 1106935 cycles.
|
||||
Ran frame, executed 1106666 cycles.
|
||||
Ran frame, executed 1106397 cycles.
|
||||
Ran frame, executed 1106128 cycles.
|
||||
Ran frame, executed 1105859 cycles.
|
||||
Ran frame, executed 1105590 cycles.
|
||||
Ran frame, executed 1107345 cycles.
|
||||
Ran frame, executed 1107076 cycles.
|
||||
Ran frame, executed 1106807 cycles.
|
||||
Ran frame, executed 1106538 cycles.
|
||||
Ran frame, executed 1106269 cycles.
|
||||
Ran frame, executed 1106000 cycles.
|
||||
Ran frame, executed 1105731 cycles.
|
||||
Ran frame, executed 1105462 cycles.
|
||||
Ran frame, executed 1107217 cycles.
|
||||
Ran frame, executed 1106948 cycles.
|
||||
Ran frame, executed 1106679 cycles.
|
||||
Ran frame, executed 1106410 cycles.
|
||||
Ran frame, executed 1106141 cycles.
|
||||
Ran frame, executed 1105872 cycles.
|
||||
Ran frame, executed 1105603 cycles.
|
||||
Ran frame, executed 1107358 cycles.
|
||||
Ran frame, executed 1107089 cycles.
|
||||
Ran frame, executed 1106820 cycles.
|
||||
Ran frame, executed 1106551 cycles.
|
||||
Ran frame, executed 1106282 cycles.
|
||||
Ran frame, executed 1106013 cycles.
|
||||
Ran frame, executed 1105744 cycles.
|
||||
Ran frame, executed 1105475 cycles.
|
||||
Ran frame, executed 1107230 cycles.
|
||||
Ran frame, executed 1106961 cycles.
|
||||
Ran frame, executed 1106692 cycles.
|
||||
Ran frame, executed 1106423 cycles.
|
||||
Ran frame, executed 1106154 cycles.
|
||||
Ran frame, executed 1105885 cycles.
|
||||
Ran frame, executed 1105616 cycles.
|
||||
Ran frame, executed 1107371 cycles.
|
||||
Ran frame, executed 1107102 cycles.
|
||||
Ran frame, executed 1106833 cycles.
|
||||
Ran frame, executed 1106564 cycles.
|
||||
Ran frame, executed 1106295 cycles.
|
||||
Ran frame, executed 1106026 cycles.
|
||||
Ran frame, executed 1105757 cycles.
|
||||
Ran frame, executed 1105488 cycles.
|
||||
Ran frame, executed 1107243 cycles.
|
||||
Ran frame, executed 1106974 cycles.
|
||||
Ran frame, executed 1106705 cycles.
|
||||
Ran frame, executed 1106436 cycles.
|
||||
Ran frame, executed 1106167 cycles.
|
||||
Ran frame, executed 1105898 cycles.
|
||||
Ran frame, executed 1105629 cycles.
|
||||
Ran frame, executed 1107384 cycles.
|
||||
Ran frame, executed 1107115 cycles.
|
||||
Ran frame, executed 1106846 cycles.
|
||||
Ran frame, executed 1106577 cycles.
|
||||
Ran frame, executed 1106308 cycles.
|
||||
Ran frame, executed 1106039 cycles.
|
||||
Ran frame, executed 1105770 cycles.
|
||||
Ran frame, executed 1105501 cycles.
|
||||
Ran frame, executed 1107256 cycles.
|
||||
Ran frame, executed 1106987 cycles.
|
||||
Ran frame, executed 1106718 cycles.
|
||||
Ran frame, executed 1106449 cycles.
|
||||
Ran frame, executed 1106180 cycles.
|
||||
Ran frame, executed 1105911 cycles.
|
||||
Ran frame, executed 1105642 cycles.
|
||||
Ran frame, executed 1105373 cycles.
|
||||
Ran frame, executed 1107128 cycles.
|
||||
Ran frame, executed 1106859 cycles.
|
||||
Ran frame, executed 1106590 cycles.
|
||||
Ran frame, executed 1106321 cycles.
|
||||
Ran frame, executed 1106052 cycles.
|
||||
Ran frame, executed 1105783 cycles.
|
||||
Ran frame, executed 1105514 cycles.
|
||||
Ran frame, executed 1107269 cycles.
|
||||
Ran frame, executed 1107000 cycles.
|
||||
Ran frame, executed 1106731 cycles.
|
||||
Ran frame, executed 1106462 cycles.
|
||||
Ran frame, executed 1106193 cycles.
|
||||
Ran frame, executed 1105924 cycles.
|
||||
Ran frame, executed 1105655 cycles.
|
||||
Ran frame, executed 1105386 cycles.
|
||||
Ran frame, executed 1107141 cycles.
|
||||
Ran frame, executed 1106872 cycles.
|
||||
Ran frame, executed 1106603 cycles.
|
||||
Ran frame, executed 1106334 cycles.
|
||||
Ran frame, executed 1106065 cycles.
|
||||
Ran frame, executed 1105796 cycles.
|
||||
Ran frame, executed 1105527 cycles.
|
||||
Ran frame, executed 1107282 cycles.
|
||||
Ran frame, executed 1107013 cycles.
|
||||
Ran frame, executed 1106744 cycles.
|
||||
Ran frame, executed 1106475 cycles.
|
||||
Ran frame, executed 1106206 cycles.
|
||||
Ran frame, executed 1105937 cycles.
|
||||
Ran frame, executed 1105668 cycles.
|
||||
Ran frame, executed 1105399 cycles.
|
||||
Ran frame, executed 1107154 cycles.
|
||||
Ran frame, executed 1106885 cycles.
|
||||
Ran frame, executed 1106616 cycles.
|
||||
Ran frame, executed 1106347 cycles.
|
||||
Ran frame, executed 1106078 cycles.
|
||||
Ran frame, executed 1105809 cycles.
|
||||
Ran frame, executed 1105540 cycles.
|
||||
Ran frame, executed 1107295 cycles.
|
||||
Ran frame, executed 1107026 cycles.
|
||||
Ran frame, executed 1106757 cycles.
|
||||
Ran frame, executed 1106488 cycles.
|
||||
Ran frame, executed 1106219 cycles.
|
||||
Ran frame, executed 1105950 cycles.
|
||||
Ran frame, executed 1105681 cycles.
|
||||
Ran frame, executed 1105412 cycles.
|
||||
Ran frame, executed 1107167 cycles.
|
||||
Ran frame, executed 1106898 cycles.
|
||||
Ran frame, executed 1106629 cycles.
|
||||
Ran frame, executed 1106360 cycles.
|
||||
Ran frame, executed 1106091 cycles.
|
||||
Ran frame, executed 1105822 cycles.
|
||||
Ran frame, executed 1105553 cycles.
|
||||
Ran frame, executed 1107308 cycles.
|
||||
Ran frame, executed 1107039 cycles.
|
||||
Ran frame, executed 1106770 cycles.
|
||||
Ran frame, executed 1106501 cycles.
|
||||
Ran frame, executed 1106232 cycles.
|
||||
Ran frame, executed 1105963 cycles.
|
||||
Ran frame, executed 1105694 cycles.
|
||||
Ran frame, executed 1105425 cycles.
|
||||
Ran frame, executed 1107180 cycles.
|
||||
Ran frame, executed 1106911 cycles.
|
||||
Ran frame, executed 1106642 cycles.
|
||||
Ran frame, executed 1106373 cycles.
|
||||
Ran frame, executed 1106104 cycles.
|
||||
Ran frame, executed 1105835 cycles.
|
||||
Ran frame, executed 1105566 cycles.
|
||||
Ran frame, executed 1107321 cycles.
|
||||
Ran frame, executed 1107052 cycles.
|
||||
Ran frame, executed 1106783 cycles.
|
||||
Ran frame, executed 1106514 cycles.
|
||||
Ran frame, executed 1106245 cycles.
|
||||
Ran frame, executed 1105976 cycles.
|
||||
Ran frame, executed 1105707 cycles.
|
||||
Ran frame, executed 1105438 cycles.
|
||||
Ran frame, executed 1107193 cycles.
|
||||
Ran frame, executed 1106924 cycles.
|
||||
Ran frame, executed 1106655 cycles.
|
||||
Ran frame, executed 1106386 cycles.
|
||||
Ran frame, executed 1106117 cycles.
|
||||
Ran frame, executed 1105848 cycles.
|
||||
Ran frame, executed 1105579 cycles.
|
||||
Ran frame, executed 1107334 cycles.
|
||||
Ran frame, executed 1107065 cycles.
|
||||
Ran frame, executed 1106796 cycles.
|
||||
Ran frame, executed 1106527 cycles.
|
||||
Ran frame, executed 1106258 cycles.
|
||||
Ran frame, executed 1105989 cycles.
|
||||
Ran frame, executed 1105720 cycles.
|
||||
Ran frame, executed 1105451 cycles.
|
||||
Ran frame, executed 1107206 cycles.
|
||||
Ran frame, executed 1106937 cycles.
|
||||
Ran frame, executed 1106668 cycles.
|
||||
Ran frame, executed 1106399 cycles.
|
||||
Ran frame, executed 1106130 cycles.
|
||||
Ran frame, executed 1105861 cycles.
|
||||
Ran frame, executed 1105592 cycles.
|
||||
Ran frame, executed 1107347 cycles.
|
||||
Ran frame, executed 1107078 cycles.
|
||||
Ran frame, executed 1106809 cycles.
|
||||
Ran frame, executed 1106540 cycles.
|
||||
Ran frame, executed 1106271 cycles.
|
||||
Ran frame, executed 1106002 cycles.
|
||||
Ran frame, executed 1105733 cycles.
|
||||
Ran frame, executed 1105464 cycles.
|
||||
Ran frame, executed 1107219 cycles.
|
||||
Ran frame, executed 1106950 cycles.
|
||||
Ran frame, executed 1106681 cycles.
|
||||
Ran frame, executed 1106412 cycles.
|
||||
Ran frame, executed 1106143 cycles.
|
||||
Ran frame, executed 1105874 cycles.
|
||||
Ran frame, executed 1105605 cycles.
|
||||
Ran frame, executed 1107360 cycles.
|
||||
Ran frame, executed 1107091 cycles.
|
||||
Ran frame, executed 1106822 cycles.
|
||||
Ran frame, executed 1106553 cycles.
|
||||
Ran frame, executed 1106284 cycles.
|
||||
Ran frame, executed 1106015 cycles.
|
||||
Ran frame, executed 1105746 cycles.
|
||||
Ran frame, executed 1105477 cycles.
|
||||
Ran frame, executed 1107232 cycles.
|
||||
Ran frame, executed 1106963 cycles.
|
||||
Ran frame, executed 1106694 cycles.
|
||||
Ran frame, executed 1106425 cycles.
|
||||
Ran frame, executed 1106156 cycles.
|
||||
Ran frame, executed 1105887 cycles.
|
||||
Ran frame, executed 1105618 cycles.
|
||||
Ran frame, executed 1107373 cycles.
|
||||
Ran frame, executed 1107104 cycles.
|
||||
Ran frame, executed 1106835 cycles.
|
||||
Ran frame, executed 1106566 cycles.
|
||||
Ran frame, executed 1106297 cycles.
|
||||
Ran frame, executed 1106028 cycles.
|
||||
Ran frame, executed 1105759 cycles.
|
||||
Ran frame, executed 1105490 cycles.
|
||||
Ran frame, executed 1107245 cycles.
|
||||
Ran frame, executed 1106976 cycles.
|
||||
Ran frame, executed 1106707 cycles.
|
||||
Ran frame, executed 1106438 cycles.
|
||||
Ran frame, executed 1106169 cycles.
|
||||
Ran frame, executed 1105900 cycles.
|
||||
Ran frame, executed 1105631 cycles.
|
||||
Ran frame, executed 1107386 cycles.
|
||||
Ran frame, executed 1107117 cycles.
|
||||
Ran frame, executed 1106848 cycles.
|
||||
Ran frame, executed 1106579 cycles.
|
||||
Ran frame, executed 1106310 cycles.
|
||||
Ran frame, executed 1106041 cycles.
|
||||
Ran frame, executed 1105772 cycles.
|
||||
Ran frame, executed 1105503 cycles.
|
||||
Ran frame, executed 1107258 cycles.
|
||||
Ran frame, executed 1106989 cycles.
|
||||
Ran frame, executed 1106720 cycles.
|
||||
Ran frame, executed 1106451 cycles.
|
||||
Ran frame, executed 1106182 cycles.
|
||||
Ran frame, executed 1105913 cycles.
|
||||
Ran frame, executed 1105644 cycles.
|
||||
Ran frame, executed 1105375 cycles.
|
||||
Ran frame, executed 1107130 cycles.
|
||||
Ran frame, executed 1106861 cycles.
|
||||
Ran frame, executed 1106592 cycles.
|
||||
Ran frame, executed 1106323 cycles.
|
||||
Ran frame, executed 1106054 cycles.
|
||||
Ran frame, executed 1105785 cycles.
|
||||
Ran frame, executed 1105516 cycles.
|
||||
Ran frame, executed 1107271 cycles.
|
||||
Ran frame, executed 1107002 cycles.
|
||||
Ran frame, executed 1106733 cycles.
|
||||
Ran frame, executed 1106464 cycles.
|
||||
Ran frame, executed 1106195 cycles.
|
||||
Ran frame, executed 1105926 cycles.
|
||||
Ran frame, executed 1105657 cycles.
|
||||
Ran frame, executed 1105388 cycles.
|
||||
Ran frame, executed 1107143 cycles.
|
||||
Ran frame, executed 1106874 cycles.
|
||||
626
tests/HwRegTest3.txt
Normal file
626
tests/HwRegTest3.txt
Normal file
@@ -0,0 +1,626 @@
|
||||
Cpu Read 16 bits from register 0x0200.
|
||||
Cpu Wrote 16 bits of 0x000024A3 to register 0x0200.
|
||||
Cpu Wrote 8 bits of 0x00000061 to register 0x042B.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0302.
|
||||
Cpu Wrote 32 bits of 0xFFFFFFFF to register 0x030C.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0304.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0306.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0B0A.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x040B.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0409.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x0408.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x040A.
|
||||
Cpu Wrote 8 bits of 0x000000FF to register 0x0413.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0410.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0411.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0412.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x041B.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041C.
|
||||
Cpu Wrote 8 bits of 0x000000F0 to register 0x0419.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0418.
|
||||
Cpu Wrote 8 bits of 0x000000FF to register 0x041A.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041D.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041F.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0419.
|
||||
Cpu Wrote 16 bits of 0x00000F00 to register 0x030E.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041E.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0421.
|
||||
Cpu Wrote 8 bits of 0x00000088 to register 0x0420.
|
||||
Cpu Wrote 8 bits of 0x000000C8 to register 0x0423.
|
||||
Cpu Wrote 8 bits of 0x00000040 to register 0x0422.
|
||||
Cpu Wrote 8 bits of 0x000000E1 to register 0x042B.
|
||||
Cpu Wrote 8 bits of 0x00000002 to register 0x0429.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0428.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x042A.
|
||||
Cpu Wrote 8 bits of 0x0000002E to register 0x0433.
|
||||
Cpu Wrote 8 bits of 0x0000002C to register 0x0430.
|
||||
Cpu Wrote 8 bits of 0x00000004 to register 0x0431.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0432.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0439.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x043B.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0438.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x043A.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0441.
|
||||
Cpu Wrote 8 bits of 0x000000FF to register 0x0443.
|
||||
Cpu Wrote 8 bits of 0x00000006 to register 0x0442.
|
||||
Cpu Wrote 8 bits of 0x000000F9 to register 0x0440.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x044B.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0448.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0449.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x044A.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0A27.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0600.
|
||||
Cpu Wrote 8 bits of 0x000000F8 to register 0x0000.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0100.
|
||||
Cpu Wrote 16 bits of 0x000001AB to register 0x0110.
|
||||
Cpu Wrote 16 bits of 0x0000FFC0 to register 0x0102.
|
||||
Cpu Wrote 16 bits of 0x000001F3 to register 0x0112.
|
||||
Cpu Wrote 16 bits of 0x00008200 to register 0x0104.
|
||||
Cpu Wrote 16 bits of 0x00000101 to register 0x0114.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0106.
|
||||
Cpu Wrote 16 bits of 0x00001E83 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000040 to register 0x010A.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C03F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x00004020 to register 0x0C00.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C83F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D03F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D43F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x00001A81 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C017 to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C817 to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D017 to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D417 to register 0x0C04.
|
||||
Cpu Read 16 bits from register 0x0310.
|
||||
Cpu Read 8 bits from register 0x0423.
|
||||
Cpu Wrote 8 bits of 0x000000C8 to register 0x0423.
|
||||
Cpu Read 8 bits from register 0x042A.
|
||||
Cpu Wrote 8 bits of 0x00000002 to register 0x042A.
|
||||
Cpu Read 8 bits from register 0x042B.
|
||||
Cpu Wrote 8 bits of 0x000000E1 to register 0x042B.
|
||||
Cpu Wrote 16 bits of 0x00000C80 to register 0x0200.
|
||||
New CPU frequency of:66322432 cycles per second.
|
||||
New clk32 cycle count of :2024.
|
||||
Ran frame, executed 1107149 cycles.
|
||||
Ran frame, executed 1106880 cycles.
|
||||
Ran frame, executed 1106611 cycles.
|
||||
Ran frame, executed 1106342 cycles.
|
||||
Ran frame, executed 1106073 cycles.
|
||||
Ran frame, executed 1105804 cycles.
|
||||
Ran frame, executed 1105535 cycles.
|
||||
Ran frame, executed 1107290 cycles.
|
||||
Ran frame, executed 1107021 cycles.
|
||||
Ran frame, executed 1106752 cycles.
|
||||
Ran frame, executed 1106483 cycles.
|
||||
Ran frame, executed 1106214 cycles.
|
||||
Ran frame, executed 1105945 cycles.
|
||||
Ran frame, executed 1105676 cycles.
|
||||
Ran frame, executed 1105407 cycles.
|
||||
Ran frame, executed 1107162 cycles.
|
||||
Ran frame, executed 1106893 cycles.
|
||||
Ran frame, executed 1106624 cycles.
|
||||
Ran frame, executed 1106355 cycles.
|
||||
Ran frame, executed 1106086 cycles.
|
||||
Ran frame, executed 1105817 cycles.
|
||||
Ran frame, executed 1105548 cycles.
|
||||
Ran frame, executed 1107303 cycles.
|
||||
Ran frame, executed 1107034 cycles.
|
||||
Ran frame, executed 1106765 cycles.
|
||||
Ran frame, executed 1106496 cycles.
|
||||
Ran frame, executed 1106227 cycles.
|
||||
Ran frame, executed 1105958 cycles.
|
||||
Ran frame, executed 1105689 cycles.
|
||||
Ran frame, executed 1105420 cycles.
|
||||
Ran frame, executed 1107175 cycles.
|
||||
Ran frame, executed 1106906 cycles.
|
||||
Ran frame, executed 1106637 cycles.
|
||||
Ran frame, executed 1106368 cycles.
|
||||
Ran frame, executed 1106099 cycles.
|
||||
Ran frame, executed 1105830 cycles.
|
||||
Ran frame, executed 1105561 cycles.
|
||||
Ran frame, executed 1107316 cycles.
|
||||
Ran frame, executed 1107047 cycles.
|
||||
Ran frame, executed 1106778 cycles.
|
||||
Ran frame, executed 1106509 cycles.
|
||||
Ran frame, executed 1106240 cycles.
|
||||
Ran frame, executed 1105971 cycles.
|
||||
Ran frame, executed 1105702 cycles.
|
||||
Ran frame, executed 1105433 cycles.
|
||||
Ran frame, executed 1107188 cycles.
|
||||
Ran frame, executed 1106919 cycles.
|
||||
Ran frame, executed 1106650 cycles.
|
||||
Ran frame, executed 1106381 cycles.
|
||||
Ran frame, executed 1106112 cycles.
|
||||
Ran frame, executed 1105843 cycles.
|
||||
Ran frame, executed 1105574 cycles.
|
||||
Ran frame, executed 1107329 cycles.
|
||||
Ran frame, executed 1107060 cycles.
|
||||
Ran frame, executed 1106791 cycles.
|
||||
Ran frame, executed 1106522 cycles.
|
||||
Ran frame, executed 1106253 cycles.
|
||||
Ran frame, executed 1105984 cycles.
|
||||
Ran frame, executed 1105715 cycles.
|
||||
Ran frame, executed 1105446 cycles.
|
||||
Ran frame, executed 1107201 cycles.
|
||||
Ran frame, executed 1106932 cycles.
|
||||
Ran frame, executed 1106663 cycles.
|
||||
Ran frame, executed 1106394 cycles.
|
||||
Ran frame, executed 1106125 cycles.
|
||||
Ran frame, executed 1105856 cycles.
|
||||
Ran frame, executed 1105587 cycles.
|
||||
Ran frame, executed 1107342 cycles.
|
||||
Ran frame, executed 1107073 cycles.
|
||||
Ran frame, executed 1106804 cycles.
|
||||
Ran frame, executed 1106535 cycles.
|
||||
Ran frame, executed 1106266 cycles.
|
||||
Ran frame, executed 1105997 cycles.
|
||||
Ran frame, executed 1105728 cycles.
|
||||
Ran frame, executed 1105459 cycles.
|
||||
Ran frame, executed 1107214 cycles.
|
||||
Ran frame, executed 1106945 cycles.
|
||||
Ran frame, executed 1106676 cycles.
|
||||
Ran frame, executed 1106407 cycles.
|
||||
Ran frame, executed 1106138 cycles.
|
||||
Ran frame, executed 1105869 cycles.
|
||||
Ran frame, executed 1105600 cycles.
|
||||
Ran frame, executed 1107355 cycles.
|
||||
Ran frame, executed 1107086 cycles.
|
||||
Ran frame, executed 1106817 cycles.
|
||||
Ran frame, executed 1106548 cycles.
|
||||
Ran frame, executed 1106279 cycles.
|
||||
Ran frame, executed 1106010 cycles.
|
||||
Ran frame, executed 1105741 cycles.
|
||||
Ran frame, executed 1105472 cycles.
|
||||
Ran frame, executed 1107227 cycles.
|
||||
Ran frame, executed 1106958 cycles.
|
||||
Ran frame, executed 1106689 cycles.
|
||||
Ran frame, executed 1106420 cycles.
|
||||
Ran frame, executed 1106151 cycles.
|
||||
Ran frame, executed 1105882 cycles.
|
||||
Ran frame, executed 1105613 cycles.
|
||||
Ran frame, executed 1107368 cycles.
|
||||
Ran frame, executed 1107099 cycles.
|
||||
Ran frame, executed 1106830 cycles.
|
||||
Ran frame, executed 1106561 cycles.
|
||||
Ran frame, executed 1106292 cycles.
|
||||
Ran frame, executed 1106023 cycles.
|
||||
Ran frame, executed 1105754 cycles.
|
||||
Ran frame, executed 1105485 cycles.
|
||||
Ran frame, executed 1107240 cycles.
|
||||
Ran frame, executed 1106971 cycles.
|
||||
Ran frame, executed 1106702 cycles.
|
||||
Ran frame, executed 1106433 cycles.
|
||||
Ran frame, executed 1106164 cycles.
|
||||
Ran frame, executed 1105895 cycles.
|
||||
Ran frame, executed 1105626 cycles.
|
||||
Ran frame, executed 1107381 cycles.
|
||||
Ran frame, executed 1107112 cycles.
|
||||
Ran frame, executed 1106843 cycles.
|
||||
Tried to write 16 bits to ROM at 0x10002B04 with value of 0x0008.
|
||||
Ran frame, executed 1106575 cycles.
|
||||
Ran frame, executed 1106306 cycles.
|
||||
Ran frame, executed 1106037 cycles.
|
||||
Ran frame, executed 1105768 cycles.
|
||||
Ran frame, executed 1105499 cycles.
|
||||
Ran frame, executed 1107254 cycles.
|
||||
Ran frame, executed 1106985 cycles.
|
||||
Ran frame, executed 1106716 cycles.
|
||||
Ran frame, executed 1106447 cycles.
|
||||
Ran frame, executed 1106178 cycles.
|
||||
Ran frame, executed 1105909 cycles.
|
||||
Ran frame, executed 1105640 cycles.
|
||||
Ran frame, executed 1107395 cycles.
|
||||
Ran frame, executed 1107126 cycles.
|
||||
Ran frame, executed 1106857 cycles.
|
||||
Ran frame, executed 1106588 cycles.
|
||||
Ran frame, executed 1106319 cycles.
|
||||
Ran frame, executed 1106050 cycles.
|
||||
Ran frame, executed 1105781 cycles.
|
||||
Ran frame, executed 1105512 cycles.
|
||||
Ran frame, executed 1107267 cycles.
|
||||
Ran frame, executed 1106998 cycles.
|
||||
Ran frame, executed 1106729 cycles.
|
||||
Ran frame, executed 1106460 cycles.
|
||||
Ran frame, executed 1106191 cycles.
|
||||
Ran frame, executed 1105922 cycles.
|
||||
Ran frame, executed 1105653 cycles.
|
||||
Ran frame, executed 1105384 cycles.
|
||||
Ran frame, executed 1107139 cycles.
|
||||
Ran frame, executed 1106870 cycles.
|
||||
Ran frame, executed 1106601 cycles.
|
||||
Ran frame, executed 1106332 cycles.
|
||||
Ran frame, executed 1106063 cycles.
|
||||
Ran frame, executed 1105794 cycles.
|
||||
Ran frame, executed 1105525 cycles.
|
||||
Ran frame, executed 1107280 cycles.
|
||||
Ran frame, executed 1107011 cycles.
|
||||
Ran frame, executed 1106742 cycles.
|
||||
Ran frame, executed 1106473 cycles.
|
||||
Ran frame, executed 1106204 cycles.
|
||||
Ran frame, executed 1105935 cycles.
|
||||
Ran frame, executed 1105666 cycles.
|
||||
Ran frame, executed 1105397 cycles.
|
||||
Ran frame, executed 1107152 cycles.
|
||||
Ran frame, executed 1106883 cycles.
|
||||
Ran frame, executed 1106614 cycles.
|
||||
Ran frame, executed 1106345 cycles.
|
||||
Ran frame, executed 1106076 cycles.
|
||||
Ran frame, executed 1105807 cycles.
|
||||
Ran frame, executed 1105538 cycles.
|
||||
Ran frame, executed 1107293 cycles.
|
||||
Ran frame, executed 1107024 cycles.
|
||||
Ran frame, executed 1106755 cycles.
|
||||
Ran frame, executed 1106486 cycles.
|
||||
Ran frame, executed 1106217 cycles.
|
||||
Ran frame, executed 1105948 cycles.
|
||||
Ran frame, executed 1105679 cycles.
|
||||
Ran frame, executed 1105410 cycles.
|
||||
Ran frame, executed 1107165 cycles.
|
||||
Ran frame, executed 1106896 cycles.
|
||||
Ran frame, executed 1106627 cycles.
|
||||
Ran frame, executed 1106358 cycles.
|
||||
Ran frame, executed 1106089 cycles.
|
||||
Ran frame, executed 1105820 cycles.
|
||||
Ran frame, executed 1105551 cycles.
|
||||
Ran frame, executed 1107306 cycles.
|
||||
Ran frame, executed 1107037 cycles.
|
||||
Ran frame, executed 1106768 cycles.
|
||||
Ran frame, executed 1106499 cycles.
|
||||
Ran frame, executed 1106230 cycles.
|
||||
Ran frame, executed 1105961 cycles.
|
||||
Ran frame, executed 1105692 cycles.
|
||||
Ran frame, executed 1105423 cycles.
|
||||
Ran frame, executed 1107178 cycles.
|
||||
Ran frame, executed 1106909 cycles.
|
||||
Ran frame, executed 1106640 cycles.
|
||||
Ran frame, executed 1106371 cycles.
|
||||
Ran frame, executed 1106102 cycles.
|
||||
Ran frame, executed 1105833 cycles.
|
||||
Ran frame, executed 1105564 cycles.
|
||||
Ran frame, executed 1107319 cycles.
|
||||
Ran frame, executed 1107050 cycles.
|
||||
Ran frame, executed 1106781 cycles.
|
||||
Ran frame, executed 1106512 cycles.
|
||||
Ran frame, executed 1106243 cycles.
|
||||
Ran frame, executed 1105974 cycles.
|
||||
Ran frame, executed 1105705 cycles.
|
||||
Ran frame, executed 1105436 cycles.
|
||||
Ran frame, executed 1107191 cycles.
|
||||
Ran frame, executed 1106922 cycles.
|
||||
Ran frame, executed 1106653 cycles.
|
||||
Ran frame, executed 1106384 cycles.
|
||||
Ran frame, executed 1106115 cycles.
|
||||
Ran frame, executed 1105846 cycles.
|
||||
Ran frame, executed 1105577 cycles.
|
||||
Ran frame, executed 1107332 cycles.
|
||||
Ran frame, executed 1107063 cycles.
|
||||
Ran frame, executed 1106794 cycles.
|
||||
Ran frame, executed 1106525 cycles.
|
||||
Ran frame, executed 1106256 cycles.
|
||||
Ran frame, executed 1105987 cycles.
|
||||
Ran frame, executed 1105718 cycles.
|
||||
Ran frame, executed 1105449 cycles.
|
||||
Ran frame, executed 1107204 cycles.
|
||||
Ran frame, executed 1106935 cycles.
|
||||
Ran frame, executed 1106666 cycles.
|
||||
Ran frame, executed 1106397 cycles.
|
||||
Ran frame, executed 1106128 cycles.
|
||||
Ran frame, executed 1105859 cycles.
|
||||
Ran frame, executed 1105590 cycles.
|
||||
Ran frame, executed 1107345 cycles.
|
||||
Ran frame, executed 1107076 cycles.
|
||||
Ran frame, executed 1106807 cycles.
|
||||
Ran frame, executed 1106538 cycles.
|
||||
Ran frame, executed 1106269 cycles.
|
||||
Ran frame, executed 1106000 cycles.
|
||||
Ran frame, executed 1105731 cycles.
|
||||
Ran frame, executed 1105462 cycles.
|
||||
Ran frame, executed 1107217 cycles.
|
||||
Ran frame, executed 1106948 cycles.
|
||||
Ran frame, executed 1106679 cycles.
|
||||
Ran frame, executed 1106410 cycles.
|
||||
Ran frame, executed 1106141 cycles.
|
||||
Ran frame, executed 1105872 cycles.
|
||||
Ran frame, executed 1105603 cycles.
|
||||
Ran frame, executed 1107358 cycles.
|
||||
Ran frame, executed 1107089 cycles.
|
||||
Ran frame, executed 1106820 cycles.
|
||||
Ran frame, executed 1106551 cycles.
|
||||
Ran frame, executed 1106282 cycles.
|
||||
Ran frame, executed 1106013 cycles.
|
||||
Ran frame, executed 1105744 cycles.
|
||||
Ran frame, executed 1105475 cycles.
|
||||
Ran frame, executed 1107230 cycles.
|
||||
Ran frame, executed 1106961 cycles.
|
||||
Ran frame, executed 1106692 cycles.
|
||||
Ran frame, executed 1106423 cycles.
|
||||
Ran frame, executed 1106154 cycles.
|
||||
Ran frame, executed 1105885 cycles.
|
||||
Ran frame, executed 1105616 cycles.
|
||||
Ran frame, executed 1107371 cycles.
|
||||
Ran frame, executed 1107102 cycles.
|
||||
Ran frame, executed 1106833 cycles.
|
||||
Ran frame, executed 1106564 cycles.
|
||||
Ran frame, executed 1106295 cycles.
|
||||
Ran frame, executed 1106026 cycles.
|
||||
Ran frame, executed 1105757 cycles.
|
||||
Ran frame, executed 1105488 cycles.
|
||||
Ran frame, executed 1107243 cycles.
|
||||
Ran frame, executed 1106974 cycles.
|
||||
Ran frame, executed 1106705 cycles.
|
||||
Ran frame, executed 1106436 cycles.
|
||||
Ran frame, executed 1106167 cycles.
|
||||
Ran frame, executed 1105898 cycles.
|
||||
Ran frame, executed 1105629 cycles.
|
||||
Ran frame, executed 1107384 cycles.
|
||||
Ran frame, executed 1107115 cycles.
|
||||
Ran frame, executed 1106846 cycles.
|
||||
Ran frame, executed 1106577 cycles.
|
||||
Ran frame, executed 1106308 cycles.
|
||||
Ran frame, executed 1106039 cycles.
|
||||
Ran frame, executed 1105770 cycles.
|
||||
Ran frame, executed 1105501 cycles.
|
||||
Ran frame, executed 1107256 cycles.
|
||||
Ran frame, executed 1106987 cycles.
|
||||
Ran frame, executed 1106718 cycles.
|
||||
Ran frame, executed 1106449 cycles.
|
||||
Ran frame, executed 1106180 cycles.
|
||||
Ran frame, executed 1105911 cycles.
|
||||
Ran frame, executed 1105642 cycles.
|
||||
Ran frame, executed 1105373 cycles.
|
||||
Ran frame, executed 1107128 cycles.
|
||||
Ran frame, executed 1106859 cycles.
|
||||
Ran frame, executed 1106590 cycles.
|
||||
Ran frame, executed 1106321 cycles.
|
||||
Ran frame, executed 1106052 cycles.
|
||||
Ran frame, executed 1105783 cycles.
|
||||
Ran frame, executed 1105514 cycles.
|
||||
Ran frame, executed 1107269 cycles.
|
||||
Ran frame, executed 1107000 cycles.
|
||||
Ran frame, executed 1106731 cycles.
|
||||
Ran frame, executed 1106462 cycles.
|
||||
Ran frame, executed 1106193 cycles.
|
||||
Ran frame, executed 1105924 cycles.
|
||||
Ran frame, executed 1105655 cycles.
|
||||
Ran frame, executed 1105386 cycles.
|
||||
Ran frame, executed 1107141 cycles.
|
||||
Ran frame, executed 1106872 cycles.
|
||||
Ran frame, executed 1106603 cycles.
|
||||
Ran frame, executed 1106334 cycles.
|
||||
Ran frame, executed 1106065 cycles.
|
||||
Ran frame, executed 1105796 cycles.
|
||||
Ran frame, executed 1105527 cycles.
|
||||
Ran frame, executed 1107282 cycles.
|
||||
Ran frame, executed 1107013 cycles.
|
||||
Ran frame, executed 1106744 cycles.
|
||||
Ran frame, executed 1106475 cycles.
|
||||
Ran frame, executed 1106206 cycles.
|
||||
Ran frame, executed 1105937 cycles.
|
||||
Ran frame, executed 1105668 cycles.
|
||||
Ran frame, executed 1105399 cycles.
|
||||
Ran frame, executed 1107154 cycles.
|
||||
Ran frame, executed 1106885 cycles.
|
||||
Ran frame, executed 1106616 cycles.
|
||||
Ran frame, executed 1106347 cycles.
|
||||
Ran frame, executed 1106078 cycles.
|
||||
Ran frame, executed 1105809 cycles.
|
||||
Ran frame, executed 1105540 cycles.
|
||||
Ran frame, executed 1107295 cycles.
|
||||
Ran frame, executed 1107026 cycles.
|
||||
Ran frame, executed 1106757 cycles.
|
||||
Ran frame, executed 1106488 cycles.
|
||||
Ran frame, executed 1106219 cycles.
|
||||
Ran frame, executed 1105950 cycles.
|
||||
Ran frame, executed 1105681 cycles.
|
||||
Ran frame, executed 1105412 cycles.
|
||||
Ran frame, executed 1107167 cycles.
|
||||
Ran frame, executed 1106898 cycles.
|
||||
Ran frame, executed 1106629 cycles.
|
||||
Ran frame, executed 1106360 cycles.
|
||||
Ran frame, executed 1106091 cycles.
|
||||
Ran frame, executed 1105822 cycles.
|
||||
Ran frame, executed 1105553 cycles.
|
||||
Ran frame, executed 1107308 cycles.
|
||||
Ran frame, executed 1107039 cycles.
|
||||
Ran frame, executed 1106770 cycles.
|
||||
Ran frame, executed 1106501 cycles.
|
||||
Ran frame, executed 1106232 cycles.
|
||||
Ran frame, executed 1105963 cycles.
|
||||
Ran frame, executed 1105694 cycles.
|
||||
Ran frame, executed 1105425 cycles.
|
||||
Ran frame, executed 1107180 cycles.
|
||||
Ran frame, executed 1106911 cycles.
|
||||
Ran frame, executed 1106642 cycles.
|
||||
Ran frame, executed 1106373 cycles.
|
||||
Ran frame, executed 1106104 cycles.
|
||||
Ran frame, executed 1105835 cycles.
|
||||
Ran frame, executed 1105566 cycles.
|
||||
Ran frame, executed 1107321 cycles.
|
||||
Ran frame, executed 1107052 cycles.
|
||||
Ran frame, executed 1106783 cycles.
|
||||
Ran frame, executed 1106514 cycles.
|
||||
Ran frame, executed 1106245 cycles.
|
||||
Ran frame, executed 1105976 cycles.
|
||||
Ran frame, executed 1105707 cycles.
|
||||
Ran frame, executed 1105438 cycles.
|
||||
Ran frame, executed 1107193 cycles.
|
||||
Ran frame, executed 1106924 cycles.
|
||||
Ran frame, executed 1106655 cycles.
|
||||
Ran frame, executed 1106386 cycles.
|
||||
Ran frame, executed 1106117 cycles.
|
||||
Ran frame, executed 1105848 cycles.
|
||||
Ran frame, executed 1105579 cycles.
|
||||
Ran frame, executed 1107334 cycles.
|
||||
Ran frame, executed 1107065 cycles.
|
||||
Ran frame, executed 1106796 cycles.
|
||||
Ran frame, executed 1106527 cycles.
|
||||
Ran frame, executed 1106258 cycles.
|
||||
Ran frame, executed 1105989 cycles.
|
||||
Ran frame, executed 1105720 cycles.
|
||||
Ran frame, executed 1105451 cycles.
|
||||
Ran frame, executed 1107206 cycles.
|
||||
Ran frame, executed 1106937 cycles.
|
||||
Ran frame, executed 1106668 cycles.
|
||||
Ran frame, executed 1106399 cycles.
|
||||
Ran frame, executed 1106130 cycles.
|
||||
Ran frame, executed 1105861 cycles.
|
||||
Ran frame, executed 1105592 cycles.
|
||||
Ran frame, executed 1107347 cycles.
|
||||
Ran frame, executed 1107078 cycles.
|
||||
Ran frame, executed 1106809 cycles.
|
||||
Ran frame, executed 1106540 cycles.
|
||||
Ran frame, executed 1106271 cycles.
|
||||
Ran frame, executed 1106002 cycles.
|
||||
Ran frame, executed 1105733 cycles.
|
||||
Ran frame, executed 1105464 cycles.
|
||||
Ran frame, executed 1107219 cycles.
|
||||
Ran frame, executed 1106950 cycles.
|
||||
Ran frame, executed 1106681 cycles.
|
||||
Ran frame, executed 1106412 cycles.
|
||||
Ran frame, executed 1106143 cycles.
|
||||
Ran frame, executed 1105874 cycles.
|
||||
Ran frame, executed 1105605 cycles.
|
||||
Ran frame, executed 1107360 cycles.
|
||||
Ran frame, executed 1107091 cycles.
|
||||
Ran frame, executed 1106822 cycles.
|
||||
Ran frame, executed 1106553 cycles.
|
||||
Ran frame, executed 1106284 cycles.
|
||||
Ran frame, executed 1106015 cycles.
|
||||
Ran frame, executed 1105746 cycles.
|
||||
Ran frame, executed 1105477 cycles.
|
||||
Ran frame, executed 1107232 cycles.
|
||||
Ran frame, executed 1106963 cycles.
|
||||
Ran frame, executed 1106694 cycles.
|
||||
Ran frame, executed 1106425 cycles.
|
||||
Ran frame, executed 1106156 cycles.
|
||||
Ran frame, executed 1105887 cycles.
|
||||
Ran frame, executed 1105618 cycles.
|
||||
Ran frame, executed 1107373 cycles.
|
||||
Ran frame, executed 1107104 cycles.
|
||||
Ran frame, executed 1106835 cycles.
|
||||
Ran frame, executed 1106566 cycles.
|
||||
Ran frame, executed 1106297 cycles.
|
||||
Ran frame, executed 1106028 cycles.
|
||||
Ran frame, executed 1105759 cycles.
|
||||
Ran frame, executed 1105490 cycles.
|
||||
Ran frame, executed 1107245 cycles.
|
||||
Ran frame, executed 1106976 cycles.
|
||||
Ran frame, executed 1106707 cycles.
|
||||
Ran frame, executed 1106438 cycles.
|
||||
Ran frame, executed 1106169 cycles.
|
||||
Ran frame, executed 1105900 cycles.
|
||||
Ran frame, executed 1105631 cycles.
|
||||
Ran frame, executed 1107386 cycles.
|
||||
Ran frame, executed 1107117 cycles.
|
||||
Ran frame, executed 1106848 cycles.
|
||||
Ran frame, executed 1106579 cycles.
|
||||
Ran frame, executed 1106310 cycles.
|
||||
Ran frame, executed 1106041 cycles.
|
||||
Ran frame, executed 1105772 cycles.
|
||||
Ran frame, executed 1105503 cycles.
|
||||
Ran frame, executed 1107258 cycles.
|
||||
Ran frame, executed 1106989 cycles.
|
||||
Ran frame, executed 1106720 cycles.
|
||||
Ran frame, executed 1106451 cycles.
|
||||
Ran frame, executed 1106182 cycles.
|
||||
Ran frame, executed 1105913 cycles.
|
||||
Ran frame, executed 1105644 cycles.
|
||||
Ran frame, executed 1105375 cycles.
|
||||
Ran frame, executed 1107130 cycles.
|
||||
Ran frame, executed 1106861 cycles.
|
||||
Ran frame, executed 1106592 cycles.
|
||||
Ran frame, executed 1106323 cycles.
|
||||
Ran frame, executed 1106054 cycles.
|
||||
Ran frame, executed 1105785 cycles.
|
||||
Ran frame, executed 1105516 cycles.
|
||||
Ran frame, executed 1107271 cycles.
|
||||
Ran frame, executed 1107002 cycles.
|
||||
Ran frame, executed 1106733 cycles.
|
||||
Ran frame, executed 1106464 cycles.
|
||||
Ran frame, executed 1106195 cycles.
|
||||
Ran frame, executed 1105926 cycles.
|
||||
Ran frame, executed 1105657 cycles.
|
||||
Ran frame, executed 1105388 cycles.
|
||||
Ran frame, executed 1107143 cycles.
|
||||
Ran frame, executed 1106874 cycles.
|
||||
Ran frame, executed 1106605 cycles.
|
||||
Ran frame, executed 1106336 cycles.
|
||||
Ran frame, executed 1106067 cycles.
|
||||
Ran frame, executed 1105798 cycles.
|
||||
Ran frame, executed 1105529 cycles.
|
||||
Ran frame, executed 1107284 cycles.
|
||||
Ran frame, executed 1107015 cycles.
|
||||
Ran frame, executed 1106746 cycles.
|
||||
Ran frame, executed 1106477 cycles.
|
||||
Ran frame, executed 1106208 cycles.
|
||||
Ran frame, executed 1105939 cycles.
|
||||
Ran frame, executed 1105670 cycles.
|
||||
Ran frame, executed 1105401 cycles.
|
||||
Ran frame, executed 1107156 cycles.
|
||||
Ran frame, executed 1106887 cycles.
|
||||
Ran frame, executed 1106618 cycles.
|
||||
Ran frame, executed 1106349 cycles.
|
||||
Ran frame, executed 1106080 cycles.
|
||||
Ran frame, executed 1105811 cycles.
|
||||
Ran frame, executed 1105542 cycles.
|
||||
Ran frame, executed 1107297 cycles.
|
||||
Ran frame, executed 1107028 cycles.
|
||||
Ran frame, executed 1106759 cycles.
|
||||
Ran frame, executed 1106490 cycles.
|
||||
Ran frame, executed 1106221 cycles.
|
||||
Ran frame, executed 1105952 cycles.
|
||||
Ran frame, executed 1105683 cycles.
|
||||
Ran frame, executed 1105414 cycles.
|
||||
Ran frame, executed 1107169 cycles.
|
||||
Ran frame, executed 1106900 cycles.
|
||||
Ran frame, executed 1106631 cycles.
|
||||
Ran frame, executed 1106362 cycles.
|
||||
Ran frame, executed 1106093 cycles.
|
||||
Ran frame, executed 1105824 cycles.
|
||||
Ran frame, executed 1105555 cycles.
|
||||
Ran frame, executed 1107310 cycles.
|
||||
Ran frame, executed 1107041 cycles.
|
||||
Ran frame, executed 1106772 cycles.
|
||||
Ran frame, executed 1106503 cycles.
|
||||
Ran frame, executed 1106234 cycles.
|
||||
Ran frame, executed 1105965 cycles.
|
||||
Ran frame, executed 1105696 cycles.
|
||||
Ran frame, executed 1105427 cycles.
|
||||
Ran frame, executed 1107182 cycles.
|
||||
Ran frame, executed 1106913 cycles.
|
||||
Ran frame, executed 1106644 cycles.
|
||||
Ran frame, executed 1106375 cycles.
|
||||
Ran frame, executed 1106106 cycles.
|
||||
Ran frame, executed 1105837 cycles.
|
||||
Ran frame, executed 1105568 cycles.
|
||||
Ran frame, executed 1107323 cycles.
|
||||
Ran frame, executed 1107054 cycles.
|
||||
Ran frame, executed 1106785 cycles.
|
||||
Ran frame, executed 1106516 cycles.
|
||||
Ran frame, executed 1106247 cycles.
|
||||
Ran frame, executed 1105978 cycles.
|
||||
Ran frame, executed 1105709 cycles.
|
||||
Ran frame, executed 1105440 cycles.
|
||||
Ran frame, executed 1107195 cycles.
|
||||
Ran frame, executed 1106926 cycles.
|
||||
Ran frame, executed 1106657 cycles.
|
||||
Ran frame, executed 1106388 cycles.
|
||||
Ran frame, executed 1106119 cycles.
|
||||
Ran frame, executed 1105850 cycles.
|
||||
Ran frame, executed 1105581 cycles.
|
||||
Ran frame, executed 1107336 cycles.
|
||||
Ran frame, executed 1107067 cycles.
|
||||
Ran frame, executed 1106798 cycles.
|
||||
Ran frame, executed 1106529 cycles.
|
||||
Ran frame, executed 1106260 cycles.
|
||||
Ran frame, executed 1105991 cycles.
|
||||
Ran frame, executed 1105722 cycles.
|
||||
Ran frame, executed 1105453 cycles.
|
||||
Ran frame, executed 1107208 cycles.
|
||||
Ran frame, executed 1106939 cycles.
|
||||
Ran frame, executed 1106670 cycles.
|
||||
Ran frame, executed 1106401 cycles.
|
||||
Ran frame, executed 1106132 cycles.
|
||||
572
tests/HwRegTest4.txt
Normal file
572
tests/HwRegTest4.txt
Normal file
@@ -0,0 +1,572 @@
|
||||
Cpu Read 16 bits from register 0x0200.
|
||||
Cpu Wrote 16 bits of 0x000024A3 to register 0x0200.
|
||||
Cpu Wrote 8 bits of 0x00000061 to register 0x042B.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0302.
|
||||
Cpu Wrote 32 bits of 0xFFFFFFFF to register 0x030C.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0304.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0306.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0B0A.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x040B.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0409.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x0408.
|
||||
Cpu Wrote 8 bits of 0x000000FF to register 0x0413.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0410.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0411.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x041B.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041C.
|
||||
Cpu Wrote 8 bits of 0x000000F0 to register 0x0419.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0418.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041D.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041F.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0419.
|
||||
Cpu Wrote 16 bits of 0x00000F00 to register 0x030E.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041E.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0421.
|
||||
Cpu Wrote 8 bits of 0x00000088 to register 0x0420.
|
||||
Cpu Wrote 8 bits of 0x000000C8 to register 0x0423.
|
||||
Cpu Wrote 8 bits of 0x000000E1 to register 0x042B.
|
||||
Cpu Wrote 8 bits of 0x00000002 to register 0x0429.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0428.
|
||||
Cpu Wrote 8 bits of 0x0000002E to register 0x0433.
|
||||
Cpu Wrote 8 bits of 0x0000002C to register 0x0430.
|
||||
Cpu Wrote 8 bits of 0x00000004 to register 0x0431.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0439.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x043B.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0438.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0441.
|
||||
Cpu Wrote 8 bits of 0x000000FF to register 0x0443.
|
||||
Cpu Wrote 8 bits of 0x000000F9 to register 0x0440.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x044B.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0448.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0449.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0A27.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0600.
|
||||
Cpu Wrote 8 bits of 0x000000F8 to register 0x0000.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0100.
|
||||
Cpu Wrote 16 bits of 0x000001AB to register 0x0110.
|
||||
Cpu Wrote 16 bits of 0x0000FFC0 to register 0x0102.
|
||||
Cpu Wrote 16 bits of 0x000001F3 to register 0x0112.
|
||||
Cpu Wrote 16 bits of 0x00008200 to register 0x0104.
|
||||
Cpu Wrote 16 bits of 0x00000101 to register 0x0114.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0106.
|
||||
Cpu Wrote 16 bits of 0x00001E83 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000040 to register 0x010A.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C03F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x00004020 to register 0x0C00.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C83F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D03F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D43F to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x00001A81 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C017 to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x0000C817 to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D017 to register 0x0C04.
|
||||
Cpu Wrote 16 bits of 0x0000D417 to register 0x0C04.
|
||||
Cpu Read 16 bits from register 0x0310.
|
||||
Cpu Read 8 bits from register 0x0423.
|
||||
Cpu Wrote 8 bits of 0x000000C8 to register 0x0423.
|
||||
Cpu Read 8 bits from register 0x042B.
|
||||
Cpu Wrote 8 bits of 0x000000E1 to register 0x042B.
|
||||
Cpu Wrote 16 bits of 0x00000C80 to register 0x0200.
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
Ran frame, executed 553603 cycles.
|
||||
Ran frame, executed 553469 cycles.
|
||||
Ran frame, executed 553335 cycles.
|
||||
Ran frame, executed 553201 cycles.
|
||||
Ran frame, executed 553067 cycles.
|
||||
Ran frame, executed 552933 cycles.
|
||||
Ran frame, executed 552799 cycles.
|
||||
Ran frame, executed 553677 cycles.
|
||||
Ran frame, executed 553543 cycles.
|
||||
Ran frame, executed 553409 cycles.
|
||||
Ran frame, executed 553275 cycles.
|
||||
Ran frame, executed 553141 cycles.
|
||||
Ran frame, executed 553007 cycles.
|
||||
Ran frame, executed 552873 cycles.
|
||||
Ran frame, executed 552739 cycles.
|
||||
Ran frame, executed 553617 cycles.
|
||||
Ran frame, executed 553483 cycles.
|
||||
Ran frame, executed 553349 cycles.
|
||||
Ran frame, executed 553215 cycles.
|
||||
Ran frame, executed 553081 cycles.
|
||||
Ran frame, executed 552947 cycles.
|
||||
Ran frame, executed 552813 cycles.
|
||||
Ran frame, executed 553691 cycles.
|
||||
Ran frame, executed 553557 cycles.
|
||||
Ran frame, executed 553423 cycles.
|
||||
Ran frame, executed 553289 cycles.
|
||||
Ran frame, executed 553155 cycles.
|
||||
Ran frame, executed 553021 cycles.
|
||||
Ran frame, executed 552887 cycles.
|
||||
Ran frame, executed 552753 cycles.
|
||||
Ran frame, executed 553631 cycles.
|
||||
Ran frame, executed 553497 cycles.
|
||||
Ran frame, executed 553363 cycles.
|
||||
Ran frame, executed 553229 cycles.
|
||||
Ran frame, executed 553095 cycles.
|
||||
Ran frame, executed 552961 cycles.
|
||||
Ran frame, executed 552827 cycles.
|
||||
Ran frame, executed 552693 cycles.
|
||||
Ran frame, executed 553571 cycles.
|
||||
Ran frame, executed 553437 cycles.
|
||||
Ran frame, executed 553303 cycles.
|
||||
Ran frame, executed 553169 cycles.
|
||||
Ran frame, executed 553035 cycles.
|
||||
Ran frame, executed 552901 cycles.
|
||||
Ran frame, executed 552767 cycles.
|
||||
Ran frame, executed 553645 cycles.
|
||||
Ran frame, executed 553511 cycles.
|
||||
Ran frame, executed 553377 cycles.
|
||||
Ran frame, executed 553243 cycles.
|
||||
Ran frame, executed 553109 cycles.
|
||||
Ran frame, executed 552975 cycles.
|
||||
Ran frame, executed 552841 cycles.
|
||||
Ran frame, executed 552707 cycles.
|
||||
Ran frame, executed 553585 cycles.
|
||||
Ran frame, executed 553451 cycles.
|
||||
Ran frame, executed 553317 cycles.
|
||||
Ran frame, executed 553183 cycles.
|
||||
Ran frame, executed 553049 cycles.
|
||||
Ran frame, executed 552915 cycles.
|
||||
Ran frame, executed 552781 cycles.
|
||||
Ran frame, executed 553659 cycles.
|
||||
Ran frame, executed 553525 cycles.
|
||||
Ran frame, executed 553391 cycles.
|
||||
Ran frame, executed 553257 cycles.
|
||||
Ran frame, executed 553123 cycles.
|
||||
Ran frame, executed 552989 cycles.
|
||||
Ran frame, executed 552855 cycles.
|
||||
Ran frame, executed 552721 cycles.
|
||||
Ran frame, executed 553599 cycles.
|
||||
Ran frame, executed 553465 cycles.
|
||||
Ran frame, executed 553331 cycles.
|
||||
Ran frame, executed 553197 cycles.
|
||||
Ran frame, executed 553063 cycles.
|
||||
Ran frame, executed 552929 cycles.
|
||||
Ran frame, executed 552795 cycles.
|
||||
Ran frame, executed 553673 cycles.
|
||||
Ran frame, executed 553539 cycles.
|
||||
Ran frame, executed 553405 cycles.
|
||||
Ran frame, executed 553271 cycles.
|
||||
Ran frame, executed 553137 cycles.
|
||||
Ran frame, executed 553003 cycles.
|
||||
Ran frame, executed 552869 cycles.
|
||||
Ran frame, executed 552735 cycles.
|
||||
Ran frame, executed 553613 cycles.
|
||||
Ran frame, executed 553479 cycles.
|
||||
Ran frame, executed 553345 cycles.
|
||||
Ran frame, executed 553211 cycles.
|
||||
Ran frame, executed 553077 cycles.
|
||||
Ran frame, executed 552943 cycles.
|
||||
Ran frame, executed 552809 cycles.
|
||||
Ran frame, executed 553687 cycles.
|
||||
Ran frame, executed 553553 cycles.
|
||||
Ran frame, executed 553419 cycles.
|
||||
Ran frame, executed 553285 cycles.
|
||||
Ran frame, executed 553151 cycles.
|
||||
Ran frame, executed 553017 cycles.
|
||||
Ran frame, executed 552883 cycles.
|
||||
Ran frame, executed 552749 cycles.
|
||||
Ran frame, executed 553627 cycles.
|
||||
Ran frame, executed 553493 cycles.
|
||||
Ran frame, executed 553359 cycles.
|
||||
Ran frame, executed 553225 cycles.
|
||||
Ran frame, executed 553091 cycles.
|
||||
Ran frame, executed 552957 cycles.
|
||||
Ran frame, executed 552823 cycles.
|
||||
Ran frame, executed 552689 cycles.
|
||||
Ran frame, executed 553567 cycles.
|
||||
Ran frame, executed 553433 cycles.
|
||||
Ran frame, executed 553299 cycles.
|
||||
Ran frame, executed 553165 cycles.
|
||||
Ran frame, executed 553031 cycles.
|
||||
Ran frame, executed 552897 cycles.
|
||||
Ran frame, executed 552763 cycles.
|
||||
Ran frame, executed 553641 cycles.
|
||||
Ran frame, executed 553507 cycles.
|
||||
Ran frame, executed 553373 cycles.
|
||||
Ran frame, executed 553239 cycles.
|
||||
Ran frame, executed 553105 cycles.
|
||||
Ran frame, executed 552971 cycles.
|
||||
Ran frame, executed 552837 cycles.
|
||||
Ran frame, executed 552703 cycles.
|
||||
Ran frame, executed 553581 cycles.
|
||||
Ran frame, executed 553447 cycles.
|
||||
Ran frame, executed 553313 cycles.
|
||||
Ran frame, executed 553179 cycles.
|
||||
Ran frame, executed 553045 cycles.
|
||||
Ran frame, executed 552911 cycles.
|
||||
Ran frame, executed 552777 cycles.
|
||||
Ran frame, executed 553655 cycles.
|
||||
Ran frame, executed 553521 cycles.
|
||||
Ran frame, executed 553387 cycles.
|
||||
Ran frame, executed 553253 cycles.
|
||||
Ran frame, executed 553119 cycles.
|
||||
Ran frame, executed 552985 cycles.
|
||||
Ran frame, executed 552851 cycles.
|
||||
Ran frame, executed 552717 cycles.
|
||||
Ran frame, executed 553595 cycles.
|
||||
Ran frame, executed 553461 cycles.
|
||||
Ran frame, executed 553327 cycles.
|
||||
Ran frame, executed 553193 cycles.
|
||||
Ran frame, executed 553059 cycles.
|
||||
Ran frame, executed 552925 cycles.
|
||||
Ran frame, executed 552791 cycles.
|
||||
Ran frame, executed 553669 cycles.
|
||||
Ran frame, executed 553535 cycles.
|
||||
Ran frame, executed 553401 cycles.
|
||||
Ran frame, executed 553267 cycles.
|
||||
Ran frame, executed 553133 cycles.
|
||||
Ran frame, executed 552999 cycles.
|
||||
Ran frame, executed 552865 cycles.
|
||||
Ran frame, executed 552731 cycles.
|
||||
Ran frame, executed 553609 cycles.
|
||||
Ran frame, executed 553475 cycles.
|
||||
Ran frame, executed 553341 cycles.
|
||||
Ran frame, executed 553207 cycles.
|
||||
Ran frame, executed 553073 cycles.
|
||||
Ran frame, executed 552939 cycles.
|
||||
Ran frame, executed 552805 cycles.
|
||||
Ran frame, executed 553683 cycles.
|
||||
Ran frame, executed 553549 cycles.
|
||||
Ran frame, executed 553415 cycles.
|
||||
Ran frame, executed 553281 cycles.
|
||||
Ran frame, executed 553147 cycles.
|
||||
Ran frame, executed 553013 cycles.
|
||||
Ran frame, executed 552879 cycles.
|
||||
Ran frame, executed 552745 cycles.
|
||||
Ran frame, executed 553623 cycles.
|
||||
Ran frame, executed 553489 cycles.
|
||||
Ran frame, executed 553355 cycles.
|
||||
Ran frame, executed 553221 cycles.
|
||||
Ran frame, executed 553087 cycles.
|
||||
Ran frame, executed 552953 cycles.
|
||||
Ran frame, executed 552819 cycles.
|
||||
Ran frame, executed 553697 cycles.
|
||||
Ran frame, executed 553563 cycles.
|
||||
Ran frame, executed 553429 cycles.
|
||||
Ran frame, executed 553295 cycles.
|
||||
Ran frame, executed 553161 cycles.
|
||||
Ran frame, executed 553027 cycles.
|
||||
Ran frame, executed 552893 cycles.
|
||||
Ran frame, executed 552759 cycles.
|
||||
Ran frame, executed 553637 cycles.
|
||||
Ran frame, executed 553503 cycles.
|
||||
Ran frame, executed 553369 cycles.
|
||||
Ran frame, executed 553235 cycles.
|
||||
Ran frame, executed 553101 cycles.
|
||||
Ran frame, executed 552967 cycles.
|
||||
Ran frame, executed 552833 cycles.
|
||||
Ran frame, executed 552699 cycles.
|
||||
Ran frame, executed 553577 cycles.
|
||||
Ran frame, executed 553443 cycles.
|
||||
Ran frame, executed 553309 cycles.
|
||||
Ran frame, executed 553175 cycles.
|
||||
Ran frame, executed 553041 cycles.
|
||||
Ran frame, executed 552907 cycles.
|
||||
Ran frame, executed 552773 cycles.
|
||||
Ran frame, executed 553651 cycles.
|
||||
Ran frame, executed 553517 cycles.
|
||||
Ran frame, executed 553383 cycles.
|
||||
Ran frame, executed 553249 cycles.
|
||||
Ran frame, executed 553115 cycles.
|
||||
Ran frame, executed 552981 cycles.
|
||||
Ran frame, executed 552847 cycles.
|
||||
Ran frame, executed 552713 cycles.
|
||||
Ran frame, executed 553591 cycles.
|
||||
Ran frame, executed 553457 cycles.
|
||||
Ran frame, executed 553323 cycles.
|
||||
Ran frame, executed 553189 cycles.
|
||||
Ran frame, executed 553055 cycles.
|
||||
Ran frame, executed 552921 cycles.
|
||||
Ran frame, executed 552787 cycles.
|
||||
Ran frame, executed 553665 cycles.
|
||||
Ran frame, executed 553531 cycles.
|
||||
Ran frame, executed 553397 cycles.
|
||||
Ran frame, executed 553263 cycles.
|
||||
Ran frame, executed 553129 cycles.
|
||||
Ran frame, executed 552995 cycles.
|
||||
Ran frame, executed 552861 cycles.
|
||||
Ran frame, executed 552727 cycles.
|
||||
Ran frame, executed 553605 cycles.
|
||||
Ran frame, executed 553471 cycles.
|
||||
Ran frame, executed 553337 cycles.
|
||||
Ran frame, executed 553203 cycles.
|
||||
Ran frame, executed 553069 cycles.
|
||||
Ran frame, executed 552935 cycles.
|
||||
Ran frame, executed 552801 cycles.
|
||||
Ran frame, executed 553679 cycles.
|
||||
Ran frame, executed 553545 cycles.
|
||||
Ran frame, executed 553411 cycles.
|
||||
Ran frame, executed 553277 cycles.
|
||||
Ran frame, executed 553143 cycles.
|
||||
Tried to write 16 bits to ROM at 0x10002B04 with value of 0x0008.
|
||||
Ran frame, executed 553010 cycles.
|
||||
Ran frame, executed 552876 cycles.
|
||||
Ran frame, executed 552742 cycles.
|
||||
Ran frame, executed 553620 cycles.
|
||||
Ran frame, executed 553486 cycles.
|
||||
Ran frame, executed 553352 cycles.
|
||||
Ran frame, executed 553218 cycles.
|
||||
Ran frame, executed 553084 cycles.
|
||||
Ran frame, executed 552950 cycles.
|
||||
Ran frame, executed 552816 cycles.
|
||||
Ran frame, executed 553694 cycles.
|
||||
Ran frame, executed 553560 cycles.
|
||||
Ran frame, executed 553426 cycles.
|
||||
Ran frame, executed 553292 cycles.
|
||||
Ran frame, executed 553158 cycles.
|
||||
Ran frame, executed 553024 cycles.
|
||||
Ran frame, executed 552890 cycles.
|
||||
Ran frame, executed 552756 cycles.
|
||||
Ran frame, executed 553634 cycles.
|
||||
Ran frame, executed 553500 cycles.
|
||||
Ran frame, executed 553366 cycles.
|
||||
Ran frame, executed 553232 cycles.
|
||||
Ran frame, executed 553098 cycles.
|
||||
Ran frame, executed 552964 cycles.
|
||||
Ran frame, executed 552830 cycles.
|
||||
Ran frame, executed 552696 cycles.
|
||||
Ran frame, executed 553574 cycles.
|
||||
Ran frame, executed 553440 cycles.
|
||||
Ran frame, executed 553306 cycles.
|
||||
Ran frame, executed 553172 cycles.
|
||||
Ran frame, executed 553038 cycles.
|
||||
Ran frame, executed 552904 cycles.
|
||||
Ran frame, executed 552770 cycles.
|
||||
Ran frame, executed 553648 cycles.
|
||||
Ran frame, executed 553514 cycles.
|
||||
Ran frame, executed 553380 cycles.
|
||||
Ran frame, executed 553246 cycles.
|
||||
Ran frame, executed 553112 cycles.
|
||||
Ran frame, executed 552978 cycles.
|
||||
Ran frame, executed 552844 cycles.
|
||||
Ran frame, executed 552710 cycles.
|
||||
Ran frame, executed 553588 cycles.
|
||||
Ran frame, executed 553454 cycles.
|
||||
Ran frame, executed 553320 cycles.
|
||||
Ran frame, executed 553186 cycles.
|
||||
Ran frame, executed 553052 cycles.
|
||||
Ran frame, executed 552918 cycles.
|
||||
Ran frame, executed 552784 cycles.
|
||||
Ran frame, executed 553662 cycles.
|
||||
Ran frame, executed 553528 cycles.
|
||||
Ran frame, executed 553394 cycles.
|
||||
Ran frame, executed 553260 cycles.
|
||||
Ran frame, executed 553126 cycles.
|
||||
Ran frame, executed 552992 cycles.
|
||||
Ran frame, executed 552858 cycles.
|
||||
Ran frame, executed 552724 cycles.
|
||||
Ran frame, executed 553602 cycles.
|
||||
Ran frame, executed 553468 cycles.
|
||||
Ran frame, executed 553334 cycles.
|
||||
Ran frame, executed 553200 cycles.
|
||||
Ran frame, executed 553066 cycles.
|
||||
Ran frame, executed 552932 cycles.
|
||||
Ran frame, executed 552798 cycles.
|
||||
Ran frame, executed 553676 cycles.
|
||||
Ran frame, executed 553542 cycles.
|
||||
Ran frame, executed 553408 cycles.
|
||||
Ran frame, executed 553274 cycles.
|
||||
Ran frame, executed 553140 cycles.
|
||||
Ran frame, executed 553006 cycles.
|
||||
Ran frame, executed 552872 cycles.
|
||||
Ran frame, executed 552738 cycles.
|
||||
Ran frame, executed 553616 cycles.
|
||||
Ran frame, executed 553482 cycles.
|
||||
Ran frame, executed 553348 cycles.
|
||||
Ran frame, executed 553214 cycles.
|
||||
Ran frame, executed 553080 cycles.
|
||||
Ran frame, executed 552946 cycles.
|
||||
Ran frame, executed 552812 cycles.
|
||||
Ran frame, executed 553690 cycles.
|
||||
Ran frame, executed 553556 cycles.
|
||||
Ran frame, executed 553422 cycles.
|
||||
Ran frame, executed 553288 cycles.
|
||||
Ran frame, executed 553154 cycles.
|
||||
Ran frame, executed 553020 cycles.
|
||||
Ran frame, executed 552886 cycles.
|
||||
Ran frame, executed 552752 cycles.
|
||||
Ran frame, executed 553630 cycles.
|
||||
Ran frame, executed 553496 cycles.
|
||||
Ran frame, executed 553362 cycles.
|
||||
Ran frame, executed 553228 cycles.
|
||||
Ran frame, executed 553094 cycles.
|
||||
Ran frame, executed 552960 cycles.
|
||||
Ran frame, executed 552826 cycles.
|
||||
Ran frame, executed 552692 cycles.
|
||||
Ran frame, executed 553570 cycles.
|
||||
Ran frame, executed 553436 cycles.
|
||||
Ran frame, executed 553302 cycles.
|
||||
Ran frame, executed 553168 cycles.
|
||||
Ran frame, executed 553034 cycles.
|
||||
Ran frame, executed 552900 cycles.
|
||||
Ran frame, executed 552766 cycles.
|
||||
Ran frame, executed 553644 cycles.
|
||||
Ran frame, executed 553510 cycles.
|
||||
Ran frame, executed 553376 cycles.
|
||||
Ran frame, executed 553242 cycles.
|
||||
Ran frame, executed 553108 cycles.
|
||||
Ran frame, executed 552974 cycles.
|
||||
Ran frame, executed 552840 cycles.
|
||||
Ran frame, executed 552706 cycles.
|
||||
Ran frame, executed 553584 cycles.
|
||||
Ran frame, executed 553450 cycles.
|
||||
Ran frame, executed 553316 cycles.
|
||||
Ran frame, executed 553182 cycles.
|
||||
Ran frame, executed 553048 cycles.
|
||||
Ran frame, executed 552914 cycles.
|
||||
Ran frame, executed 552780 cycles.
|
||||
Ran frame, executed 553658 cycles.
|
||||
Ran frame, executed 553524 cycles.
|
||||
Ran frame, executed 553390 cycles.
|
||||
Ran frame, executed 553256 cycles.
|
||||
Ran frame, executed 553122 cycles.
|
||||
Ran frame, executed 552988 cycles.
|
||||
Ran frame, executed 552854 cycles.
|
||||
Ran frame, executed 552720 cycles.
|
||||
Ran frame, executed 553598 cycles.
|
||||
Ran frame, executed 553464 cycles.
|
||||
Ran frame, executed 553330 cycles.
|
||||
Ran frame, executed 553196 cycles.
|
||||
Ran frame, executed 553062 cycles.
|
||||
Ran frame, executed 552928 cycles.
|
||||
Ran frame, executed 552794 cycles.
|
||||
Ran frame, executed 553672 cycles.
|
||||
Ran frame, executed 553538 cycles.
|
||||
Ran frame, executed 553404 cycles.
|
||||
Ran frame, executed 553270 cycles.
|
||||
Ran frame, executed 553136 cycles.
|
||||
Ran frame, executed 553002 cycles.
|
||||
Ran frame, executed 552868 cycles.
|
||||
Ran frame, executed 552734 cycles.
|
||||
Ran frame, executed 553612 cycles.
|
||||
Ran frame, executed 553478 cycles.
|
||||
Ran frame, executed 553344 cycles.
|
||||
Ran frame, executed 553210 cycles.
|
||||
Ran frame, executed 553076 cycles.
|
||||
Ran frame, executed 552942 cycles.
|
||||
Ran frame, executed 552808 cycles.
|
||||
Ran frame, executed 553686 cycles.
|
||||
Ran frame, executed 553552 cycles.
|
||||
Ran frame, executed 553418 cycles.
|
||||
Ran frame, executed 553284 cycles.
|
||||
Ran frame, executed 553150 cycles.
|
||||
Ran frame, executed 553016 cycles.
|
||||
Ran frame, executed 552882 cycles.
|
||||
Ran frame, executed 552748 cycles.
|
||||
Ran frame, executed 553626 cycles.
|
||||
Ran frame, executed 553492 cycles.
|
||||
Ran frame, executed 553358 cycles.
|
||||
Ran frame, executed 553224 cycles.
|
||||
Ran frame, executed 553090 cycles.
|
||||
Ran frame, executed 552956 cycles.
|
||||
Ran frame, executed 552822 cycles.
|
||||
Ran frame, executed 552688 cycles.
|
||||
Ran frame, executed 553566 cycles.
|
||||
Ran frame, executed 553432 cycles.
|
||||
Ran frame, executed 553298 cycles.
|
||||
Ran frame, executed 553164 cycles.
|
||||
Ran frame, executed 553030 cycles.
|
||||
Ran frame, executed 552896 cycles.
|
||||
Ran frame, executed 552762 cycles.
|
||||
Ran frame, executed 553640 cycles.
|
||||
Ran frame, executed 553506 cycles.
|
||||
Ran frame, executed 553372 cycles.
|
||||
Ran frame, executed 553238 cycles.
|
||||
Ran frame, executed 553104 cycles.
|
||||
Ran frame, executed 552970 cycles.
|
||||
Ran frame, executed 552836 cycles.
|
||||
Ran frame, executed 552702 cycles.
|
||||
Ran frame, executed 553580 cycles.
|
||||
Ran frame, executed 553446 cycles.
|
||||
Ran frame, executed 553312 cycles.
|
||||
Ran frame, executed 553178 cycles.
|
||||
Ran frame, executed 553044 cycles.
|
||||
Ran frame, executed 552910 cycles.
|
||||
Ran frame, executed 552776 cycles.
|
||||
Ran frame, executed 553654 cycles.
|
||||
Ran frame, executed 553520 cycles.
|
||||
Ran frame, executed 553386 cycles.
|
||||
Ran frame, executed 553252 cycles.
|
||||
Ran frame, executed 553118 cycles.
|
||||
Ran frame, executed 552984 cycles.
|
||||
Ran frame, executed 552850 cycles.
|
||||
Ran frame, executed 552716 cycles.
|
||||
Ran frame, executed 553594 cycles.
|
||||
Ran frame, executed 553460 cycles.
|
||||
Ran frame, executed 553326 cycles.
|
||||
Ran frame, executed 553192 cycles.
|
||||
Ran frame, executed 553058 cycles.
|
||||
Ran frame, executed 552924 cycles.
|
||||
Ran frame, executed 552790 cycles.
|
||||
Ran frame, executed 553668 cycles.
|
||||
Ran frame, executed 553534 cycles.
|
||||
Ran frame, executed 553400 cycles.
|
||||
Ran frame, executed 553266 cycles.
|
||||
Ran frame, executed 553132 cycles.
|
||||
Ran frame, executed 552998 cycles.
|
||||
Ran frame, executed 552864 cycles.
|
||||
Ran frame, executed 552730 cycles.
|
||||
Ran frame, executed 553608 cycles.
|
||||
Ran frame, executed 553474 cycles.
|
||||
Ran frame, executed 553340 cycles.
|
||||
Ran frame, executed 553206 cycles.
|
||||
Ran frame, executed 553072 cycles.
|
||||
Ran frame, executed 552938 cycles.
|
||||
Ran frame, executed 552804 cycles.
|
||||
Ran frame, executed 553682 cycles.
|
||||
Ran frame, executed 553548 cycles.
|
||||
Ran frame, executed 553414 cycles.
|
||||
Ran frame, executed 553280 cycles.
|
||||
Ran frame, executed 553146 cycles.
|
||||
Ran frame, executed 553012 cycles.
|
||||
Ran frame, executed 552878 cycles.
|
||||
Ran frame, executed 552744 cycles.
|
||||
Ran frame, executed 553622 cycles.
|
||||
Ran frame, executed 553488 cycles.
|
||||
Ran frame, executed 553354 cycles.
|
||||
Ran frame, executed 553220 cycles.
|
||||
Ran frame, executed 553086 cycles.
|
||||
Ran frame, executed 552952 cycles.
|
||||
Ran frame, executed 552818 cycles.
|
||||
Ran frame, executed 553696 cycles.
|
||||
Ran frame, executed 553562 cycles.
|
||||
Ran frame, executed 553428 cycles.
|
||||
Ran frame, executed 553294 cycles.
|
||||
Ran frame, executed 553160 cycles.
|
||||
Ran frame, executed 553026 cycles.
|
||||
Ran frame, executed 552892 cycles.
|
||||
Ran frame, executed 552758 cycles.
|
||||
Ran frame, executed 553636 cycles.
|
||||
Ran frame, executed 553502 cycles.
|
||||
Ran frame, executed 553368 cycles.
|
||||
Ran frame, executed 553234 cycles.
|
||||
Ran frame, executed 553100 cycles.
|
||||
Ran frame, executed 552966 cycles.
|
||||
Ran frame, executed 552832 cycles.
|
||||
Ran frame, executed 552698 cycles.
|
||||
Ran frame, executed 553576 cycles.
|
||||
Ran frame, executed 553442 cycles.
|
||||
Ran frame, executed 553308 cycles.
|
||||
Ran frame, executed 553174 cycles.
|
||||
Ran frame, executed 553040 cycles.
|
||||
Ran frame, executed 552906 cycles.
|
||||
Ran frame, executed 552772 cycles.
|
||||
Ran frame, executed 553650 cycles.
|
||||
Ran frame, executed 553516 cycles.
|
||||
Ran frame, executed 553382 cycles.
|
||||
Ran frame, executed 553248 cycles.
|
||||
Ran frame, executed 553114 cycles.
|
||||
Ran frame, executed 552980 cycles.
|
||||
Ran frame, executed 552846 cycles.
|
||||
Ran frame, executed 552712 cycles.
|
||||
Ran frame, executed 553590 cycles.
|
||||
Ran frame, executed 553456 cycles.
|
||||
Ran frame, executed 553322 cycles.
|
||||
Ran frame, executed 553188 cycles.
|
||||
Ran frame, executed 553054 cycles.
|
||||
1064
tests/HwRegTest5.txt
Normal file
1064
tests/HwRegTest5.txt
Normal file
File diff suppressed because it is too large
Load Diff
1344
tests/HwRegTest6.txt
Normal file
1344
tests/HwRegTest6.txt
Normal file
File diff suppressed because it is too large
Load Diff
849
tests/HwRegTest7.txt
Normal file
849
tests/HwRegTest7.txt
Normal file
@@ -0,0 +1,849 @@
|
||||
Opcode 0xF800 is already taken!
|
||||
Opcode 0xF801 is already taken!
|
||||
Opcode 0xF802 is already taken!
|
||||
Opcode 0xF803 is already taken!
|
||||
Opcode 0xF804 is already taken!
|
||||
Opcode 0xF805 is already taken!
|
||||
Opcode 0xF806 is already taken!
|
||||
Opcode 0xF807 is already taken!
|
||||
Opcode 0xF808 is already taken!
|
||||
Opcode 0xF809 is already taken!
|
||||
Opcode 0xF80A is already taken!
|
||||
Opcode 0xF80B is already taken!
|
||||
Opcode 0xF80C is already taken!
|
||||
Opcode 0xF80D is already taken!
|
||||
Opcode 0xF80E is already taken!
|
||||
Opcode 0xF80F is already taken!
|
||||
Opcode 0xF810 is already taken!
|
||||
Opcode 0xF811 is already taken!
|
||||
Opcode 0xF812 is already taken!
|
||||
Opcode 0xF813 is already taken!
|
||||
Opcode 0xF814 is already taken!
|
||||
Opcode 0xF815 is already taken!
|
||||
Opcode 0xF816 is already taken!
|
||||
Opcode 0xF817 is already taken!
|
||||
Opcode 0xF818 is already taken!
|
||||
Opcode 0xF819 is already taken!
|
||||
Opcode 0xF81A is already taken!
|
||||
Opcode 0xF81B is already taken!
|
||||
Opcode 0xF81C is already taken!
|
||||
Opcode 0xF81D is already taken!
|
||||
Opcode 0xF81E is already taken!
|
||||
Opcode 0xF81F is already taken!
|
||||
Opcode 0xF820 is already taken!
|
||||
Opcode 0xF821 is already taken!
|
||||
Opcode 0xF822 is already taken!
|
||||
Opcode 0xF823 is already taken!
|
||||
Opcode 0xF824 is already taken!
|
||||
Opcode 0xF825 is already taken!
|
||||
Opcode 0xF826 is already taken!
|
||||
Opcode 0xF827 is already taken!
|
||||
Opcode 0xF828 is already taken!
|
||||
Opcode 0xF829 is already taken!
|
||||
Opcode 0xF82A is already taken!
|
||||
Opcode 0xF82B is already taken!
|
||||
Opcode 0xF82C is already taken!
|
||||
Opcode 0xF82D is already taken!
|
||||
Opcode 0xF82E is already taken!
|
||||
Opcode 0xF82F is already taken!
|
||||
Opcode 0xF830 is already taken!
|
||||
Opcode 0xF831 is already taken!
|
||||
Opcode 0xF832 is already taken!
|
||||
Opcode 0xF833 is already taken!
|
||||
Opcode 0xF834 is already taken!
|
||||
Opcode 0xF835 is already taken!
|
||||
Opcode 0xF836 is already taken!
|
||||
Opcode 0xF837 is already taken!
|
||||
Opcode 0xF838 is already taken!
|
||||
Opcode 0xF839 is already taken!
|
||||
Opcode 0xF83A is already taken!
|
||||
Opcode 0xF83B is already taken!
|
||||
Opcode 0xF83C is already taken!
|
||||
Opcode 0xF83D is already taken!
|
||||
Opcode 0xF83E is already taken!
|
||||
Opcode 0xF83F is already taken!
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0304.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0306.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0B0A.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0409.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x0408.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0410.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0411.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041C.
|
||||
Cpu Wrote 8 bits of 0x000000F0 to register 0x0419.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0418.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041D.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041F.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0419.
|
||||
Cpu Wrote 16 bits of 0x00000F00 to register 0x030E.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041E.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0421.
|
||||
Cpu Wrote 8 bits of 0x00000088 to register 0x0420.
|
||||
Cpu Wrote 8 bits of 0x00000002 to register 0x0429.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0428.
|
||||
Cpu Wrote 8 bits of 0x0000002C to register 0x0430.
|
||||
Cpu Wrote 8 bits of 0x00000004 to register 0x0431.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0439.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0438.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0441.
|
||||
Cpu Wrote 8 bits of 0x000000F9 to register 0x0440.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0448.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0449.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0A27.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0600.
|
||||
Cpu Wrote 8 bits of 0x000000F8 to register 0x0000.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0100.
|
||||
Cpu Wrote 16 bits of 0x000001AB to register 0x0110.
|
||||
Cpu Wrote 16 bits of 0x0000FFC0 to register 0x0102.
|
||||
Cpu Wrote 16 bits of 0x000001F3 to register 0x0112.
|
||||
Cpu Wrote 16 bits of 0x00008200 to register 0x0104.
|
||||
Cpu Wrote 16 bits of 0x00000101 to register 0x0114.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0106.
|
||||
Cpu Wrote 16 bits of 0x00001E83 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000040 to register 0x010A.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00004020 to register 0x0C00.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00001A81 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Read 16 bits from register 0x0310.
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
Ran frame, executed 553633 cycles.
|
||||
Ran frame, executed 553499 cycles.
|
||||
Ran frame, executed 553365 cycles.
|
||||
Ran frame, executed 553231 cycles.
|
||||
Ran frame, executed 553097 cycles.
|
||||
Ran frame, executed 552963 cycles.
|
||||
Ran frame, executed 552829 cycles.
|
||||
Ran frame, executed 552695 cycles.
|
||||
Ran frame, executed 553573 cycles.
|
||||
Ran frame, executed 553439 cycles.
|
||||
Ran frame, executed 553305 cycles.
|
||||
Ran frame, executed 553171 cycles.
|
||||
Ran frame, executed 553037 cycles.
|
||||
Ran frame, executed 552903 cycles.
|
||||
Ran frame, executed 552769 cycles.
|
||||
Ran frame, executed 553647 cycles.
|
||||
Ran frame, executed 553513 cycles.
|
||||
Ran frame, executed 553379 cycles.
|
||||
Ran frame, executed 553245 cycles.
|
||||
Ran frame, executed 553111 cycles.
|
||||
Ran frame, executed 552977 cycles.
|
||||
Ran frame, executed 552843 cycles.
|
||||
Ran frame, executed 552709 cycles.
|
||||
Ran frame, executed 553587 cycles.
|
||||
Ran frame, executed 553453 cycles.
|
||||
Ran frame, executed 553319 cycles.
|
||||
Ran frame, executed 553185 cycles.
|
||||
Ran frame, executed 553051 cycles.
|
||||
Ran frame, executed 552917 cycles.
|
||||
Ran frame, executed 552783 cycles.
|
||||
Ran frame, executed 553661 cycles.
|
||||
Ran frame, executed 553527 cycles.
|
||||
Ran frame, executed 553393 cycles.
|
||||
Ran frame, executed 553259 cycles.
|
||||
Ran frame, executed 553125 cycles.
|
||||
Ran frame, executed 552991 cycles.
|
||||
Ran frame, executed 552857 cycles.
|
||||
Ran frame, executed 552723 cycles.
|
||||
Ran frame, executed 553601 cycles.
|
||||
Ran frame, executed 553467 cycles.
|
||||
Ran frame, executed 553333 cycles.
|
||||
Ran frame, executed 553199 cycles.
|
||||
Ran frame, executed 553065 cycles.
|
||||
Ran frame, executed 552931 cycles.
|
||||
Ran frame, executed 552797 cycles.
|
||||
Ran frame, executed 553675 cycles.
|
||||
Ran frame, executed 553541 cycles.
|
||||
Ran frame, executed 553407 cycles.
|
||||
Ran frame, executed 553273 cycles.
|
||||
Ran frame, executed 553139 cycles.
|
||||
Ran frame, executed 553005 cycles.
|
||||
Ran frame, executed 552871 cycles.
|
||||
Ran frame, executed 552737 cycles.
|
||||
Ran frame, executed 553615 cycles.
|
||||
Ran frame, executed 553481 cycles.
|
||||
Ran frame, executed 553347 cycles.
|
||||
Ran frame, executed 553213 cycles.
|
||||
Ran frame, executed 553079 cycles.
|
||||
Ran frame, executed 552945 cycles.
|
||||
Ran frame, executed 552811 cycles.
|
||||
Ran frame, executed 553689 cycles.
|
||||
Ran frame, executed 553555 cycles.
|
||||
Ran frame, executed 553421 cycles.
|
||||
Ran frame, executed 553287 cycles.
|
||||
Ran frame, executed 553153 cycles.
|
||||
Ran frame, executed 553019 cycles.
|
||||
Ran frame, executed 552885 cycles.
|
||||
Ran frame, executed 552751 cycles.
|
||||
Ran frame, executed 553629 cycles.
|
||||
Ran frame, executed 553495 cycles.
|
||||
Ran frame, executed 553361 cycles.
|
||||
Ran frame, executed 553227 cycles.
|
||||
Ran frame, executed 553093 cycles.
|
||||
Ran frame, executed 552959 cycles.
|
||||
Ran frame, executed 552825 cycles.
|
||||
Ran frame, executed 552691 cycles.
|
||||
Ran frame, executed 553569 cycles.
|
||||
Ran frame, executed 553435 cycles.
|
||||
Ran frame, executed 553301 cycles.
|
||||
Ran frame, executed 553167 cycles.
|
||||
Ran frame, executed 553033 cycles.
|
||||
Ran frame, executed 552899 cycles.
|
||||
Ran frame, executed 552765 cycles.
|
||||
Ran frame, executed 553643 cycles.
|
||||
Ran frame, executed 553509 cycles.
|
||||
Ran frame, executed 553375 cycles.
|
||||
Ran frame, executed 553241 cycles.
|
||||
Ran frame, executed 553107 cycles.
|
||||
Ran frame, executed 552973 cycles.
|
||||
Ran frame, executed 552839 cycles.
|
||||
Ran frame, executed 552705 cycles.
|
||||
Ran frame, executed 553583 cycles.
|
||||
Ran frame, executed 553449 cycles.
|
||||
Ran frame, executed 553315 cycles.
|
||||
Ran frame, executed 553181 cycles.
|
||||
Ran frame, executed 553047 cycles.
|
||||
Ran frame, executed 552913 cycles.
|
||||
Ran frame, executed 552779 cycles.
|
||||
Ran frame, executed 553657 cycles.
|
||||
Ran frame, executed 553523 cycles.
|
||||
Ran frame, executed 553389 cycles.
|
||||
Ran frame, executed 553255 cycles.
|
||||
Ran frame, executed 553121 cycles.
|
||||
Ran frame, executed 552987 cycles.
|
||||
Ran frame, executed 552853 cycles.
|
||||
Ran frame, executed 552719 cycles.
|
||||
Ran frame, executed 553597 cycles.
|
||||
Ran frame, executed 553463 cycles.
|
||||
Ran frame, executed 553329 cycles.
|
||||
Ran frame, executed 553195 cycles.
|
||||
Ran frame, executed 553061 cycles.
|
||||
Ran frame, executed 552927 cycles.
|
||||
Ran frame, executed 552793 cycles.
|
||||
Ran frame, executed 553671 cycles.
|
||||
Ran frame, executed 553537 cycles.
|
||||
Ran frame, executed 553403 cycles.
|
||||
Ran frame, executed 553269 cycles.
|
||||
Ran frame, executed 553135 cycles.
|
||||
Ran frame, executed 553001 cycles.
|
||||
Ran frame, executed 552867 cycles.
|
||||
Ran frame, executed 552733 cycles.
|
||||
Ran frame, executed 553611 cycles.
|
||||
Ran frame, executed 553477 cycles.
|
||||
Ran frame, executed 553343 cycles.
|
||||
Ran frame, executed 553209 cycles.
|
||||
Ran frame, executed 553075 cycles.
|
||||
Ran frame, executed 552941 cycles.
|
||||
Ran frame, executed 552807 cycles.
|
||||
Ran frame, executed 553685 cycles.
|
||||
Ran frame, executed 553551 cycles.
|
||||
Ran frame, executed 553417 cycles.
|
||||
Ran frame, executed 553283 cycles.
|
||||
Ran frame, executed 553149 cycles.
|
||||
Ran frame, executed 553015 cycles.
|
||||
Ran frame, executed 552881 cycles.
|
||||
Ran frame, executed 552747 cycles.
|
||||
Ran frame, executed 553625 cycles.
|
||||
Ran frame, executed 553491 cycles.
|
||||
Ran frame, executed 553357 cycles.
|
||||
Ran frame, executed 553223 cycles.
|
||||
Ran frame, executed 553089 cycles.
|
||||
Ran frame, executed 552955 cycles.
|
||||
Ran frame, executed 552821 cycles.
|
||||
Ran frame, executed 552687 cycles.
|
||||
Ran frame, executed 553565 cycles.
|
||||
Ran frame, executed 553431 cycles.
|
||||
Ran frame, executed 553297 cycles.
|
||||
Ran frame, executed 553163 cycles.
|
||||
Ran frame, executed 553029 cycles.
|
||||
Ran frame, executed 552895 cycles.
|
||||
Ran frame, executed 552761 cycles.
|
||||
Ran frame, executed 553639 cycles.
|
||||
Ran frame, executed 553505 cycles.
|
||||
Ran frame, executed 553371 cycles.
|
||||
Ran frame, executed 553237 cycles.
|
||||
Ran frame, executed 553103 cycles.
|
||||
Ran frame, executed 552969 cycles.
|
||||
Ran frame, executed 552835 cycles.
|
||||
Ran frame, executed 552701 cycles.
|
||||
Ran frame, executed 553579 cycles.
|
||||
Ran frame, executed 553445 cycles.
|
||||
Ran frame, executed 553311 cycles.
|
||||
Ran frame, executed 553177 cycles.
|
||||
Ran frame, executed 553043 cycles.
|
||||
Ran frame, executed 552909 cycles.
|
||||
Ran frame, executed 552775 cycles.
|
||||
Ran frame, executed 553653 cycles.
|
||||
Ran frame, executed 553519 cycles.
|
||||
Ran frame, executed 553385 cycles.
|
||||
Ran frame, executed 553251 cycles.
|
||||
Ran frame, executed 553117 cycles.
|
||||
Ran frame, executed 552983 cycles.
|
||||
Ran frame, executed 552849 cycles.
|
||||
Ran frame, executed 552715 cycles.
|
||||
Ran frame, executed 553593 cycles.
|
||||
Ran frame, executed 553459 cycles.
|
||||
Ran frame, executed 553325 cycles.
|
||||
Ran frame, executed 553191 cycles.
|
||||
Ran frame, executed 553057 cycles.
|
||||
Ran frame, executed 552923 cycles.
|
||||
Ran frame, executed 552789 cycles.
|
||||
Ran frame, executed 553667 cycles.
|
||||
Ran frame, executed 553533 cycles.
|
||||
Ran frame, executed 553399 cycles.
|
||||
Ran frame, executed 553265 cycles.
|
||||
Ran frame, executed 553131 cycles.
|
||||
Ran frame, executed 552997 cycles.
|
||||
Ran frame, executed 552863 cycles.
|
||||
Ran frame, executed 552729 cycles.
|
||||
Ran frame, executed 553607 cycles.
|
||||
Ran frame, executed 553473 cycles.
|
||||
Ran frame, executed 553339 cycles.
|
||||
Ran frame, executed 553205 cycles.
|
||||
Ran frame, executed 553071 cycles.
|
||||
Ran frame, executed 552937 cycles.
|
||||
Ran frame, executed 552803 cycles.
|
||||
Ran frame, executed 553681 cycles.
|
||||
Ran frame, executed 553547 cycles.
|
||||
Ran frame, executed 553413 cycles.
|
||||
Ran frame, executed 553279 cycles.
|
||||
Ran frame, executed 553145 cycles.
|
||||
Ran frame, executed 553011 cycles.
|
||||
Ran frame, executed 552877 cycles.
|
||||
Ran frame, executed 552743 cycles.
|
||||
Ran frame, executed 553621 cycles.
|
||||
Ran frame, executed 553487 cycles.
|
||||
Ran frame, executed 553353 cycles.
|
||||
Ran frame, executed 553219 cycles.
|
||||
Ran frame, executed 553085 cycles.
|
||||
Ran frame, executed 552951 cycles.
|
||||
Ran frame, executed 552817 cycles.
|
||||
Ran frame, executed 553695 cycles.
|
||||
Ran frame, executed 553561 cycles.
|
||||
Ran frame, executed 553427 cycles.
|
||||
Ran frame, executed 553293 cycles.
|
||||
Ran frame, executed 553159 cycles.
|
||||
Ran frame, executed 553025 cycles.
|
||||
Ran frame, executed 552891 cycles.
|
||||
Ran frame, executed 552757 cycles.
|
||||
Ran frame, executed 553635 cycles.
|
||||
Ran frame, executed 553501 cycles.
|
||||
Ran frame, executed 553367 cycles.
|
||||
Ran frame, executed 553233 cycles.
|
||||
Ran frame, executed 553099 cycles.
|
||||
Ran frame, executed 552965 cycles.
|
||||
Ran frame, executed 552831 cycles.
|
||||
Ran frame, executed 552697 cycles.
|
||||
Ran frame, executed 553575 cycles.
|
||||
Ran frame, executed 553441 cycles.
|
||||
Ran frame, executed 553307 cycles.
|
||||
Ran frame, executed 553173 cycles.
|
||||
Ran frame, executed 553039 cycles.
|
||||
Ran frame, executed 552905 cycles.
|
||||
Ran frame, executed 552771 cycles.
|
||||
Ran frame, executed 553649 cycles.
|
||||
Ran frame, executed 553515 cycles.
|
||||
Ran frame, executed 553381 cycles.
|
||||
Ran frame, executed 553247 cycles.
|
||||
Ran frame, executed 553113 cycles.
|
||||
Ran frame, executed 552979 cycles.
|
||||
Ran frame, executed 552845 cycles.
|
||||
Ran frame, executed 552711 cycles.
|
||||
Ran frame, executed 553589 cycles.
|
||||
Ran frame, executed 553455 cycles.
|
||||
Ran frame, executed 553321 cycles.
|
||||
Ran frame, executed 553187 cycles.
|
||||
Ran frame, executed 553053 cycles.
|
||||
Ran frame, executed 552919 cycles.
|
||||
Ran frame, executed 552785 cycles.
|
||||
Ran frame, executed 553663 cycles.
|
||||
Ran frame, executed 553529 cycles.
|
||||
Ran frame, executed 553395 cycles.
|
||||
Ran frame, executed 553261 cycles.
|
||||
Ran frame, executed 553127 cycles.
|
||||
Ran frame, executed 552993 cycles.
|
||||
Ran frame, executed 552859 cycles.
|
||||
Ran frame, executed 552725 cycles.
|
||||
Ran frame, executed 553603 cycles.
|
||||
Ran frame, executed 553469 cycles.
|
||||
Ran frame, executed 553335 cycles.
|
||||
Ran frame, executed 553201 cycles.
|
||||
Ran frame, executed 553067 cycles.
|
||||
Ran frame, executed 552933 cycles.
|
||||
Ran frame, executed 552799 cycles.
|
||||
Ran frame, executed 553677 cycles.
|
||||
Ran frame, executed 553543 cycles.
|
||||
Ran frame, executed 553409 cycles.
|
||||
Ran frame, executed 553275 cycles.
|
||||
Ran frame, executed 553141 cycles.
|
||||
Ran frame, executed 553007 cycles.
|
||||
Ran frame, executed 552873 cycles.
|
||||
Ran frame, executed 552739 cycles.
|
||||
Ran frame, executed 553617 cycles.
|
||||
Ran frame, executed 553483 cycles.
|
||||
Ran frame, executed 553349 cycles.
|
||||
Ran frame, executed 553215 cycles.
|
||||
Ran frame, executed 553081 cycles.
|
||||
Ran frame, executed 552947 cycles.
|
||||
Ran frame, executed 552813 cycles.
|
||||
Ran frame, executed 553691 cycles.
|
||||
Ran frame, executed 553557 cycles.
|
||||
Ran frame, executed 553423 cycles.
|
||||
Ran frame, executed 553289 cycles.
|
||||
Ran frame, executed 553155 cycles.
|
||||
Ran frame, executed 553021 cycles.
|
||||
Ran frame, executed 552887 cycles.
|
||||
Ran frame, executed 552753 cycles.
|
||||
Ran frame, executed 553631 cycles.
|
||||
Ran frame, executed 553497 cycles.
|
||||
Ran frame, executed 553363 cycles.
|
||||
Ran frame, executed 553229 cycles.
|
||||
Ran frame, executed 553095 cycles.
|
||||
Ran frame, executed 552961 cycles.
|
||||
Ran frame, executed 552827 cycles.
|
||||
Ran frame, executed 552693 cycles.
|
||||
Ran frame, executed 553571 cycles.
|
||||
Ran frame, executed 553437 cycles.
|
||||
Ran frame, executed 553303 cycles.
|
||||
Ran frame, executed 553169 cycles.
|
||||
Ran frame, executed 553035 cycles.
|
||||
Ran frame, executed 552901 cycles.
|
||||
Ran frame, executed 552767 cycles.
|
||||
Ran frame, executed 553645 cycles.
|
||||
Ran frame, executed 553511 cycles.
|
||||
Ran frame, executed 553377 cycles.
|
||||
Ran frame, executed 553243 cycles.
|
||||
Ran frame, executed 553109 cycles.
|
||||
Ran frame, executed 552975 cycles.
|
||||
Ran frame, executed 552841 cycles.
|
||||
Ran frame, executed 552707 cycles.
|
||||
Ran frame, executed 553585 cycles.
|
||||
Ran frame, executed 553451 cycles.
|
||||
Ran frame, executed 553317 cycles.
|
||||
Ran frame, executed 553183 cycles.
|
||||
Ran frame, executed 553049 cycles.
|
||||
Ran frame, executed 552915 cycles.
|
||||
Ran frame, executed 552781 cycles.
|
||||
Ran frame, executed 553659 cycles.
|
||||
Ran frame, executed 553525 cycles.
|
||||
Ran frame, executed 553391 cycles.
|
||||
Ran frame, executed 553257 cycles.
|
||||
Ran frame, executed 553123 cycles.
|
||||
Ran frame, executed 552989 cycles.
|
||||
Ran frame, executed 552855 cycles.
|
||||
Ran frame, executed 552721 cycles.
|
||||
Ran frame, executed 553599 cycles.
|
||||
Ran frame, executed 553465 cycles.
|
||||
Ran frame, executed 553331 cycles.
|
||||
Ran frame, executed 553197 cycles.
|
||||
Ran frame, executed 553063 cycles.
|
||||
Ran frame, executed 552929 cycles.
|
||||
Ran frame, executed 552795 cycles.
|
||||
Ran frame, executed 553673 cycles.
|
||||
Ran frame, executed 553539 cycles.
|
||||
Ran frame, executed 553405 cycles.
|
||||
Ran frame, executed 553271 cycles.
|
||||
Ran frame, executed 553137 cycles.
|
||||
Ran frame, executed 553003 cycles.
|
||||
Ran frame, executed 552869 cycles.
|
||||
Ran frame, executed 552735 cycles.
|
||||
Ran frame, executed 553613 cycles.
|
||||
Ran frame, executed 553479 cycles.
|
||||
Ran frame, executed 553345 cycles.
|
||||
Ran frame, executed 553211 cycles.
|
||||
Ran frame, executed 553077 cycles.
|
||||
Ran frame, executed 552943 cycles.
|
||||
Ran frame, executed 552809 cycles.
|
||||
Ran frame, executed 553687 cycles.
|
||||
Ran frame, executed 553553 cycles.
|
||||
Ran frame, executed 553419 cycles.
|
||||
Ran frame, executed 553285 cycles.
|
||||
Ran frame, executed 553151 cycles.
|
||||
Ran frame, executed 553017 cycles.
|
||||
Ran frame, executed 552883 cycles.
|
||||
Ran frame, executed 552749 cycles.
|
||||
Ran frame, executed 553627 cycles.
|
||||
Ran frame, executed 553493 cycles.
|
||||
Ran frame, executed 553359 cycles.
|
||||
Ran frame, executed 553225 cycles.
|
||||
Ran frame, executed 553091 cycles.
|
||||
Ran frame, executed 552957 cycles.
|
||||
Ran frame, executed 552823 cycles.
|
||||
Ran frame, executed 552689 cycles.
|
||||
Ran frame, executed 553567 cycles.
|
||||
Ran frame, executed 553433 cycles.
|
||||
Ran frame, executed 553299 cycles.
|
||||
Ran frame, executed 553165 cycles.
|
||||
Ran frame, executed 553031 cycles.
|
||||
Ran frame, executed 552897 cycles.
|
||||
Ran frame, executed 552763 cycles.
|
||||
Ran frame, executed 553641 cycles.
|
||||
Ran frame, executed 553507 cycles.
|
||||
Ran frame, executed 553373 cycles.
|
||||
Ran frame, executed 553239 cycles.
|
||||
Ran frame, executed 553105 cycles.
|
||||
Ran frame, executed 552971 cycles.
|
||||
Ran frame, executed 552837 cycles.
|
||||
Ran frame, executed 552703 cycles.
|
||||
Ran frame, executed 553581 cycles.
|
||||
Ran frame, executed 553447 cycles.
|
||||
Ran frame, executed 553313 cycles.
|
||||
Ran frame, executed 553179 cycles.
|
||||
Ran frame, executed 553045 cycles.
|
||||
Ran frame, executed 552911 cycles.
|
||||
Ran frame, executed 552777 cycles.
|
||||
Ran frame, executed 553655 cycles.
|
||||
Ran frame, executed 553521 cycles.
|
||||
Ran frame, executed 553387 cycles.
|
||||
Ran frame, executed 553253 cycles.
|
||||
Ran frame, executed 553119 cycles.
|
||||
Ran frame, executed 552985 cycles.
|
||||
Ran frame, executed 552851 cycles.
|
||||
Ran frame, executed 552717 cycles.
|
||||
Ran frame, executed 553595 cycles.
|
||||
Ran frame, executed 553461 cycles.
|
||||
Ran frame, executed 553327 cycles.
|
||||
Ran frame, executed 553193 cycles.
|
||||
Ran frame, executed 553059 cycles.
|
||||
Ran frame, executed 552925 cycles.
|
||||
Ran frame, executed 552791 cycles.
|
||||
Ran frame, executed 553669 cycles.
|
||||
Ran frame, executed 553535 cycles.
|
||||
Ran frame, executed 553401 cycles.
|
||||
Ran frame, executed 553267 cycles.
|
||||
Ran frame, executed 553133 cycles.
|
||||
Ran frame, executed 552999 cycles.
|
||||
Ran frame, executed 552865 cycles.
|
||||
Ran frame, executed 552731 cycles.
|
||||
Ran frame, executed 553609 cycles.
|
||||
Ran frame, executed 553475 cycles.
|
||||
Ran frame, executed 553341 cycles.
|
||||
Ran frame, executed 553207 cycles.
|
||||
Ran frame, executed 553073 cycles.
|
||||
Ran frame, executed 552939 cycles.
|
||||
Ran frame, executed 552805 cycles.
|
||||
Cpu Read 16 bits from register 0x0000.
|
||||
Cpu Read 16 bits from register 0x0002.
|
||||
Cpu Read 16 bits from register 0x0004.
|
||||
Cpu Read 16 bits from register 0x0006.
|
||||
Cpu Read 16 bits from register 0x0008.
|
||||
Cpu Read 16 bits from register 0x000A.
|
||||
Cpu Read 16 bits from register 0x000C.
|
||||
Cpu Read 16 bits from register 0x000E.
|
||||
Cpu Read 16 bits from register 0x0010.
|
||||
Cpu Read 16 bits from register 0x0012.
|
||||
Cpu Read 16 bits from register 0x0014.
|
||||
Cpu Read 16 bits from register 0x0016.
|
||||
Cpu Read 16 bits from register 0x0018.
|
||||
Cpu Read 16 bits from register 0x001A.
|
||||
Cpu Read 16 bits from register 0x001C.
|
||||
Cpu Read 16 bits from register 0x001E.
|
||||
Cpu Read 16 bits from register 0x0020.
|
||||
Cpu Read 16 bits from register 0x0022.
|
||||
Cpu Read 16 bits from register 0x0024.
|
||||
Cpu Read 16 bits from register 0x0026.
|
||||
Cpu Read 16 bits from register 0x0028.
|
||||
Cpu Read 16 bits from register 0x002A.
|
||||
Cpu Read 16 bits from register 0x002C.
|
||||
Cpu Read 16 bits from register 0x002E.
|
||||
Cpu Read 16 bits from register 0x0030.
|
||||
Cpu Read 16 bits from register 0x0032.
|
||||
Cpu Read 16 bits from register 0x0034.
|
||||
Cpu Read 16 bits from register 0x0036.
|
||||
Cpu Read 16 bits from register 0x0038.
|
||||
Cpu Read 16 bits from register 0x003A.
|
||||
Cpu Read 16 bits from register 0x003C.
|
||||
Cpu Read 16 bits from register 0x003E.
|
||||
Cpu Read 16 bits from register 0x0040.
|
||||
Cpu Read 16 bits from register 0x0042.
|
||||
Cpu Read 16 bits from register 0x0044.
|
||||
Cpu Read 16 bits from register 0x0046.
|
||||
Cpu Read 16 bits from register 0x0048.
|
||||
Cpu Read 16 bits from register 0x004A.
|
||||
Cpu Read 16 bits from register 0x004C.
|
||||
Cpu Read 16 bits from register 0x004E.
|
||||
Cpu Read 16 bits from register 0x0050.
|
||||
Cpu Read 16 bits from register 0x0052.
|
||||
Cpu Read 16 bits from register 0x0054.
|
||||
Cpu Read 16 bits from register 0x0056.
|
||||
Cpu Read 16 bits from register 0x0058.
|
||||
Cpu Read 16 bits from register 0x005A.
|
||||
Cpu Read 16 bits from register 0x005C.
|
||||
Cpu Read 16 bits from register 0x005E.
|
||||
Cpu Read 16 bits from register 0x0060.
|
||||
Cpu Read 16 bits from register 0x0062.
|
||||
Cpu Read 16 bits from register 0x0064.
|
||||
Cpu Read 16 bits from register 0x0066.
|
||||
Cpu Read 16 bits from register 0x0068.
|
||||
Cpu Read 16 bits from register 0x006A.
|
||||
Cpu Read 16 bits from register 0x006C.
|
||||
Cpu Read 16 bits from register 0x006E.
|
||||
Cpu Read 16 bits from register 0x0070.
|
||||
Cpu Read 16 bits from register 0x0072.
|
||||
Cpu Read 16 bits from register 0x0074.
|
||||
Cpu Read 16 bits from register 0x0076.
|
||||
Cpu Read 16 bits from register 0x0078.
|
||||
Cpu Read 16 bits from register 0x007A.
|
||||
Cpu Read 16 bits from register 0x007C.
|
||||
Cpu Read 16 bits from register 0x007E.
|
||||
Cpu Read 16 bits from register 0x0080.
|
||||
Cpu Read 16 bits from register 0x0082.
|
||||
Cpu Read 16 bits from register 0x0084.
|
||||
Cpu Read 16 bits from register 0x0086.
|
||||
Cpu Read 16 bits from register 0x0088.
|
||||
Cpu Read 16 bits from register 0x008A.
|
||||
Cpu Read 16 bits from register 0x008C.
|
||||
Cpu Read 16 bits from register 0x008E.
|
||||
Cpu Read 16 bits from register 0x0090.
|
||||
Cpu Read 16 bits from register 0x0092.
|
||||
Cpu Read 16 bits from register 0x0094.
|
||||
Cpu Read 16 bits from register 0x0096.
|
||||
Cpu Read 16 bits from register 0x0098.
|
||||
Cpu Read 16 bits from register 0x009A.
|
||||
Cpu Read 16 bits from register 0x009C.
|
||||
Cpu Read 16 bits from register 0x009E.
|
||||
Cpu Read 16 bits from register 0x00A0.
|
||||
Cpu Read 16 bits from register 0x00A2.
|
||||
Cpu Read 16 bits from register 0x00A4.
|
||||
Cpu Read 16 bits from register 0x00A6.
|
||||
Cpu Read 16 bits from register 0x00A8.
|
||||
Cpu Read 16 bits from register 0x00AA.
|
||||
Cpu Read 16 bits from register 0x00AC.
|
||||
Cpu Read 16 bits from register 0x00AE.
|
||||
Cpu Read 16 bits from register 0x00B0.
|
||||
Cpu Read 16 bits from register 0x00B2.
|
||||
Cpu Read 16 bits from register 0x00B4.
|
||||
Cpu Read 16 bits from register 0x00B6.
|
||||
Cpu Read 16 bits from register 0x00B8.
|
||||
Cpu Read 16 bits from register 0x00BA.
|
||||
Cpu Read 16 bits from register 0x00BC.
|
||||
Cpu Read 16 bits from register 0x00BE.
|
||||
Cpu Read 16 bits from register 0x00C0.
|
||||
Cpu Read 16 bits from register 0x00C2.
|
||||
Cpu Read 16 bits from register 0x00C4.
|
||||
Cpu Read 16 bits from register 0x00C6.
|
||||
Cpu Read 16 bits from register 0x00C8.
|
||||
Cpu Read 16 bits from register 0x00CA.
|
||||
Cpu Read 16 bits from register 0x00CC.
|
||||
Cpu Read 16 bits from register 0x00CE.
|
||||
Cpu Read 16 bits from register 0x00D0.
|
||||
Cpu Read 16 bits from register 0x00D2.
|
||||
Cpu Read 16 bits from register 0x00D4.
|
||||
Cpu Read 16 bits from register 0x00D6.
|
||||
Cpu Read 16 bits from register 0x00D8.
|
||||
Cpu Read 16 bits from register 0x00DA.
|
||||
Cpu Read 16 bits from register 0x00DC.
|
||||
Cpu Read 16 bits from register 0x00DE.
|
||||
Cpu Read 16 bits from register 0x00E0.
|
||||
Cpu Read 16 bits from register 0x00E2.
|
||||
Cpu Read 16 bits from register 0x00E4.
|
||||
Cpu Read 16 bits from register 0x00E6.
|
||||
Cpu Read 16 bits from register 0x00E8.
|
||||
Cpu Read 16 bits from register 0x00EA.
|
||||
Cpu Read 16 bits from register 0x00EC.
|
||||
Cpu Read 16 bits from register 0x00EE.
|
||||
Cpu Read 16 bits from register 0x00F0.
|
||||
Cpu Read 16 bits from register 0x00F2.
|
||||
Cpu Read 16 bits from register 0x00F4.
|
||||
Cpu Read 16 bits from register 0x00F6.
|
||||
Cpu Read 16 bits from register 0x00F8.
|
||||
Cpu Read 16 bits from register 0x00FA.
|
||||
Cpu Read 16 bits from register 0x00FC.
|
||||
Cpu Read 16 bits from register 0x00FE.
|
||||
Cpu Read 16 bits from register 0x0100.
|
||||
Cpu Read 16 bits from register 0x0102.
|
||||
Tried to write 16 bits to ROM at 0x10002B04 with value of 0x0008.
|
||||
Ran frame, executed 553683 cycles.
|
||||
Ran frame, executed 553549 cycles.
|
||||
Ran frame, executed 553415 cycles.
|
||||
Ran frame, executed 553281 cycles.
|
||||
Ran frame, executed 553147 cycles.
|
||||
Ran frame, executed 553013 cycles.
|
||||
Ran frame, executed 552879 cycles.
|
||||
Ran frame, executed 552745 cycles.
|
||||
Ran frame, executed 553623 cycles.
|
||||
Ran frame, executed 553489 cycles.
|
||||
Ran frame, executed 553355 cycles.
|
||||
Ran frame, executed 553221 cycles.
|
||||
Ran frame, executed 553087 cycles.
|
||||
Ran frame, executed 552953 cycles.
|
||||
Ran frame, executed 552819 cycles.
|
||||
Ran frame, executed 553697 cycles.
|
||||
Ran frame, executed 553563 cycles.
|
||||
Ran frame, executed 553429 cycles.
|
||||
Ran frame, executed 553295 cycles.
|
||||
Ran frame, executed 553161 cycles.
|
||||
Ran frame, executed 553027 cycles.
|
||||
Ran frame, executed 552893 cycles.
|
||||
Ran frame, executed 552759 cycles.
|
||||
Ran frame, executed 553637 cycles.
|
||||
Ran frame, executed 553503 cycles.
|
||||
Ran frame, executed 553369 cycles.
|
||||
Ran frame, executed 553235 cycles.
|
||||
Ran frame, executed 553101 cycles.
|
||||
Ran frame, executed 552967 cycles.
|
||||
Ran frame, executed 552833 cycles.
|
||||
Ran frame, executed 552699 cycles.
|
||||
Ran frame, executed 553577 cycles.
|
||||
Ran frame, executed 553443 cycles.
|
||||
Ran frame, executed 553309 cycles.
|
||||
Ran frame, executed 553175 cycles.
|
||||
Ran frame, executed 553041 cycles.
|
||||
Ran frame, executed 552907 cycles.
|
||||
Ran frame, executed 552773 cycles.
|
||||
Ran frame, executed 553651 cycles.
|
||||
Ran frame, executed 553517 cycles.
|
||||
Ran frame, executed 553383 cycles.
|
||||
Ran frame, executed 553249 cycles.
|
||||
Ran frame, executed 553115 cycles.
|
||||
Ran frame, executed 552981 cycles.
|
||||
Ran frame, executed 552847 cycles.
|
||||
Ran frame, executed 552713 cycles.
|
||||
Ran frame, executed 553591 cycles.
|
||||
Ran frame, executed 553457 cycles.
|
||||
Ran frame, executed 553323 cycles.
|
||||
Ran frame, executed 553189 cycles.
|
||||
Ran frame, executed 553055 cycles.
|
||||
Ran frame, executed 552921 cycles.
|
||||
Ran frame, executed 552787 cycles.
|
||||
Ran frame, executed 553665 cycles.
|
||||
Ran frame, executed 553531 cycles.
|
||||
Ran frame, executed 553397 cycles.
|
||||
Ran frame, executed 553263 cycles.
|
||||
Ran frame, executed 553129 cycles.
|
||||
Ran frame, executed 552995 cycles.
|
||||
Ran frame, executed 552861 cycles.
|
||||
Ran frame, executed 552727 cycles.
|
||||
Ran frame, executed 553605 cycles.
|
||||
Ran frame, executed 553471 cycles.
|
||||
Ran frame, executed 553337 cycles.
|
||||
Ran frame, executed 553203 cycles.
|
||||
Ran frame, executed 553069 cycles.
|
||||
Ran frame, executed 552935 cycles.
|
||||
Ran frame, executed 552801 cycles.
|
||||
Ran frame, executed 553679 cycles.
|
||||
Ran frame, executed 553545 cycles.
|
||||
Ran frame, executed 553411 cycles.
|
||||
Ran frame, executed 553277 cycles.
|
||||
Ran frame, executed 553143 cycles.
|
||||
Ran frame, executed 553009 cycles.
|
||||
Ran frame, executed 552875 cycles.
|
||||
Ran frame, executed 552741 cycles.
|
||||
Ran frame, executed 553619 cycles.
|
||||
Ran frame, executed 553485 cycles.
|
||||
Ran frame, executed 553351 cycles.
|
||||
Ran frame, executed 553217 cycles.
|
||||
Ran frame, executed 553083 cycles.
|
||||
Ran frame, executed 552949 cycles.
|
||||
Ran frame, executed 552815 cycles.
|
||||
Ran frame, executed 553693 cycles.
|
||||
Ran frame, executed 553559 cycles.
|
||||
Ran frame, executed 553425 cycles.
|
||||
Ran frame, executed 553291 cycles.
|
||||
Ran frame, executed 553157 cycles.
|
||||
Ran frame, executed 553023 cycles.
|
||||
Ran frame, executed 552889 cycles.
|
||||
Ran frame, executed 552755 cycles.
|
||||
Ran frame, executed 553633 cycles.
|
||||
Ran frame, executed 553499 cycles.
|
||||
Ran frame, executed 553365 cycles.
|
||||
Ran frame, executed 553231 cycles.
|
||||
Ran frame, executed 553097 cycles.
|
||||
Ran frame, executed 552963 cycles.
|
||||
Ran frame, executed 552829 cycles.
|
||||
Ran frame, executed 552695 cycles.
|
||||
Ran frame, executed 553573 cycles.
|
||||
Ran frame, executed 553439 cycles.
|
||||
Ran frame, executed 553305 cycles.
|
||||
Ran frame, executed 553171 cycles.
|
||||
Ran frame, executed 553037 cycles.
|
||||
Ran frame, executed 552903 cycles.
|
||||
Ran frame, executed 552769 cycles.
|
||||
Ran frame, executed 553647 cycles.
|
||||
Ran frame, executed 553513 cycles.
|
||||
Ran frame, executed 553379 cycles.
|
||||
Ran frame, executed 553245 cycles.
|
||||
Ran frame, executed 553111 cycles.
|
||||
Ran frame, executed 552977 cycles.
|
||||
Ran frame, executed 552843 cycles.
|
||||
Ran frame, executed 552709 cycles.
|
||||
Ran frame, executed 553587 cycles.
|
||||
Ran frame, executed 553453 cycles.
|
||||
Ran frame, executed 553319 cycles.
|
||||
Ran frame, executed 553185 cycles.
|
||||
Ran frame, executed 553051 cycles.
|
||||
Ran frame, executed 552917 cycles.
|
||||
Ran frame, executed 552783 cycles.
|
||||
Ran frame, executed 553661 cycles.
|
||||
Ran frame, executed 553527 cycles.
|
||||
Ran frame, executed 553393 cycles.
|
||||
Ran frame, executed 553259 cycles.
|
||||
Ran frame, executed 553125 cycles.
|
||||
Ran frame, executed 552991 cycles.
|
||||
Ran frame, executed 552857 cycles.
|
||||
Ran frame, executed 552723 cycles.
|
||||
Ran frame, executed 553601 cycles.
|
||||
Ran frame, executed 553467 cycles.
|
||||
Ran frame, executed 553333 cycles.
|
||||
Ran frame, executed 553199 cycles.
|
||||
Ran frame, executed 553065 cycles.
|
||||
Ran frame, executed 552931 cycles.
|
||||
Ran frame, executed 552797 cycles.
|
||||
Ran frame, executed 553675 cycles.
|
||||
Ran frame, executed 553541 cycles.
|
||||
Ran frame, executed 553407 cycles.
|
||||
Ran frame, executed 553273 cycles.
|
||||
Ran frame, executed 553139 cycles.
|
||||
Ran frame, executed 553005 cycles.
|
||||
Ran frame, executed 552871 cycles.
|
||||
Ran frame, executed 552737 cycles.
|
||||
Ran frame, executed 553615 cycles.
|
||||
Ran frame, executed 553481 cycles.
|
||||
Ran frame, executed 553347 cycles.
|
||||
Ran frame, executed 553213 cycles.
|
||||
Ran frame, executed 553079 cycles.
|
||||
Ran frame, executed 552945 cycles.
|
||||
Ran frame, executed 552811 cycles.
|
||||
Ran frame, executed 553689 cycles.
|
||||
Ran frame, executed 553555 cycles.
|
||||
Ran frame, executed 553421 cycles.
|
||||
Ran frame, executed 553287 cycles.
|
||||
Ran frame, executed 553153 cycles.
|
||||
Ran frame, executed 553019 cycles.
|
||||
Ran frame, executed 552885 cycles.
|
||||
Ran frame, executed 552751 cycles.
|
||||
Ran frame, executed 553629 cycles.
|
||||
Ran frame, executed 553495 cycles.
|
||||
Ran frame, executed 553361 cycles.
|
||||
Ran frame, executed 553227 cycles.
|
||||
Ran frame, executed 553093 cycles.
|
||||
Ran frame, executed 552959 cycles.
|
||||
Ran frame, executed 552825 cycles.
|
||||
Ran frame, executed 552691 cycles.
|
||||
Ran frame, executed 553569 cycles.
|
||||
Ran frame, executed 553435 cycles.
|
||||
Ran frame, executed 553301 cycles.
|
||||
Ran frame, executed 553167 cycles.
|
||||
Ran frame, executed 553033 cycles.
|
||||
Ran frame, executed 552899 cycles.
|
||||
Ran frame, executed 552765 cycles.
|
||||
Ran frame, executed 553643 cycles.
|
||||
Ran frame, executed 553509 cycles.
|
||||
Ran frame, executed 553375 cycles.
|
||||
Ran frame, executed 553241 cycles.
|
||||
Ran frame, executed 553107 cycles.
|
||||
Ran frame, executed 552973 cycles.
|
||||
Ran frame, executed 552839 cycles.
|
||||
Ran frame, executed 552705 cycles.
|
||||
Ran frame, executed 553583 cycles.
|
||||
Ran frame, executed 553449 cycles.
|
||||
Ran frame, executed 553315 cycles.
|
||||
Ran frame, executed 553181 cycles.
|
||||
Ran frame, executed 553047 cycles.
|
||||
667
tests/HwRegTest8.txt
Normal file
667
tests/HwRegTest8.txt
Normal file
@@ -0,0 +1,667 @@
|
||||
Opcode 0xF800 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF801 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF802 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF803 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF804 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF805 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF806 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF807 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF808 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF809 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF80A is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF80B is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF80C is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF80D is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF80E is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF80F is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF810 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF811 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF812 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF813 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF814 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF815 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF816 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF817 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF818 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF819 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF81A is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF81B is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF81C is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF81D is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF81E is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF81F is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF820 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF821 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF822 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF823 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF824 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF825 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF826 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF827 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF828 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF829 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF82A is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF82B is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF82C is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF82D is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF82E is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF82F is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF830 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF831 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF832 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF833 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF834 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF835 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF836 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF837 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF838 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF839 is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF83A is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF83B is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF83C is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF83D is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF83E is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
Opcode 0xF83F is already taken, opcode function is 0x119541D0, illegal is 0x1192ABE0!
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0304.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0306.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0B0A.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0409.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x0408.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0410.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0411.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041C.
|
||||
Cpu Wrote 8 bits of 0x000000F0 to register 0x0419.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0418.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041D.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041F.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0419.
|
||||
Cpu Wrote 16 bits of 0x00000F00 to register 0x030E.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041E.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0421.
|
||||
Cpu Wrote 8 bits of 0x00000088 to register 0x0420.
|
||||
Cpu Wrote 8 bits of 0x00000002 to register 0x0429.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0428.
|
||||
Cpu Wrote 8 bits of 0x0000002C to register 0x0430.
|
||||
Cpu Wrote 8 bits of 0x00000004 to register 0x0431.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0439.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0438.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0441.
|
||||
Cpu Wrote 8 bits of 0x000000F9 to register 0x0440.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0448.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0449.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0A27.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0600.
|
||||
Cpu Wrote 8 bits of 0x000000F8 to register 0x0000.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0100.
|
||||
Cpu Wrote 16 bits of 0x000001AB to register 0x0110.
|
||||
Cpu Wrote 16 bits of 0x0000FFC0 to register 0x0102.
|
||||
Cpu Wrote 16 bits of 0x000001F3 to register 0x0112.
|
||||
Cpu Wrote 16 bits of 0x00008200 to register 0x0104.
|
||||
Cpu Wrote 16 bits of 0x00000101 to register 0x0114.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0106.
|
||||
Cpu Wrote 16 bits of 0x00001E83 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000040 to register 0x010A.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00004020 to register 0x0C00.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00001A81 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Read 16 bits from register 0x0310.
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
Ran frame, executed 553633 cycles.
|
||||
Ran frame, executed 553499 cycles.
|
||||
Ran frame, executed 553365 cycles.
|
||||
Ran frame, executed 553231 cycles.
|
||||
Ran frame, executed 553097 cycles.
|
||||
Ran frame, executed 552963 cycles.
|
||||
Ran frame, executed 552829 cycles.
|
||||
Ran frame, executed 552695 cycles.
|
||||
Ran frame, executed 553573 cycles.
|
||||
Ran frame, executed 553439 cycles.
|
||||
Ran frame, executed 553305 cycles.
|
||||
Ran frame, executed 553171 cycles.
|
||||
Ran frame, executed 553037 cycles.
|
||||
Ran frame, executed 552903 cycles.
|
||||
Ran frame, executed 552769 cycles.
|
||||
Ran frame, executed 553647 cycles.
|
||||
Ran frame, executed 553513 cycles.
|
||||
Ran frame, executed 553379 cycles.
|
||||
Ran frame, executed 553245 cycles.
|
||||
Ran frame, executed 553111 cycles.
|
||||
Ran frame, executed 552977 cycles.
|
||||
Ran frame, executed 552843 cycles.
|
||||
Ran frame, executed 552709 cycles.
|
||||
Ran frame, executed 553587 cycles.
|
||||
Ran frame, executed 553453 cycles.
|
||||
Ran frame, executed 553319 cycles.
|
||||
Ran frame, executed 553185 cycles.
|
||||
Ran frame, executed 553051 cycles.
|
||||
Ran frame, executed 552917 cycles.
|
||||
Ran frame, executed 552783 cycles.
|
||||
Ran frame, executed 553661 cycles.
|
||||
Ran frame, executed 553527 cycles.
|
||||
Ran frame, executed 553393 cycles.
|
||||
Ran frame, executed 553259 cycles.
|
||||
Ran frame, executed 553125 cycles.
|
||||
Ran frame, executed 552991 cycles.
|
||||
Ran frame, executed 552857 cycles.
|
||||
Ran frame, executed 552723 cycles.
|
||||
Ran frame, executed 553601 cycles.
|
||||
Ran frame, executed 553467 cycles.
|
||||
Ran frame, executed 553333 cycles.
|
||||
Ran frame, executed 553199 cycles.
|
||||
Ran frame, executed 553065 cycles.
|
||||
Ran frame, executed 552931 cycles.
|
||||
Ran frame, executed 552797 cycles.
|
||||
Ran frame, executed 553675 cycles.
|
||||
Ran frame, executed 553541 cycles.
|
||||
Ran frame, executed 553407 cycles.
|
||||
Ran frame, executed 553273 cycles.
|
||||
Ran frame, executed 553139 cycles.
|
||||
Ran frame, executed 553005 cycles.
|
||||
Ran frame, executed 552871 cycles.
|
||||
Ran frame, executed 552737 cycles.
|
||||
Ran frame, executed 553615 cycles.
|
||||
Ran frame, executed 553481 cycles.
|
||||
Ran frame, executed 553347 cycles.
|
||||
Ran frame, executed 553213 cycles.
|
||||
Ran frame, executed 553079 cycles.
|
||||
Ran frame, executed 552945 cycles.
|
||||
Ran frame, executed 552811 cycles.
|
||||
Ran frame, executed 553689 cycles.
|
||||
Ran frame, executed 553555 cycles.
|
||||
Ran frame, executed 553421 cycles.
|
||||
Ran frame, executed 553287 cycles.
|
||||
Ran frame, executed 553153 cycles.
|
||||
Ran frame, executed 553019 cycles.
|
||||
Ran frame, executed 552885 cycles.
|
||||
Ran frame, executed 552751 cycles.
|
||||
Ran frame, executed 553629 cycles.
|
||||
Ran frame, executed 553495 cycles.
|
||||
Ran frame, executed 553361 cycles.
|
||||
Ran frame, executed 553227 cycles.
|
||||
Ran frame, executed 553093 cycles.
|
||||
Ran frame, executed 552959 cycles.
|
||||
Ran frame, executed 552825 cycles.
|
||||
Ran frame, executed 552691 cycles.
|
||||
Ran frame, executed 553569 cycles.
|
||||
Ran frame, executed 553435 cycles.
|
||||
Ran frame, executed 553301 cycles.
|
||||
Ran frame, executed 553167 cycles.
|
||||
Ran frame, executed 553033 cycles.
|
||||
Ran frame, executed 552899 cycles.
|
||||
Ran frame, executed 552765 cycles.
|
||||
Ran frame, executed 553643 cycles.
|
||||
Ran frame, executed 553509 cycles.
|
||||
Ran frame, executed 553375 cycles.
|
||||
Ran frame, executed 553241 cycles.
|
||||
Ran frame, executed 553107 cycles.
|
||||
Ran frame, executed 552973 cycles.
|
||||
Ran frame, executed 552839 cycles.
|
||||
Ran frame, executed 552705 cycles.
|
||||
Ran frame, executed 553583 cycles.
|
||||
Ran frame, executed 553449 cycles.
|
||||
Ran frame, executed 553315 cycles.
|
||||
Ran frame, executed 553181 cycles.
|
||||
Ran frame, executed 553047 cycles.
|
||||
Ran frame, executed 552913 cycles.
|
||||
Ran frame, executed 552779 cycles.
|
||||
Ran frame, executed 553657 cycles.
|
||||
Ran frame, executed 553523 cycles.
|
||||
Ran frame, executed 553389 cycles.
|
||||
Ran frame, executed 553255 cycles.
|
||||
Ran frame, executed 553121 cycles.
|
||||
Ran frame, executed 552987 cycles.
|
||||
Ran frame, executed 552853 cycles.
|
||||
Ran frame, executed 552719 cycles.
|
||||
Ran frame, executed 553597 cycles.
|
||||
Ran frame, executed 553463 cycles.
|
||||
Ran frame, executed 553329 cycles.
|
||||
Ran frame, executed 553195 cycles.
|
||||
Ran frame, executed 553061 cycles.
|
||||
Ran frame, executed 552927 cycles.
|
||||
Ran frame, executed 552793 cycles.
|
||||
Ran frame, executed 553671 cycles.
|
||||
Ran frame, executed 553537 cycles.
|
||||
Ran frame, executed 553403 cycles.
|
||||
Ran frame, executed 553269 cycles.
|
||||
Ran frame, executed 553135 cycles.
|
||||
Ran frame, executed 553001 cycles.
|
||||
Ran frame, executed 552867 cycles.
|
||||
Ran frame, executed 552733 cycles.
|
||||
Ran frame, executed 553611 cycles.
|
||||
Ran frame, executed 553477 cycles.
|
||||
Ran frame, executed 553343 cycles.
|
||||
Ran frame, executed 553209 cycles.
|
||||
Ran frame, executed 553075 cycles.
|
||||
Ran frame, executed 552941 cycles.
|
||||
Ran frame, executed 552807 cycles.
|
||||
Ran frame, executed 553685 cycles.
|
||||
Ran frame, executed 553551 cycles.
|
||||
Ran frame, executed 553417 cycles.
|
||||
Ran frame, executed 553283 cycles.
|
||||
Ran frame, executed 553149 cycles.
|
||||
Ran frame, executed 553015 cycles.
|
||||
Ran frame, executed 552881 cycles.
|
||||
Ran frame, executed 552747 cycles.
|
||||
Ran frame, executed 553625 cycles.
|
||||
Ran frame, executed 553491 cycles.
|
||||
Ran frame, executed 553357 cycles.
|
||||
Ran frame, executed 553223 cycles.
|
||||
Ran frame, executed 553089 cycles.
|
||||
Ran frame, executed 552955 cycles.
|
||||
Ran frame, executed 552821 cycles.
|
||||
Ran frame, executed 552687 cycles.
|
||||
Ran frame, executed 553565 cycles.
|
||||
Ran frame, executed 553431 cycles.
|
||||
Ran frame, executed 553297 cycles.
|
||||
Ran frame, executed 553163 cycles.
|
||||
Ran frame, executed 553029 cycles.
|
||||
Ran frame, executed 552895 cycles.
|
||||
Ran frame, executed 552761 cycles.
|
||||
Ran frame, executed 553639 cycles.
|
||||
Ran frame, executed 553505 cycles.
|
||||
Ran frame, executed 553371 cycles.
|
||||
Ran frame, executed 553237 cycles.
|
||||
Ran frame, executed 553103 cycles.
|
||||
Ran frame, executed 552969 cycles.
|
||||
Ran frame, executed 552835 cycles.
|
||||
Ran frame, executed 552701 cycles.
|
||||
Ran frame, executed 553579 cycles.
|
||||
Ran frame, executed 553445 cycles.
|
||||
Ran frame, executed 553311 cycles.
|
||||
Ran frame, executed 553177 cycles.
|
||||
Ran frame, executed 553043 cycles.
|
||||
Ran frame, executed 552909 cycles.
|
||||
Ran frame, executed 552775 cycles.
|
||||
Ran frame, executed 553653 cycles.
|
||||
Ran frame, executed 553519 cycles.
|
||||
Ran frame, executed 553385 cycles.
|
||||
Ran frame, executed 553251 cycles.
|
||||
Ran frame, executed 553117 cycles.
|
||||
Ran frame, executed 552983 cycles.
|
||||
Ran frame, executed 552849 cycles.
|
||||
Ran frame, executed 552715 cycles.
|
||||
Ran frame, executed 553593 cycles.
|
||||
Ran frame, executed 553459 cycles.
|
||||
Ran frame, executed 553325 cycles.
|
||||
Ran frame, executed 553191 cycles.
|
||||
Ran frame, executed 553057 cycles.
|
||||
Ran frame, executed 552923 cycles.
|
||||
Ran frame, executed 552789 cycles.
|
||||
Ran frame, executed 553667 cycles.
|
||||
Ran frame, executed 553533 cycles.
|
||||
Ran frame, executed 553399 cycles.
|
||||
Ran frame, executed 553265 cycles.
|
||||
Ran frame, executed 553131 cycles.
|
||||
Ran frame, executed 552997 cycles.
|
||||
Ran frame, executed 552863 cycles.
|
||||
Ran frame, executed 552729 cycles.
|
||||
Ran frame, executed 553607 cycles.
|
||||
Ran frame, executed 553473 cycles.
|
||||
Ran frame, executed 553339 cycles.
|
||||
Ran frame, executed 553205 cycles.
|
||||
Ran frame, executed 553071 cycles.
|
||||
Ran frame, executed 552937 cycles.
|
||||
Ran frame, executed 552803 cycles.
|
||||
Ran frame, executed 553681 cycles.
|
||||
Ran frame, executed 553547 cycles.
|
||||
Ran frame, executed 553413 cycles.
|
||||
Ran frame, executed 553279 cycles.
|
||||
Ran frame, executed 553145 cycles.
|
||||
Ran frame, executed 553011 cycles.
|
||||
Ran frame, executed 552877 cycles.
|
||||
Ran frame, executed 552743 cycles.
|
||||
Ran frame, executed 553621 cycles.
|
||||
Ran frame, executed 553487 cycles.
|
||||
Ran frame, executed 553353 cycles.
|
||||
Ran frame, executed 553219 cycles.
|
||||
Ran frame, executed 553085 cycles.
|
||||
Ran frame, executed 552951 cycles.
|
||||
Ran frame, executed 552817 cycles.
|
||||
Ran frame, executed 553695 cycles.
|
||||
Ran frame, executed 553561 cycles.
|
||||
Ran frame, executed 553427 cycles.
|
||||
Ran frame, executed 553293 cycles.
|
||||
Ran frame, executed 553159 cycles.
|
||||
Ran frame, executed 553025 cycles.
|
||||
Ran frame, executed 552891 cycles.
|
||||
Ran frame, executed 552757 cycles.
|
||||
Ran frame, executed 553635 cycles.
|
||||
Ran frame, executed 553501 cycles.
|
||||
Ran frame, executed 553367 cycles.
|
||||
Ran frame, executed 553233 cycles.
|
||||
Ran frame, executed 553099 cycles.
|
||||
Ran frame, executed 552965 cycles.
|
||||
Ran frame, executed 552831 cycles.
|
||||
Ran frame, executed 552697 cycles.
|
||||
Ran frame, executed 553575 cycles.
|
||||
Ran frame, executed 553441 cycles.
|
||||
Ran frame, executed 553307 cycles.
|
||||
Ran frame, executed 553173 cycles.
|
||||
Ran frame, executed 553039 cycles.
|
||||
Ran frame, executed 552905 cycles.
|
||||
Ran frame, executed 552771 cycles.
|
||||
Ran frame, executed 553649 cycles.
|
||||
Ran frame, executed 553515 cycles.
|
||||
Ran frame, executed 553381 cycles.
|
||||
Ran frame, executed 553247 cycles.
|
||||
Ran frame, executed 553113 cycles.
|
||||
Ran frame, executed 552979 cycles.
|
||||
Ran frame, executed 552845 cycles.
|
||||
Ran frame, executed 552711 cycles.
|
||||
Ran frame, executed 553589 cycles.
|
||||
Ran frame, executed 553455 cycles.
|
||||
Ran frame, executed 553321 cycles.
|
||||
Ran frame, executed 553187 cycles.
|
||||
Ran frame, executed 553053 cycles.
|
||||
Ran frame, executed 552919 cycles.
|
||||
Ran frame, executed 552785 cycles.
|
||||
Ran frame, executed 553663 cycles.
|
||||
Ran frame, executed 553529 cycles.
|
||||
Ran frame, executed 553395 cycles.
|
||||
Ran frame, executed 553261 cycles.
|
||||
Ran frame, executed 553127 cycles.
|
||||
Ran frame, executed 552993 cycles.
|
||||
Ran frame, executed 552859 cycles.
|
||||
Ran frame, executed 552725 cycles.
|
||||
Ran frame, executed 553603 cycles.
|
||||
Ran frame, executed 553469 cycles.
|
||||
Ran frame, executed 553335 cycles.
|
||||
Ran frame, executed 553201 cycles.
|
||||
Ran frame, executed 553067 cycles.
|
||||
Ran frame, executed 552933 cycles.
|
||||
Ran frame, executed 552799 cycles.
|
||||
Ran frame, executed 553677 cycles.
|
||||
Ran frame, executed 553543 cycles.
|
||||
Ran frame, executed 553409 cycles.
|
||||
Ran frame, executed 553275 cycles.
|
||||
Ran frame, executed 553141 cycles.
|
||||
Ran frame, executed 553007 cycles.
|
||||
Ran frame, executed 552873 cycles.
|
||||
Ran frame, executed 552739 cycles.
|
||||
Ran frame, executed 553617 cycles.
|
||||
Ran frame, executed 553483 cycles.
|
||||
Ran frame, executed 553349 cycles.
|
||||
Ran frame, executed 553215 cycles.
|
||||
Ran frame, executed 553081 cycles.
|
||||
Ran frame, executed 552947 cycles.
|
||||
Ran frame, executed 552813 cycles.
|
||||
Ran frame, executed 553691 cycles.
|
||||
Ran frame, executed 553557 cycles.
|
||||
Ran frame, executed 553423 cycles.
|
||||
Ran frame, executed 553289 cycles.
|
||||
Ran frame, executed 553155 cycles.
|
||||
Ran frame, executed 553021 cycles.
|
||||
Ran frame, executed 552887 cycles.
|
||||
Ran frame, executed 552753 cycles.
|
||||
Ran frame, executed 553631 cycles.
|
||||
Ran frame, executed 553497 cycles.
|
||||
Ran frame, executed 553363 cycles.
|
||||
Ran frame, executed 553229 cycles.
|
||||
Ran frame, executed 553095 cycles.
|
||||
Ran frame, executed 552961 cycles.
|
||||
Ran frame, executed 552827 cycles.
|
||||
Ran frame, executed 552693 cycles.
|
||||
Ran frame, executed 553571 cycles.
|
||||
Ran frame, executed 553437 cycles.
|
||||
Ran frame, executed 553303 cycles.
|
||||
Ran frame, executed 553169 cycles.
|
||||
Ran frame, executed 553035 cycles.
|
||||
Ran frame, executed 552901 cycles.
|
||||
Ran frame, executed 552767 cycles.
|
||||
Ran frame, executed 553645 cycles.
|
||||
Ran frame, executed 553511 cycles.
|
||||
Ran frame, executed 553377 cycles.
|
||||
Ran frame, executed 553243 cycles.
|
||||
Ran frame, executed 553109 cycles.
|
||||
Ran frame, executed 552975 cycles.
|
||||
Ran frame, executed 552841 cycles.
|
||||
Ran frame, executed 552707 cycles.
|
||||
Ran frame, executed 553585 cycles.
|
||||
Ran frame, executed 553451 cycles.
|
||||
Ran frame, executed 553317 cycles.
|
||||
Ran frame, executed 553183 cycles.
|
||||
Ran frame, executed 553049 cycles.
|
||||
Ran frame, executed 552915 cycles.
|
||||
Ran frame, executed 552781 cycles.
|
||||
Ran frame, executed 553659 cycles.
|
||||
Ran frame, executed 553525 cycles.
|
||||
Ran frame, executed 553391 cycles.
|
||||
Ran frame, executed 553257 cycles.
|
||||
Ran frame, executed 553123 cycles.
|
||||
Ran frame, executed 552989 cycles.
|
||||
Ran frame, executed 552855 cycles.
|
||||
Ran frame, executed 552721 cycles.
|
||||
Ran frame, executed 553599 cycles.
|
||||
Ran frame, executed 553465 cycles.
|
||||
Ran frame, executed 553331 cycles.
|
||||
Ran frame, executed 553197 cycles.
|
||||
Ran frame, executed 553063 cycles.
|
||||
Ran frame, executed 552929 cycles.
|
||||
Ran frame, executed 552795 cycles.
|
||||
Ran frame, executed 553673 cycles.
|
||||
Ran frame, executed 553539 cycles.
|
||||
Ran frame, executed 553405 cycles.
|
||||
Ran frame, executed 553271 cycles.
|
||||
Ran frame, executed 553137 cycles.
|
||||
Ran frame, executed 553003 cycles.
|
||||
Ran frame, executed 552869 cycles.
|
||||
Ran frame, executed 552735 cycles.
|
||||
Ran frame, executed 553613 cycles.
|
||||
Ran frame, executed 553479 cycles.
|
||||
Ran frame, executed 553345 cycles.
|
||||
Ran frame, executed 553211 cycles.
|
||||
Ran frame, executed 553077 cycles.
|
||||
Ran frame, executed 552943 cycles.
|
||||
Ran frame, executed 552809 cycles.
|
||||
Ran frame, executed 553687 cycles.
|
||||
Ran frame, executed 553553 cycles.
|
||||
Ran frame, executed 553419 cycles.
|
||||
Ran frame, executed 553285 cycles.
|
||||
Ran frame, executed 553151 cycles.
|
||||
Ran frame, executed 553017 cycles.
|
||||
Ran frame, executed 552883 cycles.
|
||||
Ran frame, executed 552749 cycles.
|
||||
Ran frame, executed 553627 cycles.
|
||||
Ran frame, executed 553493 cycles.
|
||||
Ran frame, executed 553359 cycles.
|
||||
Ran frame, executed 553225 cycles.
|
||||
Ran frame, executed 553091 cycles.
|
||||
Ran frame, executed 552957 cycles.
|
||||
Ran frame, executed 552823 cycles.
|
||||
Ran frame, executed 552689 cycles.
|
||||
Ran frame, executed 553567 cycles.
|
||||
Ran frame, executed 553433 cycles.
|
||||
Ran frame, executed 553299 cycles.
|
||||
Ran frame, executed 553165 cycles.
|
||||
Ran frame, executed 553031 cycles.
|
||||
Ran frame, executed 552897 cycles.
|
||||
Ran frame, executed 552763 cycles.
|
||||
Ran frame, executed 553641 cycles.
|
||||
Ran frame, executed 553507 cycles.
|
||||
Ran frame, executed 553373 cycles.
|
||||
Ran frame, executed 553239 cycles.
|
||||
Ran frame, executed 553105 cycles.
|
||||
Ran frame, executed 552971 cycles.
|
||||
Ran frame, executed 552837 cycles.
|
||||
Ran frame, executed 552703 cycles.
|
||||
Ran frame, executed 553581 cycles.
|
||||
Ran frame, executed 553447 cycles.
|
||||
Ran frame, executed 553313 cycles.
|
||||
Ran frame, executed 553179 cycles.
|
||||
Ran frame, executed 553045 cycles.
|
||||
Ran frame, executed 552911 cycles.
|
||||
Ran frame, executed 552777 cycles.
|
||||
Ran frame, executed 553655 cycles.
|
||||
Ran frame, executed 553521 cycles.
|
||||
Ran frame, executed 553387 cycles.
|
||||
Ran frame, executed 553253 cycles.
|
||||
Ran frame, executed 553119 cycles.
|
||||
Ran frame, executed 552985 cycles.
|
||||
Ran frame, executed 552851 cycles.
|
||||
Ran frame, executed 552717 cycles.
|
||||
Ran frame, executed 553595 cycles.
|
||||
Ran frame, executed 553461 cycles.
|
||||
Ran frame, executed 553327 cycles.
|
||||
Ran frame, executed 553193 cycles.
|
||||
Ran frame, executed 553059 cycles.
|
||||
Ran frame, executed 552925 cycles.
|
||||
Ran frame, executed 552791 cycles.
|
||||
Ran frame, executed 553669 cycles.
|
||||
Ran frame, executed 553535 cycles.
|
||||
Ran frame, executed 553401 cycles.
|
||||
Ran frame, executed 553267 cycles.
|
||||
Ran frame, executed 553133 cycles.
|
||||
Ran frame, executed 552999 cycles.
|
||||
Ran frame, executed 552865 cycles.
|
||||
Ran frame, executed 552731 cycles.
|
||||
Ran frame, executed 553609 cycles.
|
||||
Ran frame, executed 553475 cycles.
|
||||
Ran frame, executed 553341 cycles.
|
||||
Ran frame, executed 553207 cycles.
|
||||
Ran frame, executed 553073 cycles.
|
||||
Ran frame, executed 552939 cycles.
|
||||
Ran frame, executed 552805 cycles.
|
||||
Cpu Read 16 bits from register 0x0000.
|
||||
Cpu Read 16 bits from register 0x0002.
|
||||
Cpu Read 16 bits from register 0x0004.
|
||||
Cpu Read 16 bits from register 0x0006.
|
||||
Cpu Read 16 bits from register 0x0008.
|
||||
Cpu Read 16 bits from register 0x000A.
|
||||
Cpu Read 16 bits from register 0x000C.
|
||||
Cpu Read 16 bits from register 0x000E.
|
||||
Cpu Read 16 bits from register 0x0010.
|
||||
Cpu Read 16 bits from register 0x0012.
|
||||
Cpu Read 16 bits from register 0x0014.
|
||||
Cpu Read 16 bits from register 0x0016.
|
||||
Cpu Read 16 bits from register 0x0018.
|
||||
Cpu Read 16 bits from register 0x001A.
|
||||
Cpu Read 16 bits from register 0x001C.
|
||||
Cpu Read 16 bits from register 0x001E.
|
||||
Cpu Read 16 bits from register 0x0020.
|
||||
Cpu Read 16 bits from register 0x0022.
|
||||
Cpu Read 16 bits from register 0x0024.
|
||||
Cpu Read 16 bits from register 0x0026.
|
||||
Cpu Read 16 bits from register 0x0028.
|
||||
Cpu Read 16 bits from register 0x002A.
|
||||
Cpu Read 16 bits from register 0x002C.
|
||||
Cpu Read 16 bits from register 0x002E.
|
||||
Cpu Read 16 bits from register 0x0030.
|
||||
Cpu Read 16 bits from register 0x0032.
|
||||
Cpu Read 16 bits from register 0x0034.
|
||||
Cpu Read 16 bits from register 0x0036.
|
||||
Cpu Read 16 bits from register 0x0038.
|
||||
Cpu Read 16 bits from register 0x003A.
|
||||
Cpu Read 16 bits from register 0x003C.
|
||||
Cpu Read 16 bits from register 0x003E.
|
||||
Cpu Read 16 bits from register 0x0040.
|
||||
Cpu Read 16 bits from register 0x0042.
|
||||
Cpu Read 16 bits from register 0x0044.
|
||||
Cpu Read 16 bits from register 0x0046.
|
||||
Cpu Read 16 bits from register 0x0048.
|
||||
Cpu Read 16 bits from register 0x004A.
|
||||
Cpu Read 16 bits from register 0x004C.
|
||||
Cpu Read 16 bits from register 0x004E.
|
||||
Cpu Read 16 bits from register 0x0050.
|
||||
Cpu Read 16 bits from register 0x0052.
|
||||
Cpu Read 16 bits from register 0x0054.
|
||||
Cpu Read 16 bits from register 0x0056.
|
||||
Cpu Read 16 bits from register 0x0058.
|
||||
Cpu Read 16 bits from register 0x005A.
|
||||
Cpu Read 16 bits from register 0x005C.
|
||||
Cpu Read 16 bits from register 0x005E.
|
||||
Cpu Read 16 bits from register 0x0060.
|
||||
Cpu Read 16 bits from register 0x0062.
|
||||
Cpu Read 16 bits from register 0x0064.
|
||||
Cpu Read 16 bits from register 0x0066.
|
||||
Cpu Read 16 bits from register 0x0068.
|
||||
Cpu Read 16 bits from register 0x006A.
|
||||
Cpu Read 16 bits from register 0x006C.
|
||||
Cpu Read 16 bits from register 0x006E.
|
||||
Cpu Read 16 bits from register 0x0070.
|
||||
Cpu Read 16 bits from register 0x0072.
|
||||
Cpu Read 16 bits from register 0x0074.
|
||||
Cpu Read 16 bits from register 0x0076.
|
||||
Cpu Read 16 bits from register 0x0078.
|
||||
Cpu Read 16 bits from register 0x007A.
|
||||
Cpu Read 16 bits from register 0x007C.
|
||||
Cpu Read 16 bits from register 0x007E.
|
||||
Cpu Read 16 bits from register 0x0080.
|
||||
Cpu Read 16 bits from register 0x0082.
|
||||
Cpu Read 16 bits from register 0x0084.
|
||||
Cpu Read 16 bits from register 0x0086.
|
||||
Cpu Read 16 bits from register 0x0088.
|
||||
Cpu Read 16 bits from register 0x008A.
|
||||
Cpu Read 16 bits from register 0x008C.
|
||||
Cpu Read 16 bits from register 0x008E.
|
||||
Cpu Read 16 bits from register 0x0090.
|
||||
Cpu Read 16 bits from register 0x0092.
|
||||
Cpu Read 16 bits from register 0x0094.
|
||||
Cpu Read 16 bits from register 0x0096.
|
||||
Cpu Read 16 bits from register 0x0098.
|
||||
Cpu Read 16 bits from register 0x009A.
|
||||
Cpu Read 16 bits from register 0x009C.
|
||||
Cpu Read 16 bits from register 0x009E.
|
||||
Cpu Read 16 bits from register 0x00A0.
|
||||
Cpu Read 16 bits from register 0x00A2.
|
||||
Cpu Read 16 bits from register 0x00A4.
|
||||
Cpu Read 16 bits from register 0x00A6.
|
||||
Cpu Read 16 bits from register 0x00A8.
|
||||
Cpu Read 16 bits from register 0x00AA.
|
||||
Cpu Read 16 bits from register 0x00AC.
|
||||
Cpu Read 16 bits from register 0x00AE.
|
||||
Cpu Read 16 bits from register 0x00B0.
|
||||
Cpu Read 16 bits from register 0x00B2.
|
||||
Cpu Read 16 bits from register 0x00B4.
|
||||
Cpu Read 16 bits from register 0x00B6.
|
||||
Cpu Read 16 bits from register 0x00B8.
|
||||
Cpu Read 16 bits from register 0x00BA.
|
||||
Cpu Read 16 bits from register 0x00BC.
|
||||
Cpu Read 16 bits from register 0x00BE.
|
||||
Cpu Read 16 bits from register 0x00C0.
|
||||
Cpu Read 16 bits from register 0x00C2.
|
||||
Cpu Read 16 bits from register 0x00C4.
|
||||
Cpu Read 16 bits from register 0x00C6.
|
||||
Cpu Read 16 bits from register 0x00C8.
|
||||
Cpu Read 16 bits from register 0x00CA.
|
||||
Cpu Read 16 bits from register 0x00CC.
|
||||
Cpu Read 16 bits from register 0x00CE.
|
||||
Cpu Read 16 bits from register 0x00D0.
|
||||
Cpu Read 16 bits from register 0x00D2.
|
||||
Cpu Read 16 bits from register 0x00D4.
|
||||
Cpu Read 16 bits from register 0x00D6.
|
||||
Cpu Read 16 bits from register 0x00D8.
|
||||
Cpu Read 16 bits from register 0x00DA.
|
||||
Cpu Read 16 bits from register 0x00DC.
|
||||
Cpu Read 16 bits from register 0x00DE.
|
||||
Cpu Read 16 bits from register 0x00E0.
|
||||
Cpu Read 16 bits from register 0x00E2.
|
||||
Cpu Read 16 bits from register 0x00E4.
|
||||
Cpu Read 16 bits from register 0x00E6.
|
||||
Cpu Read 16 bits from register 0x00E8.
|
||||
Cpu Read 16 bits from register 0x00EA.
|
||||
Cpu Read 16 bits from register 0x00EC.
|
||||
Cpu Read 16 bits from register 0x00EE.
|
||||
Cpu Read 16 bits from register 0x00F0.
|
||||
Cpu Read 16 bits from register 0x00F2.
|
||||
Cpu Read 16 bits from register 0x00F4.
|
||||
Cpu Read 16 bits from register 0x00F6.
|
||||
Cpu Read 16 bits from register 0x00F8.
|
||||
Cpu Read 16 bits from register 0x00FA.
|
||||
Cpu Read 16 bits from register 0x00FC.
|
||||
Cpu Read 16 bits from register 0x00FE.
|
||||
Cpu Read 16 bits from register 0x0100.
|
||||
Cpu Read 16 bits from register 0x0102.
|
||||
Tried to write 16 bits to ROM at 0x10002B04 with value of 0x0008.
|
||||
Ran frame, executed 553683 cycles.
|
||||
Ran frame, executed 553549 cycles.
|
||||
Ran frame, executed 553415 cycles.
|
||||
Ran frame, executed 553281 cycles.
|
||||
Ran frame, executed 553147 cycles.
|
||||
372
tests/HwRegTest9.txt
Normal file
372
tests/HwRegTest9.txt
Normal file
@@ -0,0 +1,372 @@
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0304.
|
||||
Cpu Wrote 16 bits of 0x0000FFFF to register 0x0306.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0B0A.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0409.
|
||||
Cpu Wrote 8 bits of 0x00000060 to register 0x0408.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0410.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0411.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041C.
|
||||
Cpu Wrote 8 bits of 0x000000F0 to register 0x0419.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0418.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041D.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041F.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0419.
|
||||
Cpu Wrote 16 bits of 0x00000F00 to register 0x030E.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x041E.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0421.
|
||||
Cpu Wrote 8 bits of 0x00000088 to register 0x0420.
|
||||
Cpu Wrote 8 bits of 0x00000002 to register 0x0429.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0428.
|
||||
Cpu Wrote 8 bits of 0x0000002C to register 0x0430.
|
||||
Cpu Wrote 8 bits of 0x00000004 to register 0x0431.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0439.
|
||||
Cpu Wrote 8 bits of 0x0000000F to register 0x0438.
|
||||
Cpu Wrote 8 bits of 0x00000008 to register 0x0441.
|
||||
Cpu Wrote 8 bits of 0x000000F9 to register 0x0440.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0448.
|
||||
Cpu Wrote 8 bits of 0x00000020 to register 0x0449.
|
||||
Cpu Wrote 8 bits of 0x00000000 to register 0x0A27.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0600.
|
||||
Cpu Wrote 8 bits of 0x000000F8 to register 0x0000.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0100.
|
||||
Cpu Wrote 16 bits of 0x000001AB to register 0x0110.
|
||||
Cpu Wrote 16 bits of 0x0000FFC0 to register 0x0102.
|
||||
Cpu Wrote 16 bits of 0x000001F3 to register 0x0112.
|
||||
Cpu Wrote 16 bits of 0x00008200 to register 0x0104.
|
||||
Cpu Wrote 16 bits of 0x00000101 to register 0x0114.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0106.
|
||||
Cpu Wrote 16 bits of 0x00001E83 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000040 to register 0x010A.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00004020 to register 0x0C00.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00001A81 to register 0x0116.
|
||||
Cpu Wrote 16 bits of 0x00000000 to register 0x0C02.
|
||||
Cpu Wrote 16 bits of 0x00008000 to register 0x0C02.
|
||||
Cpu Read 16 bits from register 0x0310.
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
New CPU frequency of:33161216 cycles per second.
|
||||
New clk32 cycle count of :1012.
|
||||
Ran frame, executed 553633 cycles.
|
||||
Ran frame, executed 553499 cycles.
|
||||
Ran frame, executed 553365 cycles.
|
||||
Ran frame, executed 553231 cycles.
|
||||
Ran frame, executed 553097 cycles.
|
||||
Ran frame, executed 552963 cycles.
|
||||
Ran frame, executed 552829 cycles.
|
||||
Ran frame, executed 552695 cycles.
|
||||
Ran frame, executed 553573 cycles.
|
||||
Ran frame, executed 553439 cycles.
|
||||
Ran frame, executed 553305 cycles.
|
||||
Ran frame, executed 553171 cycles.
|
||||
Ran frame, executed 553037 cycles.
|
||||
Ran frame, executed 552903 cycles.
|
||||
Ran frame, executed 552769 cycles.
|
||||
Ran frame, executed 553647 cycles.
|
||||
Ran frame, executed 553513 cycles.
|
||||
Ran frame, executed 553379 cycles.
|
||||
Ran frame, executed 553245 cycles.
|
||||
Ran frame, executed 553111 cycles.
|
||||
Ran frame, executed 552977 cycles.
|
||||
Ran frame, executed 552843 cycles.
|
||||
Ran frame, executed 552709 cycles.
|
||||
Ran frame, executed 553587 cycles.
|
||||
Ran frame, executed 553453 cycles.
|
||||
Ran frame, executed 553319 cycles.
|
||||
Ran frame, executed 553185 cycles.
|
||||
Ran frame, executed 553051 cycles.
|
||||
Ran frame, executed 552917 cycles.
|
||||
Ran frame, executed 552783 cycles.
|
||||
Ran frame, executed 553661 cycles.
|
||||
Ran frame, executed 553527 cycles.
|
||||
Ran frame, executed 553393 cycles.
|
||||
Ran frame, executed 553259 cycles.
|
||||
Ran frame, executed 553125 cycles.
|
||||
Ran frame, executed 552991 cycles.
|
||||
Ran frame, executed 552857 cycles.
|
||||
Ran frame, executed 552723 cycles.
|
||||
Ran frame, executed 553601 cycles.
|
||||
Ran frame, executed 553467 cycles.
|
||||
Ran frame, executed 553333 cycles.
|
||||
Ran frame, executed 553199 cycles.
|
||||
Ran frame, executed 553065 cycles.
|
||||
Ran frame, executed 552931 cycles.
|
||||
Ran frame, executed 552797 cycles.
|
||||
Ran frame, executed 553675 cycles.
|
||||
Ran frame, executed 553541 cycles.
|
||||
Ran frame, executed 553407 cycles.
|
||||
Ran frame, executed 553273 cycles.
|
||||
Ran frame, executed 553139 cycles.
|
||||
Ran frame, executed 553005 cycles.
|
||||
Ran frame, executed 552871 cycles.
|
||||
Ran frame, executed 552737 cycles.
|
||||
Ran frame, executed 553615 cycles.
|
||||
Ran frame, executed 553481 cycles.
|
||||
Ran frame, executed 553347 cycles.
|
||||
Ran frame, executed 553213 cycles.
|
||||
Ran frame, executed 553079 cycles.
|
||||
Ran frame, executed 552945 cycles.
|
||||
Ran frame, executed 552811 cycles.
|
||||
Ran frame, executed 553689 cycles.
|
||||
Ran frame, executed 553555 cycles.
|
||||
Ran frame, executed 553421 cycles.
|
||||
Ran frame, executed 553287 cycles.
|
||||
Ran frame, executed 553153 cycles.
|
||||
Ran frame, executed 553019 cycles.
|
||||
Ran frame, executed 552885 cycles.
|
||||
Ran frame, executed 552751 cycles.
|
||||
Ran frame, executed 553629 cycles.
|
||||
Ran frame, executed 553495 cycles.
|
||||
Ran frame, executed 553361 cycles.
|
||||
Ran frame, executed 553227 cycles.
|
||||
Ran frame, executed 553093 cycles.
|
||||
Ran frame, executed 552959 cycles.
|
||||
Ran frame, executed 552825 cycles.
|
||||
Ran frame, executed 552691 cycles.
|
||||
Ran frame, executed 553569 cycles.
|
||||
Ran frame, executed 553435 cycles.
|
||||
Ran frame, executed 553301 cycles.
|
||||
Ran frame, executed 553167 cycles.
|
||||
Ran frame, executed 553033 cycles.
|
||||
Ran frame, executed 552899 cycles.
|
||||
Ran frame, executed 552765 cycles.
|
||||
Ran frame, executed 553643 cycles.
|
||||
Ran frame, executed 553509 cycles.
|
||||
Ran frame, executed 553375 cycles.
|
||||
Ran frame, executed 553241 cycles.
|
||||
Ran frame, executed 553107 cycles.
|
||||
Ran frame, executed 552973 cycles.
|
||||
Ran frame, executed 552839 cycles.
|
||||
Ran frame, executed 552705 cycles.
|
||||
Ran frame, executed 553583 cycles.
|
||||
Ran frame, executed 553449 cycles.
|
||||
Ran frame, executed 553315 cycles.
|
||||
Ran frame, executed 553181 cycles.
|
||||
Ran frame, executed 553047 cycles.
|
||||
Ran frame, executed 552913 cycles.
|
||||
Ran frame, executed 552779 cycles.
|
||||
Ran frame, executed 553657 cycles.
|
||||
Ran frame, executed 553523 cycles.
|
||||
Ran frame, executed 553389 cycles.
|
||||
Ran frame, executed 553255 cycles.
|
||||
Ran frame, executed 553121 cycles.
|
||||
Ran frame, executed 552987 cycles.
|
||||
Ran frame, executed 552853 cycles.
|
||||
Ran frame, executed 552719 cycles.
|
||||
Ran frame, executed 553597 cycles.
|
||||
Ran frame, executed 553463 cycles.
|
||||
Ran frame, executed 553329 cycles.
|
||||
Ran frame, executed 553195 cycles.
|
||||
Ran frame, executed 553061 cycles.
|
||||
Ran frame, executed 552927 cycles.
|
||||
Ran frame, executed 552793 cycles.
|
||||
Ran frame, executed 553671 cycles.
|
||||
Ran frame, executed 553537 cycles.
|
||||
Ran frame, executed 553403 cycles.
|
||||
Ran frame, executed 553269 cycles.
|
||||
Ran frame, executed 553135 cycles.
|
||||
Ran frame, executed 553001 cycles.
|
||||
Ran frame, executed 552867 cycles.
|
||||
Ran frame, executed 552733 cycles.
|
||||
Ran frame, executed 553611 cycles.
|
||||
Ran frame, executed 553477 cycles.
|
||||
Ran frame, executed 553343 cycles.
|
||||
Ran frame, executed 553209 cycles.
|
||||
Ran frame, executed 553075 cycles.
|
||||
Ran frame, executed 552941 cycles.
|
||||
Ran frame, executed 552807 cycles.
|
||||
Ran frame, executed 553685 cycles.
|
||||
Ran frame, executed 553551 cycles.
|
||||
Ran frame, executed 553417 cycles.
|
||||
Ran frame, executed 553283 cycles.
|
||||
Ran frame, executed 553149 cycles.
|
||||
Ran frame, executed 553015 cycles.
|
||||
Ran frame, executed 552881 cycles.
|
||||
Ran frame, executed 552747 cycles.
|
||||
Ran frame, executed 553625 cycles.
|
||||
Ran frame, executed 553491 cycles.
|
||||
Ran frame, executed 553357 cycles.
|
||||
Ran frame, executed 553223 cycles.
|
||||
Ran frame, executed 553089 cycles.
|
||||
Ran frame, executed 552955 cycles.
|
||||
Ran frame, executed 552821 cycles.
|
||||
Ran frame, executed 552687 cycles.
|
||||
Ran frame, executed 553565 cycles.
|
||||
Ran frame, executed 553431 cycles.
|
||||
Ran frame, executed 553297 cycles.
|
||||
Ran frame, executed 553163 cycles.
|
||||
Ran frame, executed 553029 cycles.
|
||||
Ran frame, executed 552895 cycles.
|
||||
Ran frame, executed 552761 cycles.
|
||||
Ran frame, executed 553639 cycles.
|
||||
Ran frame, executed 553505 cycles.
|
||||
Ran frame, executed 553371 cycles.
|
||||
Ran frame, executed 553237 cycles.
|
||||
Ran frame, executed 553103 cycles.
|
||||
Ran frame, executed 552969 cycles.
|
||||
Ran frame, executed 552835 cycles.
|
||||
Ran frame, executed 552701 cycles.
|
||||
Ran frame, executed 553579 cycles.
|
||||
Ran frame, executed 553445 cycles.
|
||||
Ran frame, executed 553311 cycles.
|
||||
Ran frame, executed 553177 cycles.
|
||||
Ran frame, executed 553043 cycles.
|
||||
Ran frame, executed 552909 cycles.
|
||||
Ran frame, executed 552775 cycles.
|
||||
Ran frame, executed 553653 cycles.
|
||||
Ran frame, executed 553519 cycles.
|
||||
Ran frame, executed 553385 cycles.
|
||||
Ran frame, executed 553251 cycles.
|
||||
Ran frame, executed 553117 cycles.
|
||||
Ran frame, executed 552983 cycles.
|
||||
Ran frame, executed 552849 cycles.
|
||||
Ran frame, executed 552715 cycles.
|
||||
Ran frame, executed 553593 cycles.
|
||||
Ran frame, executed 553459 cycles.
|
||||
Ran frame, executed 553325 cycles.
|
||||
Ran frame, executed 553191 cycles.
|
||||
Ran frame, executed 553057 cycles.
|
||||
Ran frame, executed 552923 cycles.
|
||||
Ran frame, executed 552789 cycles.
|
||||
Ran frame, executed 553667 cycles.
|
||||
Ran frame, executed 553533 cycles.
|
||||
Ran frame, executed 553399 cycles.
|
||||
Ran frame, executed 553265 cycles.
|
||||
Ran frame, executed 553131 cycles.
|
||||
Ran frame, executed 552997 cycles.
|
||||
Ran frame, executed 552863 cycles.
|
||||
Ran frame, executed 552729 cycles.
|
||||
Ran frame, executed 553607 cycles.
|
||||
Ran frame, executed 553473 cycles.
|
||||
Ran frame, executed 553339 cycles.
|
||||
Ran frame, executed 553205 cycles.
|
||||
Ran frame, executed 553071 cycles.
|
||||
Ran frame, executed 552937 cycles.
|
||||
Ran frame, executed 552803 cycles.
|
||||
Ran frame, executed 553681 cycles.
|
||||
Ran frame, executed 553547 cycles.
|
||||
Ran frame, executed 553413 cycles.
|
||||
Ran frame, executed 553279 cycles.
|
||||
Ran frame, executed 553145 cycles.
|
||||
Ran frame, executed 553011 cycles.
|
||||
Ran frame, executed 552877 cycles.
|
||||
Ran frame, executed 552743 cycles.
|
||||
Ran frame, executed 553621 cycles.
|
||||
Ran frame, executed 553487 cycles.
|
||||
Ran frame, executed 553353 cycles.
|
||||
Ran frame, executed 553219 cycles.
|
||||
Ran frame, executed 553085 cycles.
|
||||
Ran frame, executed 552951 cycles.
|
||||
Ran frame, executed 552817 cycles.
|
||||
Ran frame, executed 553695 cycles.
|
||||
Ran frame, executed 553561 cycles.
|
||||
Ran frame, executed 553427 cycles.
|
||||
Ran frame, executed 553293 cycles.
|
||||
Ran frame, executed 553159 cycles.
|
||||
Ran frame, executed 553025 cycles.
|
||||
Ran frame, executed 552891 cycles.
|
||||
Ran frame, executed 552757 cycles.
|
||||
Ran frame, executed 553635 cycles.
|
||||
Ran frame, executed 553501 cycles.
|
||||
Ran frame, executed 553367 cycles.
|
||||
Ran frame, executed 553233 cycles.
|
||||
Ran frame, executed 553099 cycles.
|
||||
Ran frame, executed 552965 cycles.
|
||||
Ran frame, executed 552831 cycles.
|
||||
Ran frame, executed 552697 cycles.
|
||||
Ran frame, executed 553575 cycles.
|
||||
Ran frame, executed 553441 cycles.
|
||||
Ran frame, executed 553307 cycles.
|
||||
Ran frame, executed 553173 cycles.
|
||||
Ran frame, executed 553039 cycles.
|
||||
Ran frame, executed 552905 cycles.
|
||||
Ran frame, executed 552771 cycles.
|
||||
Ran frame, executed 553649 cycles.
|
||||
Ran frame, executed 553515 cycles.
|
||||
Ran frame, executed 553381 cycles.
|
||||
Ran frame, executed 553247 cycles.
|
||||
Ran frame, executed 553113 cycles.
|
||||
Ran frame, executed 552979 cycles.
|
||||
Ran frame, executed 552845 cycles.
|
||||
Ran frame, executed 552711 cycles.
|
||||
Ran frame, executed 553589 cycles.
|
||||
Ran frame, executed 553455 cycles.
|
||||
Ran frame, executed 553321 cycles.
|
||||
Ran frame, executed 553187 cycles.
|
||||
Ran frame, executed 553053 cycles.
|
||||
Ran frame, executed 552919 cycles.
|
||||
Ran frame, executed 552785 cycles.
|
||||
Ran frame, executed 553663 cycles.
|
||||
Ran frame, executed 553529 cycles.
|
||||
Ran frame, executed 553395 cycles.
|
||||
Ran frame, executed 553261 cycles.
|
||||
Ran frame, executed 553127 cycles.
|
||||
Ran frame, executed 552993 cycles.
|
||||
Ran frame, executed 552859 cycles.
|
||||
Ran frame, executed 552725 cycles.
|
||||
Ran frame, executed 553603 cycles.
|
||||
Ran frame, executed 553469 cycles.
|
||||
Ran frame, executed 553335 cycles.
|
||||
Ran frame, executed 553201 cycles.
|
||||
Ran frame, executed 553067 cycles.
|
||||
Ran frame, executed 552933 cycles.
|
||||
Ran frame, executed 552799 cycles.
|
||||
Ran frame, executed 553677 cycles.
|
||||
Ran frame, executed 553543 cycles.
|
||||
Ran frame, executed 553409 cycles.
|
||||
Ran frame, executed 553275 cycles.
|
||||
Ran frame, executed 553141 cycles.
|
||||
Ran frame, executed 553007 cycles.
|
||||
Ran frame, executed 552873 cycles.
|
||||
Ran frame, executed 552739 cycles.
|
||||
Ran frame, executed 553617 cycles.
|
||||
Ran frame, executed 553483 cycles.
|
||||
Ran frame, executed 553349 cycles.
|
||||
Ran frame, executed 553215 cycles.
|
||||
Ran frame, executed 553081 cycles.
|
||||
Ran frame, executed 552947 cycles.
|
||||
Ran frame, executed 552813 cycles.
|
||||
Ran frame, executed 553691 cycles.
|
||||
Ran frame, executed 553557 cycles.
|
||||
Ran frame, executed 553423 cycles.
|
||||
Ran frame, executed 553289 cycles.
|
||||
Ran frame, executed 553155 cycles.
|
||||
Ran frame, executed 553021 cycles.
|
||||
Ran frame, executed 552887 cycles.
|
||||
Ran frame, executed 552753 cycles.
|
||||
Ran frame, executed 553631 cycles.
|
||||
Ran frame, executed 553497 cycles.
|
||||
Ran frame, executed 553363 cycles.
|
||||
Ran frame, executed 553229 cycles.
|
||||
Ran frame, executed 553095 cycles.
|
||||
Ran frame, executed 552961 cycles.
|
||||
Ran frame, executed 552827 cycles.
|
||||
Ran frame, executed 552693 cycles.
|
||||
Ran frame, executed 553571 cycles.
|
||||
Ran frame, executed 553437 cycles.
|
||||
Ran frame, executed 553303 cycles.
|
||||
Ran frame, executed 553169 cycles.
|
||||
Ran frame, executed 553035 cycles.
|
||||
Ran frame, executed 552901 cycles.
|
||||
Ran frame, executed 552767 cycles.
|
||||
Ran frame, executed 553645 cycles.
|
||||
Ran frame, executed 553511 cycles.
|
||||
Ran frame, executed 553377 cycles.
|
||||
Ran frame, executed 553243 cycles.
|
||||
Ran frame, executed 553109 cycles.
|
||||
Ran frame, executed 552975 cycles.
|
||||
Ran frame, executed 552841 cycles.
|
||||
Ran frame, executed 552707 cycles.
|
||||
Ran frame, executed 553585 cycles.
|
||||
Ran frame, executed 553451 cycles.
|
||||
Ran frame, executed 553317 cycles.
|
||||
Ran frame, executed 553183 cycles.
|
||||
Ran frame, executed 553049 cycles.
|
||||
Ran frame, executed 552915 cycles.
|
||||
Ran frame, executed 552781 cycles.
|
||||
Ran frame, executed 553659 cycles.
|
||||
Ran frame, executed 553525 cycles.
|
||||
Ran frame, executed 553391 cycles.
|
||||
BIN
tests/PersianTree.state
Normal file
BIN
tests/PersianTree.state
Normal file
Binary file not shown.
7
unimplementedFeatures.txt
Normal file
7
unimplementedFeatures.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Timer 1
|
||||
Timer 2
|
||||
sed1376 register access
|
||||
storage ram protect
|
||||
sysTrapPceNativeCall, ARM Emulator
|
||||
cpu32 table lookup opcodes
|
||||
PLL Control Register, Wake Select
|
||||
Reference in New Issue
Block a user