Skip to content

Commit

Permalink
Fix comments and remove unnecessary patch application.
Browse files Browse the repository at this point in the history
  • Loading branch information
markbush committed Jan 11, 2020
1 parent 9b5ef6a commit d27b696
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -846,8 +846,7 @@ void CKernel::ReadJoystick(int device, int gpioConfig) {
}
}

// Configure CIA2 port B from DDR
// Only configured for C64 for now.
// Configure user port DDR
void CKernel::SetupUserport() {
uint8_t ddr = circle_get_userport_ddr();
for (int i = 0; i < 8; i++) {
Expand All @@ -858,7 +857,6 @@ void CKernel::SetupUserport() {
}

// Read input pins and send to output pins
// Only configured for C64 for now.
void CKernel::ReadWriteUserport() {
uint8_t ddr = circle_get_userport_ddr();
uint8_t value = circle_get_userport();
Expand Down
4 changes: 0 additions & 4 deletions make_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ echo ==============================================================
echo APPLY PATCHES
echo ==============================================================

# required to enable output on userports
cd $SRC_DIR
patch -p1 < vice_patch.diff

cd $SRC_DIR/third_party/circle-stdlib/libs/circle-newlib
patch -p1 < ../../../../circle_newlib_patch.diff

Expand Down

0 comments on commit d27b696

Please sign in to comment.