Skip to content

Commit d25c4e9

Browse files
authored
Update Package for ata.device / sagasd.device / fat-handler / sfs.device / Format / HDToolbox / iPrefs (ApolloTeam-dev#132)
* Updated CLI, Banners and ata.device 44.1 (dual controller / dual drive) * Updated CLI, Banners and ata.device 44.1 (dual controller / dual drive) * Updated lowlevel to Unit_OutS/UnitInS * Cleanup lowlevel.c * Cleanup lowlevel * [44.19] Release Candidate (tested on SA and MC) * ApolloROM R9.5RC6 - ata.device 44.20 * [44.21] ATAPI Support ApolloTeam-dev#1 * [44.22] ata.device = improved mount CD * Minor * Minor * [44.25] ATAPI Read large file works * [44.26] fixec retrycount * [44.27] Added reject in case of M/S conflict (Kingston CF for example) * Added Keymap files * Enabled Lowlevel Debug * Disable debug lowlevel * [44.29] Kingston fixed * ata.device [44.30] ApolloROM R9.5-RC7 * ata.device [44.32] - fixed timing on CD mount * ata.device [44.34] - Removable ApolloTeam-dev#1 * ata.device [44.35] Removable Support ApolloTeam-dev#2 * ApolloROM R95RC8 * R9.6-RC1 + ATA 44.38 + Format + HDToolBox + iPrefs + Input * R9.6-RC1 + ATA 44.38+iPrefs+Input+Format+HDTB * Working ApolloOS boot (debug enabled) * Cleanup Debug * ata.device 44.39 - Stable on ID=0 * Cleanup Debug * Cleanup * Corrected TestUnit() * Fixed Format issue with OK button * Updated System/Format (BHFormat) * Format (WIP#1) * Format (WIP#2) * Minor * Removed .gitmodules * Added catalogs copy * Delete catalogs submodule * Reinstated catalogs * gui.h (BHFormat) * Minor * Added workbench/libs/catalogs copy * Delete catalogs * Reinstate * rom/dos/catalogs * Reinstate * rom/filesys/catalogs * rom/security/catalogs * R~einstated * catalogs copies * catalogs reinstated * Reinstate translations * developer submodules * reinstate developers folders * Stable on ID=0 / Format with % progressbar * ApolloRom R95 Release * Removable Support * ata.device [44.41] - AutoMount CD/DVD Fixed * ata.device [44.42] improved ATAPI support and System/Format improved * ata.device [44.43] added cdfs to rom - DOS/0 default - StartCyl ApolloTeam-dev#2 - Format check for DOS/o * ata.device [44.44] Boot with SFS ZIP Media inserted is now OK * Update on fat-handler for ZIP * Cleaning up Filesystems (afs/sfs/fat) * SFS Update 1.860 * Implementing MODESENSE in ATAPI - Part 1 * [SFS} 1.861 * [SFS] 1.862 * [SFS] 1.863 - Ghost Icons fixed * [SFS] 1.864 Cleanup and Speedup * [SFS] 1.865 + DiskChange Active + Cleanup/Speedup * [ata] noreset | DOSBoot debug | * Disabled NoMedia screen to save ROM space * ApolloROM size optimise + ROM size output on rebuild_ scripts * [sagasd.device] added to ROM and enabled boot from SD * [fat-handler 41.66] Start work on ROM integration * Reduce Debug Output * [fat-handler 42.00] re-instated * [fat-handler 42.01] * [fat-handler 42.02] - improved FAT32 compatibility * Fixed FAT names (Capitals) and IMproved Format (DosType added) * IMproved Debug output * Fixed Memory Manager Error after Format + Improved Debug Output * sagasd - updated present and detect routines (working now without HW pin detect) * sagasd - addchangeint added * [sagasd.device 2.54] SD-Card present/detect added to task + addchangeint() = HotSwap * Updated Format tool with correct DosType and Volume fields * System/Format - Improved Checks * [sagasd.device 2.55] [afs-handler 41.8] Fixed AddChangeInt / Improved NewMedia * Minor * [fat-handler 42.04] Fixed booting with/without SD (1 partition support) * Partition boot sequence limited to RDB (to allow fat-handler take control over MBR) * Improved Bootstrap * [sagasd] reset default boot prio to -5 * Improved Boot Menu and skipping FAT now in Boot Partition (so fat-handler takes over) * fat+sagasd - multiple FS (boot) versus FAT-only mode (after boot) * fat+sagasd - improved boot detection process * [WIP sagasd2nd.device] * restored sagasd_device_raw * 2nd SD-Card activated (single unit still, working on unified for multiple support) * sagasd - single SD (SPI2) stable * sagasd - improved detection speed * sagasd - stable SPI1+2 * Updated ColdReboot so now it works OK with Apollo V4 - Added Requester when mounting non-FAT - Cleanup * Fixed timing / semaphore issue (__dos_boot) * Restructured DEBUG * Fixed no drive error for FAT in Format and added RemoveNode for SFS in Format * Cleanup + 2Gb RM (SFS issue remains) * SFS issue fixed * SFS issue fixed 2 * Enabled HW SD Pin detect and fixed detection issues with UniCorn SD * updated gitignore
1 parent 6376653 commit d25c4e9

File tree

1,242 files changed

+137592
-41593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,242 files changed

+137592
-41593
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2138,3 +2138,5 @@ config/config.log
21382138
compiler/include/geninc.cfg
21392139
bin/Sources/.freetype-2.10.0-fetched
21402140
aros.rom
2141+
ApolloOS.code-workspace
2142+
arch/m68k-amiga/boot/romlog.txt

.gitmodules

Lines changed: 0 additions & 204 deletions
Original file line numberDiff line numberDiff line change
@@ -1,204 +0,0 @@
1-
[submodule "workbench/libs/muimaster/catalogs"]
2-
path = workbench/libs/muimaster/catalogs
3-
url = https://github.com/aros-translation-team/muimaster.library.git
4-
[submodule "arch/all-pc/acpitool/catalogs"]
5-
path = arch/all-pc/acpitool/catalogs
6-
url = https://github.com/aros-translation-team/acpitool.git
7-
[submodule "rom/dos/catalogs"]
8-
path = rom/dos/catalogs
9-
url = https://github.com/aros-translation-team/dos.library.git
10-
[submodule "rom/filesys/SFS/SFSdefrag/Catalogs"]
11-
path = rom/filesys/SFS/SFSdefrag/Catalogs
12-
url = https://github.com/aros-translation-team/sfsdefrag.git
13-
[submodule "rom/hidds/pci/pcitool/catalogs"]
14-
path = rom/hidds/pci/pcitool/catalogs
15-
url = https://github.com/aros-translation-team/pcitool.git
16-
[submodule "rom/security/catalogs"]
17-
path = rom/security/catalogs
18-
url = https://github.com/aros-translation-team/security.library.git
19-
[submodule "rom/usb/trident/catalogs"]
20-
path = rom/usb/trident/catalogs
21-
url = https://github.com/aros-translation-team/trident.git
22-
[submodule "workbench/c/LoadResource/catalogs"]
23-
path = workbench/c/LoadResource/catalogs
24-
url = https://github.com/aros-translation-team/loadresource.git
25-
[submodule "workbench/c/R/catalogs"]
26-
path = workbench/c/R/catalogs
27-
url = https://github.com/aros-translation-team/r.git
28-
[submodule "workbench/classes/zune/aboutwindow/catalogs"]
29-
path = workbench/classes/zune/aboutwindow/catalogs
30-
url = https://github.com/aros-translation-team/aboutwindow.git
31-
[submodule "workbench/classes/zune/prefswindow/catalogs"]
32-
path = workbench/classes/zune/prefswindow/catalogs
33-
url = https://github.com/aros-translation-team/prefswindow.git
34-
[submodule "workbench/classes/zune/systemprefswindow/catalogs"]
35-
path = workbench/classes/zune/systemprefswindow/catalogs
36-
url = https://github.com/aros-translation-team/systemprefswindow.git
37-
[submodule "workbench/devs/diskimage/device/catalogs"]
38-
path = workbench/devs/diskimage/device/catalogs
39-
url = https://github.com/aros-translation-team/diskimage.device.git
40-
[submodule "workbench/devs/diskimage/zune_gui/catalogs"]
41-
path = workbench/devs/diskimage/zune_gui/catalogs
42-
url = https://github.com/aros-translation-team/diskimage-zune.git
43-
[submodule "workbench/libs/asl/catalogs"]
44-
path = workbench/libs/asl/catalogs
45-
url = https://github.com/aros-translation-team/asl.library.git
46-
[submodule "workbench/libs/identify/catalogs"]
47-
path = workbench/libs/identify/catalogs
48-
url = https://github.com/aros-translation-team/identify.library.git
49-
[submodule "workbench/libs/identify/tools/catalogs"]
50-
path = workbench/libs/identify/tools/catalogs
51-
url = https://github.com/aros-translation-team/identify.git
52-
[submodule "workbench/libs/reqtools/catalogs"]
53-
path = workbench/libs/reqtools/catalogs
54-
url = https://github.com/aros-translation-team/reqtools.library.git
55-
[submodule "workbench/devs/AHI/AHI/translations"]
56-
path = workbench/devs/AHI/AHI/translations
57-
url = https://github.com/aros-translation-team/ahi-prefs.git
58-
[submodule "workbench/devs/AHI/Device/translations"]
59-
path = workbench/devs/AHI/Device/translations
60-
url = https://github.com/aros-translation-team/ahi.device.git
61-
[submodule "workbench/utilities/MultiView/catalogs"]
62-
path = workbench/utilities/MultiView/catalogs
63-
url = https://github.com/aros-translation-team/multiview.git
64-
[submodule "workbench/utilities/More/catalogs"]
65-
path = workbench/utilities/More/catalogs
66-
url = https://github.com/aros-translation-team/more.git
67-
[submodule "workbench/utilities/Installer/catalogs"]
68-
path = workbench/utilities/Installer/catalogs
69-
url = https://github.com/aros-translation-team/installer.git
70-
[submodule "workbench/utilities/Clock/catalogs"]
71-
path = workbench/utilities/Clock/catalogs
72-
url = https://github.com/aros-translation-team/clock.git
73-
[submodule "workbench/system/Wanderer/Catalogs"]
74-
path = workbench/system/Wanderer/Catalogs
75-
url = https://github.com/aros-translation-team/wanderer.git
76-
[submodule "workbench/tools/SysExplorer/catalogs"]
77-
path = workbench/tools/SysExplorer/catalogs
78-
url = https://github.com/aros-translation-team/sysexplorer.git
79-
[submodule "workbench/system/AboutAROS/catalogs"]
80-
path = workbench/system/AboutAROS/catalogs
81-
url = https://github.com/aros-translation-team/aboutaros.git
82-
[submodule "workbench/tools/InstallAROS/catalogs"]
83-
path = workbench/tools/InstallAROS/catalogs
84-
url = https://github.com/aros-translation-team/installaros.git
85-
[submodule "workbench/tools/HDToolBox/catalogs"]
86-
path = workbench/tools/HDToolBox/catalogs
87-
url = https://github.com/aros-translation-team/hdtoolbox.git
88-
[submodule "workbench/tools/BoingIconBar/catalogs"]
89-
path = workbench/tools/BoingIconBar/catalogs
90-
url = https://github.com/aros-translation-team/boingiconbar.git
91-
[submodule "workbench/system/SysMon/catalogs"]
92-
path = workbench/system/SysMon/catalogs
93-
url = https://github.com/aros-translation-team/sysmon.git
94-
[submodule "workbench/tools/commodities/catalogs"]
95-
path = workbench/tools/commodities/catalogs
96-
url = https://github.com/aros-translation-team/commodities.git
97-
[submodule "workbench/prefs/palette/catalogs"]
98-
path = workbench/prefs/palette/catalogs
99-
url = https://github.com/aros-translation-team/palette-prefs.git
100-
[submodule "developer/debug/test/crt/posixc/posix.1"]
101-
path = developer/debug/test/crt/posixc/posix.1
102-
url = https://github.com/agordon/posix-libc-examples.git
103-
[submodule "workbench/prefs/appearance/catalogs"]
104-
path = workbench/prefs/appearance/catalogs
105-
url = https://github.com/aros-translation-team/appearance-prefs.git
106-
[submodule "workbench/prefs/boingiconbar/catalogs"]
107-
path = workbench/prefs/boingiconbar/catalogs
108-
url = https://github.com/aros-translation-team/boingiconbar-prefs.git
109-
[submodule "workbench/prefs/font/catalogs"]
110-
path = workbench/prefs/font/catalogs
111-
url = https://github.com/aros-translation-team/font-prefs.git
112-
[submodule "workbench/prefs/input/catalogs"]
113-
path = workbench/prefs/input/catalogs
114-
url = https://github.com/aros-translation-team/input-prefs.git
115-
[submodule "workbench/prefs/locale/catalogs"]
116-
path = workbench/prefs/locale/catalogs
117-
url = https://github.com/aros-translation-team/locale-prefs.git
118-
[submodule "workbench/prefs/reqtools/catalogs"]
119-
path = workbench/prefs/reqtools/catalogs
120-
url = https://github.com/aros-translation-team/reqtools-prefs.git
121-
[submodule "workbench/prefs/boot/catalogs"]
122-
path = workbench/prefs/boot/catalogs
123-
url = https://github.com/aros-translation-team/boot-prefs.git
124-
[submodule "workbench/prefs/icontrol/catalogs"]
125-
path = workbench/prefs/icontrol/catalogs
126-
url = https://github.com/aros-translation-team/icontrol-prefs.git
127-
[submodule "workbench/prefs/network/catalogs"]
128-
path = workbench/prefs/network/catalogs
129-
url = https://github.com/aros-translation-team/network-prefs.git
130-
[submodule "workbench/prefs/pointer/catalogs"]
131-
path = workbench/prefs/pointer/catalogs
132-
url = https://github.com/aros-translation-team/pointer-prefs.git
133-
[submodule "workbench/prefs/printer/catalogs"]
134-
path = workbench/prefs/printer/catalogs
135-
url = https://github.com/aros-translation-team/printer-prefs.git
136-
[submodule "workbench/prefs/Editor/catalogs"]
137-
path = workbench/prefs/Editor/catalogs
138-
url = https://github.com/aros-translation-team/editor-prefs.git
139-
[submodule "workbench/prefs/PSI/catalogs"]
140-
path = workbench/prefs/PSI/catalogs
141-
url = https://github.com/aros-translation-team/psi-prefs.git
142-
[submodule "workbench/prefs/screenmode/catalogs"]
143-
path = workbench/prefs/screenmode/catalogs
144-
url = https://github.com/aros-translation-team/screenmode-prefs.git
145-
[submodule "workbench/prefs/serial/catalogs"]
146-
path = workbench/prefs/serial/catalogs
147-
url = https://github.com/aros-translation-team/serial-prefs.git
148-
[submodule "workbench/prefs/time/catalogs"]
149-
path = workbench/prefs/time/catalogs
150-
url = https://github.com/aros-translation-team/time-prefs.git
151-
[submodule "workbench/prefs/trackdisk/catalogs"]
152-
path = workbench/prefs/trackdisk/catalogs
153-
url = https://github.com/aros-translation-team/trackdisk-prefs.git
154-
[submodule "workbench/prefs/wanderer/catalogs"]
155-
path = workbench/prefs/wanderer/catalogs
156-
url = https://github.com/aros-translation-team/wanderer-prefs.git
157-
[submodule "workbench/prefs/Zune/catalogs"]
158-
path = workbench/prefs/Zune/catalogs
159-
url = https://github.com/aros-translation-team/zune-prefs.git
160-
[submodule "workbench/network/stacks/AROSTCP/MUI.MiamiPanel/catalogs"]
161-
path = workbench/network/stacks/AROSTCP/MUI.MiamiPanel/catalogs
162-
url = https://github.com/aros-translation-team/miamipanel.git
163-
[submodule "workbench/system/BHFormat/catalogs"]
164-
path = workbench/system/BHFormat/catalogs
165-
url = https://github.com/aros-translation-team/format.git
166-
[submodule "workbench/system/find/catalogs"]
167-
path = workbench/system/find/catalogs
168-
url = https://github.com/aros-translation-team/find.git
169-
[submodule "workbench/system/ftmanager/catalogs"]
170-
path = workbench/system/ftmanager/catalogs
171-
url = https://github.com/aros-translation-team/ftmanager.git
172-
[submodule "workbench/system/Snoopy/catalogs"]
173-
path = workbench/system/Snoopy/catalogs
174-
url = https://github.com/aros-translation-team/snoopy.git
175-
[submodule "workbench/system/Wanderer/Tools/DiskInfo/catalogs"]
176-
path = workbench/system/Wanderer/Tools/DiskInfo/catalogs
177-
url = https://github.com/aros-translation-team/diskinfo.git
178-
[submodule "workbench/system/Wanderer/Tools/ExecuteCommand/catalogs"]
179-
path = workbench/system/Wanderer/Tools/ExecuteCommand/catalogs
180-
url = https://github.com/aros-translation-team/executecommand.git
181-
[submodule "workbench/system/Wanderer/Tools/ExecuteStartup/catalogs"]
182-
path = workbench/system/Wanderer/Tools/ExecuteStartup/catalogs
183-
url = https://github.com/aros-translation-team/executestartup.git
184-
[submodule "workbench/system/Wanderer/Tools/WBNewDrawer/catalogs"]
185-
path = workbench/system/Wanderer/Tools/WBNewDrawer/catalogs
186-
url = https://github.com/aros-translation-team/wbnewdrawer.git
187-
[submodule "workbench/system/Wanderer/Tools/WBRename/catalogs"]
188-
path = workbench/system/Wanderer/Tools/WBRename/catalogs
189-
url = https://github.com/aros-translation-team/wbrename.git
190-
[submodule "workbench/tools/Edit/catalogs"]
191-
path = workbench/tools/Edit/catalogs
192-
url = https://github.com/aros-translation-team/editor.git
193-
[submodule "workbench/tools/KeyShow/catalogs"]
194-
path = workbench/tools/KeyShow/catalogs
195-
url = https://github.com/aros-translation-team/keyshow.git
196-
[submodule "workbench/tools/ScreenGrabber/catalogs"]
197-
path = workbench/tools/ScreenGrabber/catalogs
198-
url = https://github.com/aros-translation-team/screengrabber.git
199-
[submodule "workbench/tools/WiMP/catalogs"]
200-
path = workbench/tools/WiMP/catalogs
201-
url = https://github.com/aros-translation-team/wimp.git
202-
[submodule "developer/debug/test/datatypes"]
203-
path = developer/debug/test/datatypes
204-
url = https://github.com/aros-development-team/datatype-test-binaries.git

arch/m68k-all/dosboot/bootcode.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ void dosboot_BootPoint(struct BootNode *bn)
6565
struct DosEnvec *de;
6666
IPTR bootblocks;
6767

68+
D(Bug("dosboot_BootPoint\n"));
69+
6870
dn = bn->bn_DeviceNode;
6971
if (dn == NULL || dn->dn_Name == BNULL)
7072
return;

arch/m68k-amiga/boot/debug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ int DebugMayGetChar(void)
5151
return c;
5252
}
5353

