-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IMLAC: Type consistency warnings. #430
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,7 @@ static uint16 SYNC = 1; | |
/* Function declaration. */ | ||
static uint16 dp_iot (uint16, uint16); | ||
static t_stat dp_svc (UNIT *uptr); | ||
static t_stat dp_reset(DEVICE *dptr); | ||
static uint16 sync_iot (uint16, uint16); | ||
static t_stat sync_svc (UNIT *uptr); | ||
|
||
|
@@ -83,7 +84,7 @@ static DEBTAB dp_deb[] = { | |
DEVICE dp_dev = { | ||
"DP", &dp_unit, dp_reg, NULL, | ||
1, 8, 16, 1, 8, 16, | ||
NULL, NULL, NULL, | ||
NULL, NULL, dp_reset, | ||
NULL, NULL, NULL, &dp_imdev, DEV_DEBUG, 0, dp_deb, | ||
NULL, NULL, NULL, NULL, NULL, NULL | ||
}; | ||
|
@@ -131,7 +132,7 @@ dp_on (int flag) | |
if (SYNC && HALT) | ||
flag_on (FLAG_SYNC); | ||
} | ||
ON = flag; | ||
ON = (uint16) flag; | ||
} | ||
|
||
uint16 | ||
|
@@ -468,12 +469,20 @@ dp_svc(UNIT * uptr) | |
} else | ||
dp_insn (insn); | ||
|
||
if (ON) | ||
if (ON) { | ||
sim_activate_after (&dp_unit, 2); | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove this change. |
||
|
||
return SCPE_OK; | ||
} | ||
|
||
static t_stat | ||
dp_reset(DEVICE * uptr) | ||
{ | ||
sim_activate_abs (&dp_unit, 0); | ||
return SCPE_OK; | ||
} | ||
|
||
static t_stat | ||
sync_svc (UNIT *uptr) | ||
{ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Attach to a server. If the remote port isn't telnet, append ;notelnet. | ||
attach tty 12345,connect=localhost:23 | ||
attach tty 12345,connect=192.168.50.248:23 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove this change. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unintentional. |
||
# Configure a bootstrap ROM; some programs require this. | ||
set rom type=stty | ||
# Load SSV version 22. | ||
load -s ssv22.iml | ||
load -s %~p0/ssv22.iml | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove this change. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unintentional. |
||
# Reset and run. | ||
reset | ||
go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove these changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shadows AC -- is shadowing AC intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. The global AC should not be used inside this function.