Skip to content

Commit

Permalink
Enable 2 drives now
Browse files Browse the repository at this point in the history
and call them 8 and 9.
They work partially. A dir listing from 9 seems to work but from 8 it
gives nonsense. Loading doesn't seem to end, even from 9.
Saving to disk somehow fails (this didn't work before).
  • Loading branch information
Rhialto committed Nov 20, 2024
1 parent a45ea01 commit 560dac7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions CORE/vhdl/config.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ constant OPTM_ITEMS : string :=
"\n" &
" Drives\n" &
"\n" &
" Drive X:%s\n" &
" Drive Y:%s\n" &
" Drive 8:%s\n" &
" Drive 9:%s\n" &
" Drive Z:%s\n" &
"\n" &
" Another Headline\n" &
Expand All @@ -387,8 +387,8 @@ constant OPTM_ITEMS : string :=
-- single-select items and therefore also drive mount items need to have unique identifiers
constant OPTM_G_Demo_A : integer := 1;
constant OPTM_G_HDMI : integer := 2;
constant OPTM_G_Drive_X : integer := 3;
constant OPTM_G_Drive_Y : integer := 4;
constant OPTM_G_Drive_8 : integer := 3;
constant OPTM_G_Drive_9 : integer := 4;
constant OPTM_G_Drive_Z : integer := 5;
constant OPTM_G_CRT : integer := 6;
constant OPTM_G_Zoom : integer := 7;
Expand Down Expand Up @@ -427,8 +427,8 @@ constant OPTM_GROUPS : OPTM_GTYPE := ( OPTM_G_TEXT + OPTM_G_HEADLINE,
OPTM_G_LINE, -- Line
OPTM_G_TEXT + OPTM_G_HEADLINE, -- Headline "Drives"
OPTM_G_LINE, -- Line
OPTM_G_Drive_X + OPTM_G_MOUNT_DRV, -- Drive X
OPTM_G_Drive_Y , -- Drive Y
OPTM_G_Drive_8 + OPTM_G_MOUNT_DRV, -- Drive X
OPTM_G_Drive_9 + OPTM_G_MOUNT_DRV, -- Drive Y
OPTM_G_Drive_Z , -- Drive Z, not used
OPTM_G_LINE, -- Line
OPTM_G_TEXT + OPTM_G_HEADLINE, -- Headline "Another Headline"
Expand Down
2 changes: 1 addition & 1 deletion CORE/vhdl/globals.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ constant C_DEV_DEMO_NOBUFFER : std_logic_vector(15 downto 0) := x"AAAA";
-- Otherwise make sure that you wire C_VD_DEVICE in the qnice_ramrom_devices process and that you
-- have as many appropriately sized RAM buffers for disk images as you have drives
type vd_buf_array is array(natural range <>) of std_logic_vector;
constant C_VDNUM : natural := 1; -- amount of virtual drives; maximum is 15
constant C_VDNUM : natural := 2; -- amount of virtual drives; maximum is 15
constant C_VD_DEVICE : std_logic_vector(15 downto 0) := C_DEV_PET_VDRIVES; -- device number of vdrives.vhd device
constant C_VD_BUFFER : vd_buf_array := ( C_DEV_PET_MOUNT,
C_DEV_PET_MOUNT2,
Expand Down

0 comments on commit 560dac7

Please sign in to comment.