54-
#if AROS_SERIAL_DEBUG
54+
#if APOLLO_DEBUG2
5555

5656
void DebugPutStr(register const char *buff)
5757
{

arch/m68k-amiga/boot/debug.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void DebugInit(void);
1818
int DebugPutChar(register int chr);
1919
int DebugMayGetChar(void);
2020

21-
#if AROS_SERIAL_DEBUG
21+
#if APOLLO_DEBUG2
2222
void DebugPutStr(register const char *buff);
2323
void DebugPutHex(const char *what, ULONG val);
2424
void DebugPutDec(const char *what, ULONG val);
@@ -28,7 +28,7 @@ void DebugPutHexVal(ULONG val);
2828
#define DEBUGPUTD(x) do { DebugPutDec x; } while(0)
2929
#define DEBUGPUTHEX(x) do { DebugPutHex x; } while(0)
3030
#endif
31-
#endif /* !AROS_SERIAL_DEBUG */
31+
#endif /* !APOLLO_DEBUG */
3232

3333
#ifndef DEBUGPUTS
3434
#define DEBUGPUTS(x) do { } while (0)

arch/m68k-amiga/boot/mmakefile.src

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ include $(SRCDIR)/config/aros.cfg
3737
#MM kernel-filesystem-kobj \
3838
#MM kernel-freeanim-kobj \
3939
#MM kernel-fs-core-kobj \
40+
#MM kernel-fs-fat-kobj \
4041
#MM kernel-fs-con-kobj \
4142
#MM kernel-fs-ram-kobj \
4243
#MM kernel-gameport-kobj \
@@ -93,7 +94,7 @@ include $(SRCDIR)/config/aros.cfg
9394
#MM- kernel-workbench-devs-amiga-m68k : workbench-devs-amiga-m68k
9495

9596
# Make sure we optimize this code for size ..
96-
OPTIMIZATION_CFLAGS := -O2
97+
OPTIMIZATION_CFLAGS := -Os
9798

9899
USELIBS := amiga arossupport autoinit libinit stdc.static
99100
LIBS := -L$(GENDIR)/lib -lloadseg $(addprefix -l,$(USELIBS))
@@ -122,17 +123,18 @@ ROMLOC_ss := 0x003f800
122123
# Main ROM (0xf80000 - 0xffffff)
123124
ROMLOC_rom := 0x0f80000
124125

125-
FILES=start early debug mmu
126+
FILES=start early debug
127+
# debug mmu
126128
AFILES=rom_entry rom_init cpu_detect superstack_swap
127129

128130
# APOLLOROM = V4 -> Native V4
129131
ifeq ($(APOLLOROM),V4)
130-
KLIBS := exec aros dos utility oop expansion partition debug
132+
KLIBS := exec aros dos utility oop expansion partition
131133
KDEVS := timer input keyboard console gameport audio
132-
KHNDLRS := con afs ram
134+
KHNDLRS := afs fat ram
133135
KHIDDS := amigakbd amigamouse amigavideo ata_gayle gfx hiddclass keyboard mouse
134-
KRSRCS := battclock kernel processor task lddemon dosboot cia potgo disk FileSystem misc shell card bootloader vampire
135-
KHOOKS := diag romboot
136+
KRSRCS := battclock kernel processor task lddemon dosboot cia potgo disk FileSystem vampire
137+
KHOOKS :=
136138
endif
137139

138140
# APOLLOROM = UAE -> UAE with P96
@@ -141,8 +143,8 @@ ifeq ($(APOLLOROM),UAE)
141143
KDEVS := timer input keyboard console gameport audio
142144
KHNDLRS := con afs ram
143145
KHIDDS := amigakbd amigamouse amigavideo ata_gayle gfx hiddclass keyboard mouse p96gfx
144-
KRSRCS := battclock kernel processor task lddemon dosboot cia potgo disk FileSystem
145-
KHOOKS :=
146+
KRSRCS := kernel processor task lddemon dosboot cia potgo disk FileSystem
147+
KHOOKS := diag romboot
146148
endif
147149

148150
KOBJS_rom := $(addprefix $(KOBJSDIR)/,$(addsuffix _library.ko ,$(KLIBS))) \
@@ -165,23 +167,25 @@ AFILES := ext_entry
165167
# APOLLOROM = V4 -> Native V4
166168
ifeq ($(APOLLOROM),V4)
167169
KLIBS := keymap graphics layers intuition gadtools workbench mathffp mathieeesingbas freeanim lowlevel setpatch
168-
KDEVS := cd ata trackdisk
169-
KHNDLRS := cdrom
170-
KHIDDS := bus storage system
171-
KRSRCS := shellcommands wbtag
172-
KHOOKS := alert
170+
KDEVS := sagasd ata trackdisk
171+
KHNDLRS := con
172+
KHIDDS := bus storage system
173+
KRSRCS := shellcommands wbtag misc shell card bootloader
174+
KHOOKS := alert diag romboot
173175
endif
174176

175177
# APOLLOROM = UAE -> UAE with P96
176178
ifeq ($(APOLLOROM),UAE)
177179
KLIBS := keymap graphics layers intuition gadtools workbench mathffp mathieeesingbas freeanim lowlevel setpatch
178-
KDEVS := cd ata trackdisk
179-
KHNDLRS := cdrom
180+
KDEVS := ata trackdisk
181+
KHNDLRS :=
180182
KHIDDS := bus storage system
181183
KRSRCS := shellcommands wbtag misc shell card bootloader
182-
KHOOKS := alert diag romboot
184+
KHOOKS := alert
183185
endif
184186

187+
# diag romboot
188+
185189
ROMLOC_ext := 0xe00000
186190
KOBJS_ext := \
187191
$(addprefix $(KOBJSDIR)/,$(addsuffix _library.ko ,$(KLIBS) )) \
@@ -236,7 +240,7 @@ $(GENDIR)/boot/aros-amiga-m68k.elf: $(GENDIR)/boot/aros-amiga-m68k-reloc.elf
236240
--section-start .ext=$(ROMLOC_ext) \
237241
--section-start .ss=$(ROMLOC_ss) \
238242
$<
239-
$(Q)$(TARGET_OBJDUMP) -h $@ | grep '[rea][oxm][mte] '
243+
$(Q)$(TARGET_OBJDUMP) -h $@ | grep '[rea][oxm][mte] ' > romlog.txt
240244

241245
$(GENDIR)/boot/aros-amiga-m68k-%.bin : $(GENDIR)/boot/aros-amiga-m68k.elf $(HOSTGENDIR)/tools/romcheck
242246
$(Q)$(TARGET_OBJCOPY) \

arch/m68k-amiga/boot/rom_init.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ arosbootstrap_init:
9999

100100
#if VAMPIRECARDSERIES==4
101101
//V4 version
102-
move.l #0x01800000,%a0 //Reserve 8MB for ApolloFloppy
103-
move.l #0x40000000,%a1
102+
move.l #0x01800000,%a0 // Reserve 8MB for ApolloFloppy
103+
move.l #0x80000000,%a1 // UniCorn 2Gb
104104
move.l #0x00100000,%d0
105105
jsr __MemoryTest
106106
#else

arch/m68k-amiga/boot/romlog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Idx Name Size VMA LMA File off Algn
2+
0 .rom 00077adc 00f80000 00f80000 0007c000 2**2
3+
1 .ext 000783ea 00e00000 00e00000 00002000 2**2

arch/m68k-amiga/boot/start.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ void doColdCapture(void)
566566

567567
static void RomInfo(IPTR rom)
568568
{
569-
#if AROS_SERIAL_DEBUG && (DEBUG > 0)
569+
#if DEBUG > 0
570570
APTR ptr = (APTR)rom;
571571
CONST_STRPTR str;
572572

@@ -612,7 +612,7 @@ static UWORD GetAttnFlags(ULONG *cpupcr)
612612
attnflags |= AFF_68881 | AFF_68882;
613613
}
614614

615-
#if AROS_SERIAL_DEBUG && (DEBUG > 0)
615+
#if DEBUG > 0
616616
DEBUGPUTS(("CPU: "));
617617
if (attnflags & AFF_68080)
618618
DEBUGPUTS(("Apollo Core 68080"));
@@ -765,7 +765,7 @@ void exec_boot(ULONG *membanks, ULONG *cpupcr)
765765

766766
membanks[i + 1] -= membanks[i + 0];
767767

768-
#if AROS_SERIAL_DEBUG && (DEBUG > 0)
768+
#if DEBUG > 0
769769
for (i = 0; membanks[i + 1]; i += 2) {
770770
ULONG addr = membanks[i + 0];
771771
ULONG size = membanks[i + 1];
@@ -827,7 +827,7 @@ void exec_boot(ULONG *membanks, ULONG *cpupcr)
827827
Early_Alert(AT_DeadEnd | AG_NoMemory);
828828
}
829829

830-
#if AROS_SERIAL_DEBUG && (DEBUG > 0)
830+
#if DEBUG > 0
831831
for (i = 0; kickrom [i] != (UWORD*)~0; i += 2) {
832832
DEBUGPUTHEX(("Resident start", (ULONG)kickrom[i]));
833833
DEBUGPUTHEX(("Resident end ", (ULONG)kickrom[i + 1]));

0 commit comments

Comments
 (0)