static -> constexpr const
This commit is contained in:
parent
ff1da92dc8
commit
9e71b84b1a
1 changed files with 4 additions and 4 deletions
|
@ -40,7 +40,7 @@ void set_boot_loader(bus *const b, const bootloader_t which)
|
||||||
if (which == BL_RK05) {
|
if (which == BL_RK05) {
|
||||||
start = offset = 01000;
|
start = offset = 01000;
|
||||||
|
|
||||||
static uint16_t rk05_code[] = {
|
constexpr const uint16_t rk05_code[] = {
|
||||||
0012700,
|
0012700,
|
||||||
0177406,
|
0177406,
|
||||||
0012710,
|
0012710,
|
||||||
|
@ -92,7 +92,7 @@ void set_boot_loader(bus *const b, const bootloader_t which)
|
||||||
start = offset = 01000;
|
start = offset = 01000;
|
||||||
|
|
||||||
/* from https://www.pdp-11.nl/peripherals/disk/rl-info.html
|
/* from https://www.pdp-11.nl/peripherals/disk/rl-info.html
|
||||||
static uint16_t rl02_code[] = {
|
constexpr const uint16_t rl02_code[] = {
|
||||||
0012701,
|
0012701,
|
||||||
0174400,
|
0174400,
|
||||||
0012761,
|
0012761,
|
||||||
|
@ -120,7 +120,7 @@ void set_boot_loader(bus *const b, const bootloader_t which)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// from http://gunkies.org/wiki/RL11_disk_controller
|
// from http://gunkies.org/wiki/RL11_disk_controller
|
||||||
static uint16_t rl02_code[] = {
|
constexpr const uint16_t rl02_code[] = {
|
||||||
0012700,
|
0012700,
|
||||||
0174400,
|
0174400,
|
||||||
0012760,
|
0012760,
|
||||||
|
|
Loading…
Add table
Reference in a new issue