English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 1046
Search took 0.15 seconds.
Search: Posts Made By: a/b
Forum: Coders. General 20 April 2024, 19:36
Replies: 21
Views: 3,032
Posted By a/b
1. Probably. Many instructions take only 1 cycle...

1. Probably. Many instructions take only 1 cycle (best case, i-cached) on 040, even add.l #data32,d0 is as fast as add.l d1,d0. And 040 is alergic to pc-relative addressing modes, often times it...
Forum: Coders. General 20 April 2024, 02:43
Replies: 2
Views: 286
Posted By a/b
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: 330
Posted By a/b
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: 438
Posted By a/b
If your bitmap is in a relocatable section (e.g....

If your bitmap is in a relocatable section (e.g. SECTION xyz,DATA_C) you cannot take a shortcut. You have to set the bitmap pointers in copperlist manually with CPU because you don't know at what...
Forum: Coders. Asm / Hardware 19 April 2024, 15:48
Replies: 15
Views: 438
Posted By a/b
Phx got most of it covered, so just a few extra...

Phx got most of it covered, so just a few extra notes...

Yeah, you could add a label after ORG/LOAD, it's what I typically do when I have multiple data sets at some abs address (so each data gets...
Forum: Coders. Asm / Hardware 19 April 2024, 13:06
Replies: 15
Views: 438
Posted By a/b
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: 460
Posted By a/b
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: 572
Posted By a/b
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: 572
Posted By a/b
That's not what XDEF/XREF are used for (EQUs&co)....

That's not what XDEF/XREF are used for (EQUs&co).
You could see EQU/SET/RSSET/.. as "compile time" variables/constants. Now, if you would do something like:

QQQ EQU 123
varQQQ: DC.L QQQ

then...
Forum: Coders. Asm / Hardware 14 April 2024, 13:48
Replies: 5
Views: 600
Posted By a/b
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,264
Posted By a/b
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: 256
Posted By a/b
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,797
Posted By a/b
Correction: I'm using gimp + IFF plug-in.

Correction: I'm using gimp + IFF plug-in.
Forum: Graphics 09 April 2024, 01:37
Replies: 39
Views: 1,797
Posted By a/b
Post one example (or upload to the zone). I've...

Post one example (or upload to the zone). I've been using gimp for a while and it works fine, don't have PS...
Forum: Coders. Asm / Hardware 07 April 2024, 15:56
Replies: 91
Views: 5,517
Posted By a/b
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,327
Posted By a/b
It looks like improved Brian the Lion and Sanity...

It looks like improved Brian the Lion and Sanity zoomrot, without zooming. Meaning someone finally sat down and cracked the numbers to figure out how to modify shearing coefficients to eliminate...
Forum: Coders. Asm / Hardware 02 April 2024, 01:50
Replies: 5
Views: 600
Posted By a/b
1. When the audio DMA is activated and the first...

1. When the audio DMA is activated and the first word has to be fetched.
2. After playing the last byte (length counter has hit 0) and then after the period counter has hit 0 (or: when the audio DMA...
Forum: Coders. Language 31 March 2024, 19:36
Replies: 13
Views: 914
Posted By a/b
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,699
Posted By a/b
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,699
Posted By a/b
Because those are ULONG pointers, not BYTE...

Because those are ULONG pointers, not BYTE pointers.
Forum: Coders. Asm / Hardware 29 March 2024, 13:03
Replies: 8
Views: 875
Posted By a/b
For NTSC it's 5 lines earlier.

For NTSC it's 5 lines earlier.
Forum: Coders. Asm / Hardware 28 March 2024, 22:56
Replies: 8
Views: 875
Posted By a/b
Yeah, pointers work the same way as bitplane...

Yeah, pointers work the same way as bitplane pointers (and have to be reset each frame). Not the best wording I used...
Forum: Coders. Asm / Hardware 28 March 2024, 22:03
Replies: 8
Views: 875
Posted By a/b
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: 875
Posted By a/b
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: 907
Posted By a/b
Do you use overscan, how your dma fetch window...

Do you use overscan, how your dma fetch window looks like ($dff092/94)?
http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node02D4.html
Forum: Coders. Asm / Hardware 24 March 2024, 21:03
Replies: 19
Views: 1,118
Posted By a/b
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,110
Posted By a/b
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,110
Posted By a/b
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,110
Posted By a/b
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: 976
Posted By a/b
Uff, you're right. Should've finished the...

Uff, you're right. Should've finished the calculation, trapv ftl ><.
Forum: Coders. Asm / Hardware 22 March 2024, 00:02
Replies: 23
Views: 976
Posted By a/b
X is either A or B. A+B-X will give you B if X=A,...

X is either A or B. A+B-X will give you B if X=A, or A if X=B (effectively a swap).
Code is logically OK, it's just not resolvable in compile time due to illegal arithmetics with relocatables, but...
Forum: Coders. Asm / Hardware 21 March 2024, 16:55
Replies: 23
Views: 976
Posted By a/b
You can't multiply, shift, swap or split in some...

You can't multiply, shift, swap or split in some way, divide, and/or/eor/not/neg a relocatable address, you can only add or subtract a constant.
A very simple example... If your code looks like...
Forum: Coders. Asm / Hardware 20 March 2024, 18:04
Replies: 19
Views: 1,118
Posted By a/b
He didn't explicitely specify whether he's using...

He didn't explicitely specify whether he's using OS or hw banging, so based on his previous enquiries I'm assuming it's hw banging (also, hw forum :guru).
Forum: Coders. Asm / Hardware 20 March 2024, 17:41
Replies: 10
Views: 582
Posted By a/b
Yeah, if you run out of fastmem while asking for...

Yeah, if you run out of fastmem while asking for public mem, you will get chipmem.
Each part of the memory pool has a priority, and allocation works down the list. So, fast with several priority...
Forum: Coders. Asm / Hardware 20 March 2024, 16:38
Replies: 10
Views: 582
Posted By a/b
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,118
Posted By a/b
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,034
Posted By a/b
Nope, just count them, and then multiply by 4 if...

Nope, just count them, and then multiply by 4 if you need the cycles or add with other dma usages to see if it's under ~70k, or use a metric that suits you.
E.g. +1 for opcode, +1 for each extra...
Forum: Coders. Asm / Hardware 17 March 2024, 21:31
Replies: 13
Views: 1,034
Posted By a/b
(227-4 for mem refresh)*312 is ~69.5k dma slots....

(227-4 for mem refresh)*312 is ~69.5k dma slots. 320x256 lores is 5120. This leaves you with ~64.5k or ~129k cycles. If your code contains instructions taking 6/10/14/... cycles you will lose 2...
Forum: Coders. Asm / Hardware 14 March 2024, 19:09
Replies: 6
Views: 903
Posted By a/b
Copper doesn't care about that, you can push to...

Copper doesn't care about that, you can push to line 0. But in general, I wouldn't bother with anything under line $24 (normal is $2c, so 8 lines of vertical overscan) because it won't be visible...
Forum: support.Demos 13 March 2024, 13:02
Replies: 3
Views: 894
Posted By a/b
I did some poking, demo checks whether or not a...

I did some poking, demo checks whether or not a disk is writable and does different things based on that. DMS is write protected, while ADF isn't, so it crashes (it doesn't load something at the...
Showing results 1 to 40 of 1046

 
Forum Jump

All times are GMT +2. The time now is 10:04.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.32298 seconds with 10 queries