Debug code for cd-rom integration

This commit is contained in:
akuker 2020-07-06 19:23:54 -05:00
parent a14e057028
commit c86764c6e7
3 changed files with 326 additions and 203 deletions

View File

@ -1,7 +1,10 @@
CC = gcc
CFLAGS = -DNDEBUG -O3 -Wall
CFLAGS = -DDISK_LOG -O0 -g -Wall
CXX = g++
CXXFLAGS = -DNDEBUG -O3 -Wall
CXXFLAGS = -DDISK_LOG -O0 -g -Wall
# If its not specified, build for STANDARD configuration
CONNECT_TYPE ?= STANDARD
ifdef CONNECT_TYPE
CFLAGS += -DCONNECT_TYPE_$(CONNECT_TYPE)
@ -13,6 +16,7 @@ RASCTL = rasctl
RASDUMP = rasdump
SASIDUMP = sasidump
BIN_ALL = $(RASCSI) $(RASCTL) $(RASDUMP) $(SASIDUMP)
SRC_RASCSI = \
@ -67,3 +71,6 @@ $(SASIDUMP): $(OBJ_SASIDUMP)
clean:
rm -f $(OBJ_ALL) $(BIN_ALL)
run:
sudo ./$(RASCSI) -ID1 /home/pi/HARDDISK.HDA -ID6 /home/pi/marathon.iso

File diff suppressed because it is too large Load Diff

View File

@ -920,6 +920,9 @@ public:
// Other
BUS::phase_t FASTCALL GetPhase() {return ctrl.phase;}
// Get the phase
void FASTCALL GetPhaseStr(char *str);
int FASTCALL GetID() {return ctrl.id;}
// Get the ID
void FASTCALL GetCTRL(ctrl_t *buffer);