Implemented 1541 emul

This commit is contained in:
simon.kagstrom 2009-01-14 06:39:48 +00:00
parent f1a69d67b6
commit e7d62d7186
2 changed files with 15 additions and 2 deletions

View File

@ -1,4 +1,13 @@
version 4:
* TODO: load .zip?
* TODO: Add more autoload, e.g., LOAD "$",8,1, RUN, POKE
* TODO: Add cursor keys, more load options
* Added ability to turn on 1541 CPU emulation in the "other options" menu
(hint from Vermeylen Schoonakker)
* Make menu delay a bit shorter (looks better with the classic controller)
* Merged with the Frodo CVS trunk. This changes a number of things, most

View File

@ -45,6 +45,8 @@ static const char *other_options_messages[] = {
"^|double-center|stretched",
"Speed (approx)", /* 2 */
"^|95|100|110",
"Emulate 1541", /* 4 */
"^|On|Off",
NULL,
};
@ -339,11 +341,11 @@ void C64::bind_key(Prefs *np)
void C64::other_options(Prefs *np)
{
menu_t display_menu;
int submenus[2] = { np->DisplayOption};
int submenus[3] = { np->DisplayOption, 0, !np->Emul1541Proc };
#define SPEED_95 40
#define SPEED_110 34
#define SPEED_100 38
#define SPEED_110 34
switch (np->MsPerFrame)
{
@ -361,6 +363,8 @@ void C64::other_options(Prefs *np)
if (opt >= 0)
{
np->DisplayOption = submenus[0];
np->Emul1541Proc = submenus[2] == 0 ? true : false;
switch(submenus[1])
{
case 0: