mirror of
https://github.com/simh/simh.git
synced 2026-04-26 03:57:11 +00:00
PDP11: Fixed RF device CSR address in boot code
This commit is contained in:
committed by
Mark Pizzolato
parent
9f4b198afd
commit
e22ffedb29
@@ -1,6 +1,6 @@
|
|||||||
/* pdp11_rf.c: RF11 fixed head disk simulator
|
/* pdp11_rf.c: RF11 fixed head disk simulator
|
||||||
|
|
||||||
Copyright (c) 2006-2013, Robert M Supnik
|
Copyright (c) 2006-2017, Robert M Supnik
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
copy of this software and associated documentation files (the "Software"),
|
copy of this software and associated documentation files (the "Software"),
|
||||||
@@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
rf RF11 fixed head disk
|
rf RF11 fixed head disk
|
||||||
|
|
||||||
|
13-Feb-17 RMS Fixed CSR address in boot code (Paul Koning)
|
||||||
23-Oct-13 RMS Revised for new boot setup routine
|
23-Oct-13 RMS Revised for new boot setup routine
|
||||||
03-Sep-13 RMS Added explicit void * cast
|
03-Sep-13 RMS Added explicit void * cast
|
||||||
Added WC to debug printout
|
Added WC to debug printout
|
||||||
@@ -438,13 +439,13 @@ return SCPE_OK;
|
|||||||
|
|
||||||
#define BOOT_START 02000 /* start */
|
#define BOOT_START 02000 /* start */
|
||||||
#define BOOT_ENTRY (BOOT_START + 002) /* entry */
|
#define BOOT_ENTRY (BOOT_START + 002) /* entry */
|
||||||
#define BOOT_CSR (BOOT_START + 032) /* CSR */
|
#define BOOT_CSR (BOOT_START + 010) /* CSR */
|
||||||
#define BOOT_LEN (sizeof (boot_rom) / sizeof (uint16))
|
#define BOOT_LEN (sizeof (boot_rom) / sizeof (uint16))
|
||||||
|
|
||||||
static const uint16 boot_rom[] = {
|
static const uint16 boot_rom[] = {
|
||||||
0043113, /* "FD" */
|
0043113, /* "FD" */
|
||||||
0012706, BOOT_START, /* MOV #boot_start, SP */
|
0012706, BOOT_START, /* MOV #boot_start, SP */
|
||||||
0012701, 0177472, /* MOV #RFDAE+2, R1 ; csr block */
|
0012701, 0177472, /* MOV #RFCS+12, R1 ; csr block */
|
||||||
0005041, /* CLR -(R1) ; clear dae */
|
0005041, /* CLR -(R1) ; clear dae */
|
||||||
0005041, /* CLR -(R1), ; clear da */
|
0005041, /* CLR -(R1), ; clear da */
|
||||||
0005041, /* CLR -(R1), ; clear cma */
|
0005041, /* CLR -(R1), ; clear cma */
|
||||||
|
|||||||
Reference in New Issue
Block a user