mirror of
https://github.com/simh/simh.git
synced 2026-04-28 12:47:25 +00:00
BuildROMs: Make sure that multiple ROM includes are each numbered _n
The first ROM included will be defined with names:
BOOT_CODE_SIZE
BOOT_CODE_CHECKSUM
BOOT_CODE_FILENAME
BOOT_CODE_FILEPATH
BOOT_CODE_ARRAY
and BOOT_CODE_URL
That first ROM will also have names:
BOOT_CODE_SIZE_1
BOOT_CODE_CHECKSUM_1
BOOT_CODE_FILENAME_1
BOOT_CODE_FILEPATH_1
BOOT_CODE_ARRAY_1
and BOOT_CODE_URL_1
Subsequent included ROM's will have names
BOOT_CODE_SIZE_n
BOOT_CODE_CHECKSUM_n
BOOT_CODE_FILENAME_n
BOOT_CODE_FILEPATH_n
BOOT_CODE_ARRAY_n
and BOOT_CODE_URL_n
where n is 2 thru the max number of supported ROM includes.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef ROM_logo_lda_H
|
||||
#define ROM_logo_lda_H 0
|
||||
/*
|
||||
PDP11/pdp11_11logo_rom.h produced at Sat Jun 17 18:17:48 2023
|
||||
PDP11/pdp11_11logo_rom.h produced at Sun Jul 2 10:12:01 2023
|
||||
from PDP11/11logo/11logo.lda which was last modified at Sat Apr 29 15:56:36 2023
|
||||
file size: 26009 (0x6599) - checksum: 0xFFDD77F7
|
||||
This file is a generated file and should NOT be edited or changed by hand.
|
||||
@@ -17,7 +17,8 @@
|
||||
#define BOOT_CODE_ARRAY logo_lda
|
||||
#endif
|
||||
#define BOOT_CODE_URL NULL
|
||||
#elif !defined(BOOT_CODE_SIZE_1)
|
||||
#endif
|
||||
#if !defined(BOOT_CODE_SIZE_1)
|
||||
#define BOOT_CODE_SIZE_1 0x6599
|
||||
#define BOOT_CODE_CHECKSUM_1 0xFFDD77F7
|
||||
#define BOOT_CODE_FILENAME_1 "11logo.lda"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef ROM_dazzle_lda_H
|
||||
#define ROM_dazzle_lda_H 0
|
||||
/*
|
||||
PDP11/pdp11_dazzle_dart_rom.h produced at Sat Jun 17 18:17:48 2023
|
||||
PDP11/pdp11_dazzle_dart_rom.h produced at Sun Jul 2 10:12:01 2023
|
||||
from PDP11/dazzledart/dazzle.lda which was last modified at Sat Apr 29 15:56:36 2023
|
||||
file size: 6096 (0x17D0) - checksum: 0xFFF83848
|
||||
This file is a generated file and should NOT be edited or changed by hand.
|
||||
@@ -17,7 +17,8 @@
|
||||
#define BOOT_CODE_ARRAY dazzle_lda
|
||||
#endif
|
||||
#define BOOT_CODE_URL NULL
|
||||
#elif !defined(BOOT_CODE_SIZE_1)
|
||||
#endif
|
||||
#if !defined(BOOT_CODE_SIZE_1)
|
||||
#define BOOT_CODE_SIZE_1 0x17D0
|
||||
#define BOOT_CODE_CHECKSUM_1 0xFFF83848
|
||||
#define BOOT_CODE_FILENAME_1 "dazzle.lda"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef ROM_lunar_lda_H
|
||||
#define ROM_lunar_lda_H 0
|
||||
/*
|
||||
PDP11/pdp11_vt_lunar_rom.h produced at Sat Jun 17 18:17:48 2023
|
||||
PDP11/pdp11_vt_lunar_rom.h produced at Sun Jul 2 10:12:01 2023
|
||||
from PDP11/lunar11/lunar.lda which was last modified at Sat Apr 29 15:56:36 2023
|
||||
file size: 13824 (0x3600) - checksum: 0xFFF15D00
|
||||
This file is a generated file and should NOT be edited or changed by hand.
|
||||
@@ -17,7 +17,8 @@
|
||||
#define BOOT_CODE_ARRAY lunar_lda
|
||||
#endif
|
||||
#define BOOT_CODE_URL NULL
|
||||
#elif !defined(BOOT_CODE_SIZE_1)
|
||||
#endif
|
||||
#if !defined(BOOT_CODE_SIZE_1)
|
||||
#define BOOT_CODE_SIZE_1 0x3600
|
||||
#define BOOT_CODE_CHECKSUM_1 0xFFF15D00
|
||||
#define BOOT_CODE_FILENAME_1 "lunar.lda"
|
||||
|
||||
Reference in New Issue
Block a user