Skip to content

Commit 1d9a7c8

Browse files
committed
This is vAmiga 3.2
1 parent b47f848 commit 1d9a7c8

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

Emulator/Components/Agnus/Agnus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ Agnus::updateSpriteDMA()
667667
void
668668
Agnus::eolHandler()
669669
{
670-
assert(pos.h == HPOS_CNT_PAL || pos.h == HPOS_CNT_NTSC);
670+
assert(pos.h == PAL::HPOS_CNT || pos.h == NTSC::HPOS_CNT);
671671

672672
// Pass control to the DMA debugger
673673
dmaDebugger.eolHandler();

Emulator/Components/Agnus/AgnusEvents.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Agnus::scheduleFirstBplEvent()
9797
void
9898
Agnus::scheduleNextBplEvent(isize hpos)
9999
{
100-
assert(hpos >= 0 && hpos < HPOS_CNT_NTSC);
100+
assert(hpos >= 0 && hpos < HPOS_CNT);
101101

102102
u8 next = sequencer.nextBplEvent[hpos];
103103
scheduleRel<SLOT_BPL>(DMA_CYCLES(next - pos.h), sequencer.bplEvent[next]);
@@ -106,7 +106,7 @@ Agnus::scheduleNextBplEvent(isize hpos)
106106
void
107107
Agnus::scheduleBplEventForCycle(isize hpos)
108108
{
109-
assert(hpos >= pos.h && hpos < HPOS_CNT_NTSC);
109+
assert(hpos >= pos.h && hpos < HPOS_CNT);
110110

111111
if (sequencer.bplEvent[hpos] != EVENT_NONE) {
112112
scheduleRel<SLOT_BPL>(DMA_CYCLES(hpos - pos.h), sequencer.bplEvent[hpos]);
@@ -188,8 +188,8 @@ Agnus::scheduleStrobe2Event()
188188
void
189189
Agnus::serviceREGEvent(Cycle until)
190190
{
191-
assert(pos.type != PAL || pos.h <= HPOS_CNT_PAL);
192-
assert(pos.type == PAL || pos.h <= HPOS_CNT_NTSC);
191+
assert(pos.type != FORMAT_PAL || pos.h <= PAL::HPOS_CNT);
192+
assert(pos.type != FORMAT_NTSC || pos.h <= NTSC::HPOS_CNT);
193193

194194
if (syncEvent) {
195195

@@ -734,7 +734,7 @@ Agnus::serviceDASEvent(EventID id)
734734

735735
case DAS_EOL:
736736

737-
assert(pos.h == HPOS_MAX_PAL || pos.h == HPOS_MAX_NTSC);
737+
assert(pos.h == PAL::HPOS_MAX || pos.h == NTSC::HPOS_MAX);
738738

739739
if (pos.h == PAL::HPOS_MAX && pos.lol) {
740740

Emulator/Components/Agnus/Blitter/SlowBlitter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ Blitter::fakeExec()
12701270
if constexpr ((bool)(instr & (FETCH | WRITE_D))) {
12711271

12721272
// Record some fake data to make the DMA debugger happy
1273-
assert(agnus.pos.h < HPOS_CNT_NTSC);
1273+
assert(agnus.pos.h < HPOS_CNT);
12741274
agnus.busData[agnus.pos.h] = 0x8888;
12751275
}
12761276

@@ -1477,7 +1477,7 @@ Blitter::fakeExecLine()
14771477
if constexpr ((bool)(instr & (FETCH | BUS | WRITE_D))) {
14781478

14791479
// Record some fake data to make the DMA debugger happy
1480-
assert(agnus.pos.h < HPOS_CNT_NTSC);
1480+
assert(agnus.pos.h < HPOS_CNT);
14811481
agnus.busData[agnus.pos.h] = 0x8888;
14821482
}
14831483

Emulator/Components/Agnus/Sequencer/SequencerBpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Sequencer::computeBplEventsSlow(const SigRecorder &sr, DDFState &state)
165165
auto signal = sigRecorder.elements[i];
166166
isize trigger = (isize)sigRecorder.keys[i];
167167

168-
assert(trigger <= HPOS_CNT_NTSC);
168+
assert(trigger <= HPOS_CNT);
169169

170170
// Emulate the display logic up to the next signal change
171171
computeBplEvents <ecs> (cycle, trigger, state);

Emulator/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
// Version number
1717
static constexpr int VER_MAJOR = 3;
18-
static constexpr int VER_MINOR = 1;
19-
static constexpr int VER_SUBMINOR = 1;
18+
static constexpr int VER_MINOR = 2;
19+
static constexpr int VER_SUBMINOR = 0;
2020
static constexpr int VER_BETA = 0;
2121

2222
// Snapshot version number

vAmiga.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2972,7 +2972,7 @@
29722972
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
29732973
CODE_SIGN_STYLE = Manual;
29742974
COMBINE_HIDPI_IMAGES = YES;
2975-
CURRENT_PROJECT_VERSION = 250108;
2975+
CURRENT_PROJECT_VERSION = 250116;
29762976
DEAD_CODE_STRIPPING = YES;
29772977
DEVELOPMENT_TEAM = "";
29782978
ENABLE_APP_SANDBOX = NO;
@@ -2994,7 +2994,7 @@
29942994
"@executable_path/../Frameworks",
29952995
);
29962996
MACOSX_DEPLOYMENT_TARGET = 13.5;
2997-
MARKETING_VERSION = 3.1.1;
2997+
MARKETING_VERSION = 3.2;
29982998
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 c++20";
29992999
PRODUCT_BUNDLE_IDENTIFIER = dirkwhoffmann.vAmiga;
30003000
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -3024,7 +3024,7 @@
30243024
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
30253025
CODE_SIGN_STYLE = Manual;
30263026
COMBINE_HIDPI_IMAGES = YES;
3027-
CURRENT_PROJECT_VERSION = 250108;
3027+
CURRENT_PROJECT_VERSION = 250116;
30283028
DEAD_CODE_STRIPPING = YES;
30293029
DEVELOPMENT_TEAM = "";
30303030
ENABLE_APP_SANDBOX = NO;
@@ -3044,7 +3044,7 @@
30443044
);
30453045
LLVM_LTO = YES_THIN;
30463046
MACOSX_DEPLOYMENT_TARGET = 13.5;
3047-
MARKETING_VERSION = 3.1.1;
3047+
MARKETING_VERSION = 3.2;
30483048
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 c++20";
30493049
PRODUCT_BUNDLE_IDENTIFIER = dirkwhoffmann.vAmiga;
30503050
PRODUCT_NAME = "$(TARGET_NAME)";

0 commit comments

Comments
 (0)