English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 306
Search took 0.05 seconds.
Search: Posts Made By: a/b
Forum: Coders. Releases 28 February 2021, 14:38
Replies: 143
Views: 40,346
Posted By a/b
OK, I found an older test version, this should...

OK, I found an older test version, this should probably be more useful to you since it's shorter (only 2x mirroring, but larger base table which shouldn't matter) and no negation:
...
Forum: Coders. Releases 28 February 2021, 14:06
Replies: 143
Views: 40,346
Posted By a/b
Comes with a couple of warnings... Because of...

Comes with a couple of warnings...
Because of effect optimizations the table is negated (negative half of each row comes first), so you'll have to rearrange the move.b order.
This is written for...
Forum: Coders. Releases 27 February 2021, 21:04
Replies: 143
Views: 40,346
Posted By a/b
Not sure how much in demand it would be, but you...

Not sure how much in demand it would be, but you never know...
Instead of using static tables, you could generate them with a one-time initialization. Why? Well, in case you also need the compressed...
Forum: Coders. Asm / Hardware 27 February 2021, 19:19
Replies: 45
Views: 1,986
Posted By a/b
I was replying to Don Adan about his 68000...

I was replying to Don Adan about his 68000 version ;p.
I generally don't mess with 020 stuff here, too lazy too look up the timings as my main focus is a500/68000 (and then 040), unless it something...
Forum: Coders. Asm / Hardware 27 February 2021, 18:25
Replies: 45
Views: 1,986
Posted By a/b
68000 (-6 cycles): ; lsl.w #8,d0 move.b...

68000 (-6 cycles):

; lsl.w #8,d0
move.b d0,-(a7)
move.w (a7)+,d0


Also: moveq #$ffffff80,d2
Forum: Coders. Asm / Hardware 26 February 2021, 01:24
Replies: 10
Views: 430
Posted By a/b
hrtmon (src/file.s). Should be on aminet but...

hrtmon (src/file.s). Should be on aminet but maybe there's is a newer version somewhere around (whload is using it as well as winuae).
Forum: Coders. Asm / Hardware 26 February 2021, 01:17
Replies: 38
Views: 1,414
Posted By a/b
Yes, 8 corner points per object and the rest is...

Yes, 8 corner points per object and the rest is interpolated.


Yes, 1 blit to clear, draw all the edges in fill mode, and finally 1 blit to fill. Also, calculate min/max x/y so you don't have to...
Forum: support.WinUAE 25 February 2021, 17:56
Replies: 0
Views: 94
Posted By a/b
ui debugger window, vertical position

It keeps moving up every time it's reopened, if the taskbar is at the top.
Reason is od-win32/debug_win32.cpp, DebuggerProc(), WM_DESTROY handler (line ~1770):

