verilator/ runs the core on the host with the shared FM-7 / Apple-IIgs sim framework: windowed (ImGui/SDL2) or --headless, typing on a frame schedule, screenshots, text-screen dump, 6809 disassembly trace, floppy/SDC/cart/cassette, and RS-232 Pak serial debugging (TXD decoder, RXD driver, pty bridge, ACIA trace) with a minimal DriveWire server and a script to run the real FujiNet daemon against the sim. See verilator/README.md. - The VHDL the build uses (ROMs, RAMs, font) is converted to Verilog in verilator/rtl/; the VHDL CPU is not instantiated (CoCo3_CYC_ACC_6809). - sdram2.sv is simulated with its own controller logic and an SDR chip model. - run_tests.sh: boot, keyboard, disk, WIDTH 80 and HSCREEN tests, judged on the text screen and byte-for-byte against test-ref/ screenshots. rtl/wd1793.sv: spt_addr and buff_wr are declared at module scope instead of inside generate blocks. They are assigned outside those blocks; Quartus accepted it, Verilator rejected spt_addr and silently split buff_wr into a separate net. No change on the FPGA (FM-7 made the same fix). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
71 lines
2.4 KiB
C
71 lines
2.4 KiB
C
#pragma once
|
|
|
|
// uncomment and modify defines under for customize ImGuiFileDialog
|
|
|
|
//#define MAX_FILE_DIALOG_NAME_BUFFER 1024
|
|
//#define MAX_PATH_BUFFER_SIZE 1024
|
|
|
|
//#define USE_EXPLORATION_BY_KEYS
|
|
// this mapping by default is for GLFW but you can use another
|
|
//#include <GLFW/glfw3.h>
|
|
// Up key for explore to the top
|
|
//#define IGFD_KEY_UP GLFW_KEY_UP
|
|
// Down key for explore to the bottom
|
|
//#define IGFD_KEY_DOWN GLFW_KEY_DOWN
|
|
// Enter key for open directory
|
|
//#define IGFD_KEY_ENTER GLFW_KEY_ENTER
|
|
// BackSpace for comming back to the last directory
|
|
//#define IGFD_KEY_BACKSPACE GLFW_KEY_BACKSPACE
|
|
|
|
// widget
|
|
// filter combobox width
|
|
//#define FILTER_COMBO_WIDTH 120.0f
|
|
// button widget use for compose path
|
|
//#define IMGUI_PATH_BUTTON ImGui::Button
|
|
// standard button
|
|
//#define IMGUI_BUTTON ImGui::Button
|
|
|
|
// locales string
|
|
//#define createDirButtonString "+"
|
|
//#define okButtonString " OK"
|
|
//#define cancelButtonString " Cancel"
|
|
//#define resetButtonString "R"
|
|
//#define drivesButtonString "Drives"
|
|
//#define searchString "Search"
|
|
//#define dirEntryString "[DIR] "
|
|
//#define linkEntryString "[LINK] "
|
|
//#define fileEntryString "[FILE] "
|
|
//#define fileNameString "File Name : "
|
|
//#define dirNameString "Directory Path :"
|
|
//#define buttonResetSearchString "Reset search"
|
|
//#define buttonDriveString "Drives"
|
|
//#define buttonResetPathString "Reset to current directory"
|
|
//#define buttonCreateDirString "Create Directory"
|
|
//#define OverWriteDialogTitleString "The file Already Exist !"
|
|
//#define OverWriteDialogMessageString "Would you like to OverWrite it ?"
|
|
//#define OverWriteDialogConfirmButtonString "Confirm"
|
|
//#define OverWriteDialogCancelButtonString "Cancel"
|
|
|
|
// DateTimeFormat
|
|
// see strftime functionin <ctime> for customize
|
|
// "%Y/%m/%d %H:%M" give 2021:01:22 11:47
|
|
// "%Y/%m/%d %i:%M%p" give 2021:01:22 11:45PM
|
|
//#define DateTimeFormat "%Y/%m/%d %i:%M%p"
|
|
|
|
// theses icons will appear in table headers
|
|
//#define USE_CUSTOM_SORTING_ICON
|
|
//#define tableHeaderAscendingIcon "A|"
|
|
//#define tableHeaderDescendingIcon "D|"
|
|
//#define tableHeaderFileNameString " File name"
|
|
//#define tableHeaderFileTypeString " Type"
|
|
//#define tableHeaderFileSizeString " Size"
|
|
//#define tableHeaderFileDateTimeString " Date"
|
|
|
|
//#define USE_BOOKMARK
|
|
//#define bookmarkPaneWith 150.0f
|
|
//#define IMGUI_TOGGLE_BUTTON ToggleButton
|
|
//#define bookmarksButtonString "Bookmark"
|
|
//#define bookmarksButtonHelpString "Bookmark"
|
|
//#define addBookmarkButtonString "+"
|
|
//#define removeBookmarkButtonString "-"
|