Skip to content

Commit

Permalink
DECA target. updated firmware to load automatically ARC files. update…
Browse files Browse the repository at this point in the history
…d config string to load only ARC files
  • Loading branch information
somhi committed May 3, 2023
1 parent 4c27395 commit 93e5607
Show file tree
Hide file tree
Showing 6 changed files with 2,310 additions and 2,241 deletions.
2 changes: 1 addition & 1 deletion target/deca/cfgstr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{.CORENAME}};;

{{ if not .JTFRAME_OSD_NOLOAD }} F,ROMARC,Load ROM; {{ end }}
{{ if not .JTFRAME_OSD_NOLOAD }} F,ARC,Load ARC; {{ end }}
{{ if .JTFRAME_OSD60HZ }} OJ,Force 60Hz, Off, On; {{ end }}
{{ if .JTFRAME_VERTICAL }}
{{ if .JTFRAME_OSD_FLIP }} O1,Flip screen,Off,On; {{ end }}
Expand Down
9 changes: 7 additions & 2 deletions target/deca/deca.qsf
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@ set_global_assignment -name GENERATE_SVF_FILE ON
set_global_assignment -name AUTO_RESTART_CONFIGURATION OFF
set_global_assignment -name ENABLE_CONFIGURATION_PINS OFF
set_global_assignment -name ENABLE_BOOT_SEL_PIN OFF
set_global_assignment -name OPTIMIZATION_MODE BALANCED
set_global_assignment -name CYCLONEII_OPTIMIZATION_TECHNIQUE BALANCED
#
#set_global_assignment -name OPTIMIZATION_MODE BALANCED
#set_global_assignment -name CYCLONEII_OPTIMIZATION_TECHNIQUE BALANCED
#
set_global_assignment -name OPTIMIZATION_MODE "AGGRESSIVE PERFORMANCE"
set_global_assignment -name CYCLONEII_OPTIMIZATION_TECHNIQUE SPEED
#
set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
Expand Down
13 changes: 8 additions & 5 deletions target/deca/firmware/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ here, the number of units defaults to 4. */
range would be between 4 and 16 */
#undef CONFIG_FILEBOOKMARKS 6

/* If the core has initialised the keyboard to use scan set 1 the OSD will
need to use set 1 as well. */
#undef CONFIG_KEYBOARD_SET1

/* Keyboard-based Joystick emulation */
#undef CONFIG_JOYKEYS

Expand All @@ -50,7 +54,7 @@ here, the number of units defaults to 4. */
#undef ROM_REQUIRED

/* ROM name will default to "BOOT ROM" if not defined here... */
#define ROM_FILENAME "JTOUTRUNARC"
#undef ROM_FILENAME "CORE ROM"

/* Do we support settings files */

Expand All @@ -68,14 +72,13 @@ here, the number of units defaults to 4. */

/* Is this an arcade core with .ARC file support? */
#define CONFIG_ARCFILE
/* If the core doesn't have its own ROM loading menu item, use this to add a selector for .ARC files. */
#undef CONFIG_ARCFILE_SELECTOR


/* If this is defined, DeMiSTify will look for a file called "15KHZ.CFG", and if found,
disable the scandoubler. */
#define CONFIG_AUTOSCANDOUBLER


#undef CONFIG_ARCFILE_SELECTOR


#endif

Loading

0 comments on commit 93e5607

Please sign in to comment.