if (hmon && GetMonitorInfo(hmon,...
Forum: Coders. Asm / Hardware 25 February 2021, 00:09
Replies: 38
Views: 1,414
Posted By a/b
Eh, it's simple stuff made for a demo, nothing...

Eh, it's simple stuff made for a demo, nothing more nothing less. Didn't check Arnaud's code in detail, french gives me exception #4 ;p, but it looks like a completely different approach.
As I said,...
Forum: Coders. Asm / Hardware 24 February 2021, 11:17
Replies: 38
Views: 1,414
Posted By a/b
Yep, the latter.

Yep, the latter.
Forum: Coders. Asm / Hardware 24 February 2021, 01:41
Replies: 38
Views: 1,414
Posted By a/b
Did one of those back in 92-93 with filled...

Did one of those back in 92-93 with filled vectors and white line vectors for the grid.
I used 2x3 dual playfield so I only had to deal with 2 easy peasy convex objects, each in its own playfield,...
Forum: Coders. Asm / Hardware 23 February 2021, 19:15
Replies: 1,089
Views: 61,032
Posted By a/b
Your numbers for 020 are either plain wrong or...

Your numbers for 020 are either plain wrong or assume worst case scenario (cache miss, no overlap). I can only assume your 286 numbers are best case scenario (from https://zsmith.co/intel.php):
----...
Forum: Coders. Asm / Hardware 21 February 2021, 12:48
Replies: 16
Views: 571
Posted By a/b
You don't need d4 here, it'll reach...

You don't need d4 here, it'll reach maxBobSpriteStructs-1 in the last dbf iteration, and they both then lead to .exit.

moveq #maxBobSpriteStructs-1,d7...
Forum: Coders. Asm / Hardware 19 February 2021, 21:49
Replies: 10
Views: 694
Posted By a/b
These are not equal in all 3 cases (columns are...

These are not equal in all 3 cases (columns are i, round(i/17.0), (i-(i>>4)+8)>>4, ((i<<4)-i+128)>>8):

08: 00 01 00 *
19: 01 02 01 *
2a: 02 03 02 *
3b: 03 04 03 *
4c: 04 05 04 *
5d: 05 06 05...
Forum: Coders. Asm / Hardware 19 February 2021, 20:08
Replies: 51
Views: 2,569
Posted By a/b
Almost, there's no such movem (destination...

Almost, there's no such movem (destination postinc). So perhaps d16(a1) if unrolled, or a (a1)/lea combo.
Forum: Coders. Asm / Hardware 17 February 2021, 07:03
Replies: 1,089
Views: 61,032
Posted By a/b
Yeah, obviously sarcastic. No matter, and as...

Yeah, obviously sarcastic. No matter, and as Roondar hinted, this has nothing to do with 286. Stick any equivalent cpu into the box and you won't notice a difference when playing Wolfenstein.
Why?...
Forum: Coders. Asm / Hardware 16 February 2021, 17:03
Replies: 296
Views: 10,018
Posted By a/b
Incorrect! There's a 23.453443466666% chance that...

Incorrect! There's a 23.453443466666% chance that programmer will forget to specify the size and summon a guru. And with moveq there's a 100% chance that programmer will specify the .L size although...
Forum: Coders. Asm / Hardware 16 February 2021, 16:08
Replies: 296
Views: 10,018
Posted By a/b
Reporting Ross' account to admins, must've been...

Reporting Ross' account to admins, must've been hacked by litwr.
Forum: Coders. Asm / Hardware 16 February 2021, 15:54
Replies: 296
Views: 10,018
Posted By a/b
Maybe relevant, several times you have: ...

Maybe relevant, several times you have:

lsl.l #7,d1
addq #1,d7
cmp.l d6,d7
blt .sk4_left

addq is missing size, typically defaults to .W, and you are using it as .L right before/after...
Forum: Coders. Asm / Hardware 16 February 2021, 02:32
Replies: 1,089
Views: 61,032
Posted By a/b
Source? I see different numbers, e.g....

Source? I see different numbers, e.g. https://zsmith.co/intel_i.php#idiv states 25 and 21, respectively.
Also, you speak as if extra time for EA calc is super bad. With x86 you're limited to...
Forum: Coders. Asm / Hardware 14 February 2021, 19:13
Replies: 51
Views: 2,569
Posted By a/b
movem.w sign-extends, any offset $8000-$ffff...

movem.w sign-extends, any offset $8000-$ffff becomes a negative 32-bit offset (you are using them right after as .l).
Forum: Coders. General 11 February 2021, 17:52
Replies: 15
Views: 784
Posted By a/b
Zero experience with CD32, but now that Samurai...

Zero experience with CD32, but now that Samurai Crow mentioned it, I dug out my DevCD v1.1 and this should be relevant (appdeveloper.spec file):

Trademark File
--------------

In order to get a...
Forum: Coders. Asm / Hardware 11 February 2021, 04:43
Replies: 45
Views: 1,986
Posted By a/b
This can be further optimized, but not in a......

This can be further optimized, but not in a... nice way if you are writing the code. Since all Dx and most of Ax are free, you can use movem. For example:

movem.l (a1)+,d0-d7 ; optionally include...
Forum: Amiga scene 10 February 2021, 20:51
Replies: 4
Views: 352
Posted By a/b
Ah, now I understand what you meant... Not...

Ah, now I understand what you meant...
Not being very artsy myself I would do this in Blender:
- replicate points in object1
- move them away in the directions of where they should be in object2,...
Forum: Amiga scene 10 February 2021, 20:03
Replies: 4
Views: 352
Posted By a/b
Switch objects, new object has some of the points...

Switch objects, new object has some of the points at the same 3D coords (so it looks like the old object), morph points to new coords.
Not sure if that's how it's done but that how I would do it.
Forum: Coders. General 09 February 2021, 20:32
Replies: 29
Views: 1,070
Posted By a/b
I do understand the question, it's just that my...

I do understand the question, it's just that my answer makes the question obsolete hehe.
But to be fair, it'd pressumably require a decent overhaul of the code.

Rigid body simluation you can...
Forum: Coders. General 09 February 2021, 18:08
Replies: 29
Views: 1,070
Posted By a/b
First of all, corrections. I don't know how I got...

First of all, corrections. I don't know how I got to the 500km x 500km map, it'd be much much larger: 2^28 x 2^28 meters. Plus ~1.2km/h is 1mach, so make that 5km/h.

Yeah, it's about velocity, but...
Forum: Coders. Asm / Hardware 09 February 2021, 01:09
Replies: 21
Views: 949
Posted By a/b
Yup, exec base 4 -> version is the way to go. I...

Yup, exec base 4 -> version is the way to go. I was just pointing out that you shouldn't assume too much about memory layout.
Forum: Coders. Asm / Hardware 09 February 2021, 00:29
Replies: 21
Views: 949
Posted By a/b
Maybe it will work, maybe it won't. KS end-size...

Maybe it will work, maybe it won't. KS end-size is officially supported and should work on all models, see HRM Reset and Early Operations (pg. 224 for me).
Forum: Coders. General 08 February 2021, 22:59
Replies: 29
Views: 1,070
Posted By a/b
You cheat if you need such extreme close-ups. ...

You cheat if you need such extreme close-ups.
Since the plane is moving at high speeds, you don't need extra precision for it, so you keep camera position as 40-bit (extra 8 bits of fraction,...
Forum: Coders. General 08 February 2021, 22:21
Replies: 29
Views: 1,070
Posted By a/b
That's simple, you nerf mach/super speeds...

That's simple, you nerf mach/super speeds somewhat. If you want to be super realistic with everything, yeah you're probably going to need floats or 64-bit, but at what price and would it really be...
Forum: Coders. General 08 February 2021, 22:00
Replies: 29
Views: 1,070
Posted By a/b
Hmm, what is your fov/aspect/scaling factor for...

Hmm, what is your fov/aspect/scaling factor for projection?
For example, if you have a full screen eurofighter, that's 320pix/16m, or 20pix for each meter of length, with 3-bit accuracy that's...
Forum: Coders. General 08 February 2021, 21:43
Replies: 29
Views: 1,070
Posted By a/b
The set-up I described gives you a reasonable...

The set-up I described gives you a reasonable sub-meter accuracy (12.5cm per second).
Again, I don't know how compatible that approach is with what you are doing (quaternions, 4x4 matrix, 3x3...
Forum: Coders. General 08 February 2021, 21:05
Replies: 29
Views: 1,070
Posted By a/b
I don't know how your rendering pipeline looks...

I don't know how your rendering pipeline looks like and what you are doing internally, but here are my general observations and thoughts. You mentioned millimeters several times. I really don't know...
Forum: Coders. Asm / Hardware 08 February 2021, 16:16
Replies: 21
Views: 949
Posted By a/b
Unless the KS starts at $fc0000 (256KB). If you...

Unless the KS starts at $fc0000 (256KB). If you go that route you have to determine its size first:

lea ($1000000),a0 ; KS end address
sub.l (-20,a0),a0 ; KS length
; a0 = KS start
Forum: Graphics. Tutorials 08 February 2021, 01:13
Replies: 21
Views: 1,307
Posted By a/b
If you don't mind taking care of the palette, you...

If you don't mind taking care of the palette, you should be fine. Just set your color RGB components to $00, $11, ..., $ee, $ff instead of $00, $01, .., $fe, $ff (both nibbles must be the same) and...
Forum: Coders. Asm / Hardware 06 February 2021, 23:15
Replies: 9
Views: 682
Posted By a/b
It looks to me that your screen is still 320x256...

It looks to me that your screen is still 320x256 (32x256 on the left, 256x256 visible central part, 32x256 on the right), while the background is 256x256.
displayWidthBytes is 320/8=40?

edit: or...
Forum: Coders. General 06 February 2021, 21:51
Replies: 76
Views: 5,122
Posted By a/b
That's very rich coming from you.

That's very rich coming from you.
Forum: Coders. Asm / Hardware 06 February 2021, 21:49
Replies: 10
Views: 433
Posted By a/b
That's why I'm so annoyed when I see (xx,ax,d0)....

That's why I'm so annoyed when I see (xx,ax,d0). Why do people insist on writing ambiguous and potentially buggy code and relying on assembler defaults (that may or may not work with different...
Forum: Coders. Asm / Hardware 06 February 2021, 21:24
Replies: 9
Views: 682
Posted By a/b
Is the background image you are blitting from...

Is the background image you are blitting from also 256x256, or still 320x256?
If it's the latter, you're initializing A mod/ptr with incorrect values.
Showing results 1 to 40 of 306

 
Forum Jump

All times are GMT +2. The time now is 02:57.


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