Skip to content

Commit

Permalink
Another minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ClusterM committed Aug 16, 2023
1 parent 4dc8e0e commit 251cae8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
4 changes: 3 additions & 1 deletion CPLD/FamicomDumper.qsf
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,6 @@ set_location_assignment PIN_19 -to led_prg_read
set_location_assignment PIN_18 -to led_prg_write
set_location_assignment PIN_15 -to led_chr_read
set_location_assignment PIN_14 -to led_chr_write
set_location_assignment PIN_31 -to coolboy_mode
set_location_assignment PIN_31 -to coolboy_mode
set_global_assignment -name USE_CONFIGURATION_DEVICE ON
set_global_assignment -name GENERATE_SVF_FILE ON
14 changes: 7 additions & 7 deletions STM32/Core/Inc/dumper.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
#define FDS_DRIVE_STATUS 0x4032
#define FDS_EXT_READ 0x4033

#define FDS_CONTROL_MOTOR_ON 0b00000001
#define FDS_CONTROL_MOTOR_OFF 0b00000010
#define FDS_CONTROL_READ 0b00100100
#define FDS_CONTROL_WRITE 0b00100000
#define FDS_CONTROL_CRC 0b00010000
#define FDS_CONTROL_TRANSFER_ON 0b01000000
#define FDS_CONTROL_IRQ_ON 0b10000000
#define FDS_CONTROL_MOTOR_ON 0b00100001
#define FDS_CONTROL_MOTOR_OFF 0b00100010
#define FDS_CONTROL_READ 0b00100100
#define FDS_CONTROL_WRITE 0b00100000
#define FDS_CONTROL_CRC 0b00110000
#define FDS_CONTROL_TRANSFER_ON 0b01100000
#define FDS_CONTROL_IRQ_ON 0b10100000

#define FDS_DRIVE_STATUS_DISK_NOT_INSERTED 0b00000001
#define FDS_DRIVE_STATUS_DISK_NOT_READY 0b00000010
Expand Down

0 comments on commit 251cae8

Please sign in to comment.