Forum: Amiga scene
Yesterday, 12:11
|
Replies: 69
Views: 2,421
|
Forum: Coders. General
20 April 2024, 19:36
|
Replies: 21
Views: 3,045
|
Forum: Coders. General
20 April 2024, 02:43
|
Replies: 2
Views: 297
P61 doesn't provide that unfortunately, you are...
P61 doesn't provide that unfortunately, you are not even guaranteed that the sample numbers will be the same.
For example, if you have 3 mods and 10 shared samples.
- mod1 uses samples 1,2,3,6,7,8...
|
Forum: Coders. Asm / Hardware
19 April 2024, 20:39
|
Replies: 5
Views: 342
I prefer BHS/BLO aliases unless I'm explicitely...
I prefer BHS/BLO aliases unless I'm explicitely checking the C flag (rarely). I find them more self-explanatory (= fewer comments needed), but it also requires more discipline because if you happen...
|
Forum: Coders. Asm / Hardware
19 April 2024, 18:10
|
Replies: 15
Views: 455
|
Forum: Coders. Asm / Hardware
19 April 2024, 15:48
|
Replies: 15
Views: 455
|
Forum: Coders. Asm / Hardware
19 April 2024, 13:06
|
Replies: 15
Views: 455
Yeah, if you are using absolute addresses...
Yeah, if you are using absolute addresses (AllocAbs() or ORG/LOAD). Otherwise (AllocMem() or relative sections) you don't know where the bitmap will be in memory during compile time, and since the...
|
Forum: Amiga scene
18 April 2024, 23:27
|
Replies: 6
Views: 492
Extended is MFM encoded raw data (0's and 1's...
Extended is MFM encoded raw data (0's and 1's that are actually written on the disk), about twice the size of a normal ADF. Allows for custom layouts and all kinds of shenanigans.
Normal is regular...
|
Forum: Coders. Asm / Hardware
15 April 2024, 23:57
|
Replies: 10
Views: 582
1. Use SET instead of EQU so you can simply...
1. Use SET instead of EQU so you can simply overwrite the symbol with a new value in file.b (EQU is for constants and can be used only once, while SET you can use multiple times)
; file.a:
QQ SET...
|
Forum: Coders. Asm / Hardware
15 April 2024, 18:07
|
Replies: 10
Views: 582
|
Forum: Coders. Asm / Hardware
14 April 2024, 13:48
|
Replies: 5
Views: 607
Upper byte (bits 8-15) = lower byte (might be...
Upper byte (bits 8-15) = lower byte (might be different on some 020+, e.g 060, but in this case it doesn't matter), because audio volume only uses bits 0-6, so it works fine. You can also have any...
|
Forum: Coders. Asm / Hardware
14 April 2024, 05:46
|
Replies: 122
Views: 17,305
Aminet, same place as 1.18: ...
Aminet, same place as 1.18:
http://aminet.net/dev/asm/ASMPro1.20.lha
http://aminet.net/dev/asm/ASMPro1.20src.lha
That's for 1.20b.
1.20c (or d, ...) is still work in progress, once there's more...
|
Forum: Coders. Asm / Hardware
09 April 2024, 20:03
|
Replies: 2
Views: 263
If you use INTB_COPER you will have to manually...
If you use INTB_COPER you will have to manually set the corresponding bit in INTREQ in your copper list (e.g. $009c,$8010), because it's not set/triggered by any actual event, it's strictly manually...
|
Forum: Graphics
09 April 2024, 17:49
|
Replies: 39
Views: 1,805
|
Forum: Graphics
09 April 2024, 01:37
|
Replies: 39
Views: 1,805
|
Forum: Coders. Asm / Hardware
07 April 2024, 15:56
|
Replies: 91
Views: 5,618
Here are some empirical numbers for a 68040...
Here are some empirical numbers for a 68040 @25Mhz, with all dma/interrupts off, PAL screen. Yes, the measurment method, probably both of use agree on this, is not that great but it worked for me for...
|
Forum: Amiga scene
06 April 2024, 20:08
|
Replies: 66
Views: 5,416
|
Forum: Coders. Asm / Hardware
02 April 2024, 01:50
|
Replies: 5
Views: 607
|
Forum: Coders. Language
31 March 2024, 19:36
|
Replies: 13
Views: 921
This works fine for me as is, and also after...
This works fine for me as is, and also after changing it to loop with 1sec delay.
Are the lengths correct? I'd use this instead, e.g.
// unsigned int sound19_au_len = 3040;
unsigned int...
|
Forum: support.AmigaOS
31 March 2024, 15:54
|
Replies: 27
Views: 1,719
As I said, he is recasting upper and lower to...
As I said, he is recasting upper and lower to ULONG*, so when a pointer subtraction happens the result is also normalized.
If you inc/dec (++/--) a ULONG pointer, it's increased/decreased by 4, not...
|
Forum: support.AmigaOS
31 March 2024, 13:28
|
Replies: 27
Views: 1,719
|
Forum: Coders. Asm / Hardware
29 March 2024, 13:03
|
Replies: 8
Views: 880
|
Forum: Coders. Asm / Hardware
28 March 2024, 22:56
|
Replies: 8
Views: 880
|
Forum: Coders. Asm / Hardware
28 March 2024, 22:03
|
Replies: 8
Views: 880
Your sprite data doesn't have control/position...
Your sprite data doesn't have control/position word at the start, therefore the hardware (since sprite DMA is enabled) will read the first 2 BPL words in rasterline 25, after refreshing sprite...
|
Forum: Coders. Asm / Hardware
28 March 2024, 19:17
|
Replies: 8
Views: 880
If you are using sprites in automatic/DMA mode...
If you are using sprites in automatic/DMA mode (sprite DMA enabled), you should set the pointers ($0120-$13e) *before* the end of vertical blank area (before rastertline 25) because that's when they...
|
Forum: Coders. Asm / Hardware
27 March 2024, 20:43
|
Replies: 14
Views: 922
|
Forum: Coders. Asm / Hardware
24 March 2024, 21:03
|
Replies: 19
Views: 1,131
Yeah, BPLCON1 ($dff102).
1px scroll? Change x...
Yeah, BPLCON1 ($dff102).
1px scroll? Change x by +/-1.
x=-17 => $102 = $000f, $0e0/$0e2 = bpl_ptr1-4, $0e8/$0ea = bpl_ptr3-4, $0f0/$0f2 = bpl_ptr5-4
x=-16 => $102 = $0000, $0e0/$0e2 = bpl_ptr1-2,...
|
Forum: Coders. Asm / Hardware
23 March 2024, 14:36
|
Replies: 19
Views: 1,119
It looks like the problem is that there isn't...
It looks like the problem is that there isn't enough time to load all the bitplane pointers before dma becomes active ($18 is rather early). I changed the wait from $dc01 to $dbd1 and the problem was...
|
Forum: Coders. Asm / Hardware
22 March 2024, 15:22
|
Replies: 19
Views: 1,119
Let me try to clarify with a simplified...
Let me try to clarify with a simplified example...
Say you have an 8bpl display. With fmode=0 the fetch looks like:
8 8 8 8... 8
Now when you enable fmode=3 you get 4x speed, you know that, and...
|
Forum: Coders. Asm / Hardware
22 March 2024, 13:26
|
Replies: 19
Views: 1,119
Not an AGA expert, but just in case...
I see...
Not an AGA expert, but just in case...
I see 64, that's total width 512px. I see 40, that's diplayed width 320px. -8 is compensation for 64px scrolling (4+2 bits, bottom 2 bits are zeroes). Am I...
|
Forum: Coders. Asm / Hardware
22 March 2024, 03:29
|
Replies: 23
Views: 990
|
Forum: Coders. Asm / Hardware
22 March 2024, 00:02
|
Replies: 23
Views: 990
|
Forum: Coders. Asm / Hardware
21 March 2024, 16:55
|
Replies: 23
Views: 990
|
Forum: Coders. Asm / Hardware
20 March 2024, 18:04
|
Replies: 19
Views: 1,131
|
Forum: Coders. Asm / Hardware
20 March 2024, 17:41
|
Replies: 10
Views: 592
|
Forum: Coders. Asm / Hardware
20 March 2024, 16:38
|
Replies: 10
Views: 592
Segment loader is allocating public memory...
Segment loader is allocating public memory (unless a hunk is tagged to use something else), so as long as fastmem has higher priority over chipmem you'll get fastmem if a hunk fits.
|
Forum: Coders. Asm / Hardware
20 March 2024, 12:56
|
Replies: 19
Views: 1,131
x = scroll offset (-N, ..., -1, 0, 1, ..., N) ...
x = scroll offset (-N, ..., -1, 0, 1, ..., N)
bits = x&15
set $dff102 to (bits<<4)|bits
set $dff0ex (bitplane pointers) to bitplane_ptr+(x>>4)*2
Docs:...
|
Forum: Coders. Asm / Hardware
18 March 2024, 00:18
|
Replies: 13
Views: 1,044
|
Forum: Coders. Asm / Hardware
17 March 2024, 21:31
|
Replies: 13
Views: 1,044
|
Forum: Coders. Asm / Hardware
14 March 2024, 19:09
|
Replies: 6
Views: 910
|