English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 119
Search took 0.03 seconds.
Search: Posts Made By: a/b
Forum: Coders. Asm / Hardware Yesterday, 23:00
Replies: 4
Views: 137
Posted By a/b
BNE generally works OK, but you have to be sure...

BNE generally works OK, but you have to be sure you won't miss the sync raster line. If you are using interrupts that can happen around sync line, or your code is very tight and also takes some...
Forum: support.Apps 19 October 2019, 07:32
Replies: 4
Views: 196
Posted By a/b
For example (type this in CLI or make a...

For example (type this in CLI or make a button/menu/etc with this command):
NewShell "KCON:0/20/640/256/WindowTitle"
You can add options after the title. Best to check...
Forum: Coders. General 18 October 2019, 19:26
Replies: 75
Views: 2,419
Posted By a/b
First, small correction. I missed fillscratch, so...

First, small correction. I missed fillscratch, so that's 5sec for fill+copy and 7sec for code within FillPolygon2D...

How about if you test these scenarios:
- completely skip blitter code in the...
Forum: Coders. General 18 October 2019, 16:44
Replies: 75
Views: 2,419
Posted By a/b
If we look at the profiling... FillPolygon2D:...

If we look at the profiling...
FillPolygon2D: 39sec
- almost all aquire/enqueue calls are done here, so 1sec+6sec=7sec
- copyscratch 3sec
- DrawOneDotLine 20sec
That leaves us with...
Forum: Coders. General 18 October 2019, 15:10
Replies: 75
Views: 2,419
Posted By a/b
Well, context (blit size in this case) matters......

Well, context (blit size in this case) matters... Interrupts work with few large blits. Many small blits, probably best to do it all with cpu (and busy waits). And with mixed sizes, copper if you can...
Forum: Coders. General 18 October 2019, 14:37
Replies: 75
Views: 2,419
Posted By a/b
Yeah, I was just checking the previous posts and...

Yeah, I was just checking the previous posts and noticed this (number of calls):
Blitter_AquireBlit 22556 1268
Blitter_EnqueueBlit 18440 5923
DrawOneDotLine 18006 19968

So, you are using...
Forum: Coders. General 18 October 2019, 13:04
Replies: 75
Views: 2,419
Posted By a/b
All the other stuff aside... 1. If you...

All the other stuff aside...
1. If you initialize boundingRect differently (something like: top +maxint, bottom -maxint, left +maxint, right -maxint), you can get rid of 4 comparisons with -1.
2....
Forum: Coders. General 30 September 2019, 18:52
Replies: 21
Views: 533
Posted By a/b
Maybe you are enabling them elsewhere in your...

Maybe you are enabling them elsewhere in your code, or you are not properly preventing the OS from using the blitter (e.g. OwnBlitter)...
Forum: Coders. Tutorials 22 September 2019, 19:54
Replies: 40
Views: 1,317
Posted By a/b
For asm-one: 1. use this source: start: ...

For asm-one:
1. use this source:

start:
DC.B 'DOS',0
DS.L 1 ; checksum comes here
DC.L 880

exe_code:
DS.B 1024-12
Forum: Coders. General 21 August 2019, 00:33
Replies: 28
Views: 4,321
Posted By a/b
best/cache/worst, and (read/prefetch/write...

best/cache/worst, and (read/prefetch/write cycles):
Interrupt (I-Stack) 26(2/0/4) 26(2/0/4) 33(2/2/4)
Interrupt (M-Stack) 41(2/0/8) 41(2/0/8) 48(2/2/8)
Forum: Retrogaming General Discussion 16 August 2019, 07:01
Replies: 78
Views: 2,862
Posted By a/b
Wizard of Wor on C64, back in 1984/85 at friend's...

Wizard of Wor on C64, back in 1984/85 at friend's place, a year or two before I got my own C64.
Forum: Coders. System 28 July 2019, 20:50
Replies: 14
Views: 1,389
Posted By a/b
Yeah, it's to make it work from WB, in which case...

Yeah, it's to make it work from WB, in which case the first thing you receive is a love letter from WB and if you don't reply at the end, it will dump your program and bad things will happen.
Forum: Coders. System 28 July 2019, 20:27
Replies: 14
Views: 1,389
Posted By a/b
Works for me in asm-one. How do you run it,...

Works for me in asm-one.
How do you run it, from cli or wb? You don't have proper startup code for wb, so maybe that's the reason.
Try this, it works for me in asm-one, cli, and wb.

; additional...
Forum: Coders. Blitz Basic 16 July 2019, 17:46
Replies: 29
Views: 2,373
Posted By a/b
> !args {#long, #long, #byte} I presume this...

> !args {#long, #long, #byte}
I presume this means that arguments in d0/d1/d2 are LW/LW/B.
In that case add d2,<anything> has a good chance of not working. There's no size specified and most...
Forum: support.WinUAE 02 July 2019, 07:32
Replies: 1
Views: 363
Posted By a/b
maxspeed + asm-one bug = dead winuae

1. A4000/25, AGA compatible, KS3.0, 32MB Z3 fast (can provide config if .dmp doesn't suffice)
2. JIT enabled, CPU emulation speed set to max (doesn't happen with no JIT and cycle exact)
3. start...
Forum: Coders. Asm / Hardware 27 June 2019, 15:22
Replies: 14
Views: 979
Posted By a/b
Hard to tell w/o code or executable. Hmmm, AGA....

Hard to tell w/o code or executable.
Hmmm, AGA. Did you set sprite mode bits in $106 (bplcon3), and align sprite data correspondingly?
Forum: Coders. Asm / Hardware 27 June 2019, 14:35
Replies: 5
Views: 659
Posted By a/b
Yeah, it will auto-reload latched value when it...

Yeah, it will auto-reload latched value when it hits zero in either mode. You'd have to use the force load bit in control reg to affect the timer while it's running.
Forum: Coders. Asm / Hardware 27 June 2019, 06:43
Replies: 5
Views: 659
Posted By a/b
Only the TOD timer has a read latch. So I'd do...

Only the TOD timer has a read latch. So I'd do something like:

move.b (timerhi,a0),d0
move.b (timerlo,a0),d1
cmp.b (timerhi,a0),d0
beq.b no_change
moveq #0,d1
no_change
Forum: Coders. General 16 June 2019, 03:43
Replies: 48
Views: 3,940
Posted By a/b
I generally don't have very strict constraints...

I generally don't have very strict constraints when it comes to depacking, so I stick with xkp: Nuke for general stuff, Duke for mods, Fast if I need a really fast decompression. So maybe Fast would...
Forum: Coders. Asm / Hardware 14 June 2019, 17:40
Replies: 2
Views: 500
Posted By a/b
btst and family operate on a byte (if operand is...

btst and family operate on a byte (if operand is in memory), and bit 4 is part of the next byte ($dff01f).
Forum: Coders. Asm / Hardware 11 June 2019, 15:19
Replies: 18
Views: 1,431
Posted By a/b
Can't speak from experience on 060 (e.g. how it...

Can't speak from experience on 060 (e.g. how it behaves when you have a properly optimized/pipelined code, etc.).
Looking at docs, chaper 10 Instruction Timing in 060 User's Manual, comparative to...
Forum: Coders. Asm / Hardware 02 June 2019, 18:51
Replies: 10
Views: 728
Posted By a/b
Using Winuae, A500 68000 0.5/0.5 OCS max...

Using Winuae, A500 68000 0.5/0.5 OCS max compatibility etc. Press shift+f12 for debugger (custom registers in the topright-ish corner).
- first run: INTENA 6040 (master+external+blitter enabled),...
Forum: Coders. Asm / Hardware 02 June 2019, 17:31
Replies: 10
Views: 728
Posted By a/b
intena: - first run: blitter interrupt enabled ...

intena:
- first run: blitter interrupt enabled
- consequent runs: blitter interrupt disabled
Forum: Coders. General 01 June 2019, 17:54
Replies: 20
Views: 2,101
Posted By a/b
I've used DeliTracker2 and ProTracker 3.x on...

I've used DeliTracker2 and ProTracker 3.x on Amiga to verify the converted module.
And just now I additionally checked with SmartPlay and ProTracker 4.x on Amiga, and ModPlug and WinAMP on pc, and...
Forum: Coders. Asm / Hardware 01 June 2019, 10:05
Replies: 2
Views: 487
Posted By a/b
1. 0-19 NTSC, 0-24 PAL, so 20 or 25 lines. 2....

1. 0-19 NTSC, 0-24 PAL, so 20 or 25 lines.
2. yes, they are executed immediately
If you are updating sprite pointers each frame, in automatic/DMA mode, make sure you do it before the end of...
Forum: Coders. General 31 May 2019, 21:51
Replies: 20
Views: 2,101
Posted By a/b
Yeah, it's a raw player. It expects a module at...

Yeah, it's a raw player. It expects a module at mt_data so it's simply INCBIN'd. If you want to load it etc., you'd have to implement a front end.
So maybe a better solution would be to simply...
Forum: Coders. General 31 May 2019, 01:33
Replies: 20
Views: 2,101
Posted By a/b
Noise2Fast-ModdedForST15.S in the zone. Changed 3...

Noise2Fast-ModdedForST15.S in the zone. Changed 3 player lines marked with ";;" (basically different offsets), startup/cleanup code is what it is (25+ years old code, works for me in asm-one on a4k)....
Forum: Coders. General 30 May 2019, 17:13
Replies: 20
Views: 2,101
Posted By a/b
DeliTracker on Amiga seems to play it correctly...

DeliTracker on Amiga seems to play it correctly (one very short section sounds a little strange, to me, the rest is fine) as SoundTracker15 (15 samples maximum).
So you'd probably need a very old...
Forum: Coders. C/C++ 26 May 2019, 00:53
Replies: 7
Views: 902
Posted By a/b
memoryHandle is a longword pointer, wordToWrite...

memoryHandle is a longword pointer, wordToWrite is a word pointer. They both point to the same location (to a "1" in that ASCII string).
When you dereference them via array indexing, you get:...
Forum: Coders. Asm / Hardware 24 May 2019, 23:31
Replies: 18
Views: 1,431
Posted By a/b
Yeah, d(pc) is slower than addr(.w/l) on an 040....

Yeah, d(pc) is slower than addr(.w/l) on an 040. EA calcs are pipelined and done in parallel with execution, and pc relative EA calc takes more time than straight absolute (thus a higher chance to...
Forum: Coders. Asm / Hardware 16 May 2019, 19:16
Replies: 88
Views: 4,383
Posted By a/b
Hunk padded with 2 random bytes (hunk size is in...

Hunk padded with 2 random bytes (hunk size is in LWs, but Data2 is at a non-LW aligned offset), thus trashing first 2 bytes of Data2?

Or 3 "bugs" in line 3 where movea is converted to lea? :P...
Forum: support.WinUAE 23 April 2019, 20:23
Replies: 4
Views: 490
Posted By a/b
and.... after playing with filter settings some...

and.... after playing with filter settings some more, using default scaling solves the first problem as well (black border).
Case closed, I guess...
Forum: support.WinUAE 23 April 2019, 20:17
Replies: 4
Views: 490
Posted By a/b
OK, that worked. Completely forgot about...

OK, that worked. Completely forgot about Filter&co. One of the settings there was set to automatic center. I set it to manual and now it's fine. Thanks.
Forum: support.WinUAE 23 April 2019, 19:55
Replies: 4
Views: 490
Posted By a/b
Screen border in 4.2.x

Noticed this in all 4.2.x versions. AGA, no RTG, windowed mode. Can provide config, screenshonts, etc. if needed. Just checking if this is a common thing or working as intended (haven't seen aynone...
Forum: Coders. Contest 01 April 2019, 04:22
Replies: 1,589
Views: 112,358
Posted By a/b
Just some basic speed/size optimizations (lines...

Just some basic speed/size optimizations (lines starting with ;; ):
Looking at 020+ code makes me sad&angry, register scaling is soooo useful ;(.


;
; ANIMATE
;
; The sprite handler is called...
Forum: Retrogaming General Discussion 21 February 2019, 20:53
Replies: 7
Views: 561
Posted By a/b
...95 years... Disney: Hold my beer. Mickey...

...95 years...
Disney: Hold my beer. Mickey Mouse coming to you in 324238th century.
Forum: Coders. Asm / Hardware 23 January 2019, 06:52
Replies: 20
Views: 1,449
Posted By a/b
$01fe,xxx works fine as a (temporary) NOP on...

$01fe,xxx works fine as a (temporary) NOP on OCS/ECS/AGA.
You can switch copper lists as many times as you want (in a single frame). You simply set either pointer and then hit the corresponding...
Forum: Coders. Asm / Hardware 21 January 2019, 20:44
Replies: 95
Views: 6,900
Posted By a/b
Being bored a little, so here is optimized...

Being bored a little, so here is optimized version. Probably not what you are really looking for, it's the same algorithm... And it's not tested, (C) possible bugs ahead :D.

...
Forum: support.Apps 17 January 2019, 05:12
Replies: 9
Views: 497
Posted By a/b
Never used Octamed, but just in case... Maybe you...

Never used Octamed, but just in case... Maybe you have to use hex numbers?
So, 6F instead of 111?
Forum: Coders. Asm / Hardware 02 January 2019, 04:16
Replies: 5
Views: 687
Posted By a/b
That's because .org doesn't work the same way as...

That's because .org doesn't work the same way as ORG/LOAD in asm-one. It doesn't make your code load and execute at specified absolute address, it merely moves the current code address by 0x20000...
Showing results 1 to 40 of 119

 
Forum Jump

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


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