English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 518
Search took 0.07 seconds.
Search: Posts Made By: a/b
Forum: Coders. General 23 October 2021, 11:57
Replies: 19
Views: 1,355
Posted By a/b
Those numbers are "theoretical" and don't include...

Those numbers are "theoretical" and don't include the cycles stolen by other DMA and the CPU.

For BLTSIZE:
- horizontal size 0 => 64 words (width=1024)
- vertical size 0 => 1024 lines...
Forum: Coders. Asm / Hardware 22 October 2021, 17:30
Replies: 10
Views: 445
Posted By a/b
That's the only one I have from the series, found...

That's the only one I have from the series, found a pdf somewhere on internet. I can upload it to the zone if you want to check it out (6 pages article).
Forum: Coders. Asm / Hardware 22 October 2021, 15:17
Replies: 10
Views: 445
Posted By a/b
68000 TRICKS AND TRAPS by Mike Morton, Byte Sep....

68000 TRICKS AND TRAPS by Mike Morton, Byte Sep. 1986, pg. 170. Forgot about that, but as soon as I saw the picture you posted, light bulb lit up ;p.
Forum: Coders. Asm / Hardware 22 October 2021, 14:11
Replies: 59
Views: 3,016
Posted By a/b
Didn't think of that immediatelly, it's a really...

Didn't think of that immediatelly, it's a really neat idea and quite logical. I was sure though it's some kind of incremental approach.
Now, I've been thinking a bit more about what I guessed...
Forum: Coders. Asm / Hardware 22 October 2021, 13:16
Replies: 59
Views: 3,016
Posted By a/b
So in more practical terms... You first shift...

So in more practical terms... You first shift columns by 1 pixel, then by 2, then by 4, and finally by 8. If a column has to be shifted by 15 pixels, it's affected by all 4 shifts/blits and is...
Forum: Coders. Asm / Hardware 22 October 2021, 08:44
Replies: 59
Views: 3,016
Posted By a/b
Not to derail this thread... Coming (not so :))...

Not to derail this thread... Coming (not so :)) soon (TM) when I finally finish my trackmo. It looks ok, it's just a transitional effect. Yeah, you could compare it to the skull in Interference. But...
Forum: Coders. Asm / Hardware 22 October 2021, 08:15
Replies: 10
Views: 445
Posted By a/b
As Thomas mentioned, if the cases are short you...

As Thomas mentioned, if the cases are short you can use equidistant entry points.
Otherwise, I typically go with (pre-scaled index if possible and) jmp (table,pc,rx.w) + bra.b|w or jmp xx(pc) to...
Forum: Coders. Asm / Hardware 22 October 2021, 04:25
Replies: 59
Views: 3,016
Posted By a/b
Is this incremental, like you lower/raise the...

Is this incremental, like you lower/raise the whole 16-pix column (or 2 halves, as you can use d=a+b) and then adjust individual columns or groups of columns up/down by 1 row from the previous frame,...
Forum: Coders. General 08 October 2021, 21:24
Replies: 19
Views: 1,355
Posted By a/b
Nope, at this point it's just a bunch of static...

Nope, at this point it's just a bunch of static 2d polygons to test various overlap scenarios and some benchmarking... still under evaluation. I could see it running at 17-12.5 fps (3-4 frames per...
Forum: Coders. General 07 October 2021, 19:48
Replies: 19
Views: 1,355
Posted By a/b
Pass 1 is traversing the polygon edges and...

Pass 1 is traversing the polygon edges and populating its left/right edge buffer. This is color independent. Old version with triangles was doing top to bottom left+right edge simultaneously, new...
Forum: Coders. General 07 October 2021, 19:18
Replies: 19
Views: 1,355
Posted By a/b
That's how my latest vector routine works, I call...

That's how my latest vector routine works, I call it deferred vectors. But I only support convex polygons, for speed (each scanline only has 2 points: left edge and rights edge). I traverse the edges...
Forum: Coders. Asm / Hardware 06 October 2021, 17:07
Replies: 61
Views: 5,727
Posted By a/b
Ouch... For zx0 it didn't take long to figure...

Ouch...
For zx0 it didn't take long to figure out I better modify the compressor to produce a script so I can then just bypass optimize(), and compress() the whole thing repeatedly in 1 second...
Forum: Coders. Asm / Hardware 22 September 2021, 17:05
Replies: 8
Views: 737
Posted By a/b
Seven Seas is using sprites to cover up the...

Seven Seas is using sprites to cover up the problem.
Forum: Coders. Asm / Hardware 17 September 2021, 11:59
Replies: 62
Views: 3,660
Posted By a/b
Don't think we are on the same page. I'm talking...

Don't think we are on the same page. I'm talking about 010+ (VBR is not 0 at boot time), and no MMU or MMU not actively used by virus. If you do something like (fairly common for older, but not only,...
Forum: Coders. Asm / Hardware 16 September 2021, 17:02
Replies: 62
Views: 3,660
Posted By a/b
This is a good point that should be considered, I...

This is a good point that should be considered, I agree. However, that would break a bunch of games and demos, and the virus would 'unstealth' itself. Even though booting a game/demo disk probably...
Forum: Coders. Asm / Hardware 16 September 2021, 15:41
Replies: 62
Views: 3,660
Posted By a/b
VBR is always 0 when you boot, and remains 0...

VBR is always 0 when you boot, and remains 0 until you fire up SetPatch or anything similar. Has that changed in 3.2?
Forum: Coders. Asm / Hardware 16 September 2021, 15:37
Replies: 61
Views: 5,727
Posted By a/b
What I changed in nrv2b... inverted all match...

What I changed in nrv2b... inverted all match offset bits, and the rest was minor patching of bits and bytes at the end to reduce overrun and size a tiny bit. However, I didn't have any interests in...
Forum: Coders. Asm / Hardware 16 September 2021, 10:55
Replies: 62
Views: 3,660
Posted By a/b
Yeah, I'm not sure either. Maybe there was some...

Yeah, I'm not sure either. Maybe there was some initial idea requiring the code to be in chip mem.
Forum: Coders. Asm / Hardware 16 September 2021, 10:43
Replies: 61
Views: 5,727
Posted By a/b
@Thcm optimize can be a bit faster with this: ...

@Thcm optimize can be a bit faster with this:

int elias_gamma_bits(int value) {
#if defined __GNUC__
// written this way to cancel out a xor in __builtin_clz()
return 1 +...
Forum: Coders. Asm / Hardware 16 September 2021, 09:18
Replies: 62
Views: 3,660
Posted By a/b
Copy speed is irrelevant here, tiny amount of...

Copy speed is irrelevant here, tiny amount of data. Not using dbf saves 2 bytes, no need to decrement the count, and makes it simple.
Now in most cases you wouldn't have to (you could copy one more...
Forum: Coders. Asm / Hardware 15 September 2021, 23:54
Replies: 62
Views: 3,660
Posted By a/b
A bit shorter: BootStart: ;a6=Execbase ...

A bit shorter:

BootStart: ;a6=Execbase
lea.l GoAway(pc),a5 ;<KS20 supervisor address
...

; lea.l GoHard(pc),a5 ;<KS20 supervisor address
; bra.s _ElbowTemperatureReboot ;** really...
Forum: Coders. Asm / Hardware 15 September 2021, 20:18
Replies: 61
Views: 5,727
Posted By a/b
It's not my image, I just found it elsewhere and...

It's not my image, I just found it elsewhere and decided to post it because it looked interesting and relevant, showing zx0's position compared to some of the other known algorithms.
BTW, horizontal...
Forum: Coders. Asm / Hardware 15 September 2021, 13:45
Replies: 62
Views: 3,660
Posted By a/b
Ah, ok... It must be one of the earlier editions...

Ah, ok... It must be one of the earlier editions (mine is 3rd edition from 1991). Just checked my PDF collection, it's probably the revised&updated edition from 1989 (I was still in the c64 waters at...
Forum: Coders. Asm / Hardware 15 September 2021, 03:47
Replies: 61
Views: 5,727
Posted By a/b
That compression speed :crazy. Took ~5min for a...

That compression speed :crazy. Took ~5min for a 146KB file.
Other than that, it looks *very* good. Great combination of speed and ratio:...
Forum: Coders. Asm / Hardware 14 September 2021, 21:06
Replies: 62
Views: 3,660
Posted By a/b
Can you link the reset code you are looking at? I...

Can you link the reset code you are looking at? I just checked elowar http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node02E3.html, PDF and the actual book, and they have the same...
Forum: Coders. Asm / Hardware 14 September 2021, 20:47
Replies: 5
Views: 698
Posted By a/b
Yeah, it's implemented in hardware in 000-060....

Yeah, it's implemented in hardware in 000-060. Just have to run it in supervisor mode because 010+ requires supervisor for move sr,<ea>, while providing move ccr,<ea> (which 000 doesn't have) for...
Forum: Coders. System 14 September 2021, 10:53
Replies: 1
Views: 483
Posted By a/b
It looks like your mod is using set tempo...

It looks like your mod is using set tempo commands (Fxx where xx is 20-ff) which requires CIA mode, and you are playing it in VBL mode (supports only set speed commands F00-F1f, anything higher will...
Forum: Coders. Asm / Hardware 11 September 2021, 13:58
Replies: 62
Views: 3,660
Posted By a/b
Wasn't that debunked? I'm sure there was a...

Wasn't that debunked? I'm sure there was a discussion or at least a mention on these forums about it. I think it was some discussion with Toni about emulation...
Forum: Coders. Asm / Hardware 11 September 2021, 13:54
Replies: 62
Views: 3,660
Posted By a/b
Hmm, are you sure this works in 100% cases? E.g....

Hmm, are you sure this works in 100% cases? E.g. KS 3.0 exec ColdReset jumps to a second reset at $f800d0, while you jump to $f800d2.
You took a shortcut (exec goes through the ROM end address)...
Forum: Coders. Asm / Hardware 11 September 2021, 09:36
Replies: 52
Views: 7,498
Posted By a/b
This brings back memories. It looks like you have...

This brings back memories. It looks like you have figured out to replace the original 32-bit (or even longer, it's been awhile) match offset terminator with a 16-bit one :P. I remember my converter...
Forum: Coders. Asm / Hardware 10 September 2021, 02:44
Replies: 16
Views: 1,244
Posted By a/b
It probably means you are trashing important...

It probably means you are trashing important parts of OS (and the memory is cleared during full reboot). Did you try testing it in winuae and being ready to quickly hit shift+f12 when things go...
Forum: Coders. Asm / Hardware 08 September 2021, 22:51
Replies: 16
Views: 1,244
Posted By a/b
SSP would be the place to find where the...

SSP would be the place to find where the exception occured, but asm/trash-one&co process and remove the exception stack frame in order to print the status report (where and why the program crashed,...
Forum: Coders. System 08 September 2021, 09:54
Replies: 13
Views: 1,140
Posted By a/b
If you are thinking about doing an extra...

If you are thinking about doing an extra processing step on your own, how about defining each function you want to call as an absolute address in some specific range that has ~0% chance be represent...
Forum: Coders. Asm / Hardware 07 September 2021, 20:28
Replies: 6
Views: 681
Posted By a/b
Yeah, otherwise you rewrite the next line with...

Yeah, otherwise you rewrite the next line with the one you copy every time, so you end up copying the same (first) line over all the other lines.
In that scenario you have to copy bottom-up and use...
Forum: Coders. System 07 September 2021, 17:41
Replies: 13
Views: 1,140
Posted By a/b
When you mentioned a BSS section the first thing...

When you mentioned a BSS section the first thing on my mind was: are you making sure it's not merged with any other section? Since this involves C and linking, and not raw asm, I don't have a clear...
Forum: Coders. Asm / Hardware 01 September 2021, 14:14
Replies: 30
Views: 2,794
Posted By a/b
LZ4 is entirely byte based, not dealing with...

LZ4 is entirely byte based, not dealing with Huffman and all the bit stuff. That's how it achieves super speed on expense of compression ratio.
Forum: Coders. Asm / Hardware 18 August 2021, 05:16
Replies: 21
Views: 2,351
Posted By a/b
That's an infinite loop if d1 > 0. Label wait...

That's an infinite loop if d1 > 0. Label wait should be between movql and dbf.

Also, exception #0 doesn't sound right. First two vectors are reset sp and pc.
I don't know how limited is debugging...
Forum: Coders. Asm / Hardware 14 August 2021, 15:47
Replies: 21
Views: 2,351
Posted By a/b
Lunch break is over for me as well... Came up...

Lunch break is over for me as well... Came up with another 2 or 4 bytes save in my code (=30 or 28 bytes):
1. -2: if you can use 4 bytes as a terminator, no need to tst.w d0 because swap will do...
Forum: Coders. Asm / Hardware 14 August 2021, 13:17
Replies: 21
Views: 2,351
Posted By a/b
Is the loop actually executed 5 times (d7=4 ->...

Is the loop actually executed 5 times (d7=4 -> dbf loops 5 times), or is that a typo? 5 times means you rewrite the first byte of brab loop.

If it's executed 4 times, you can replace "movew...
Forum: Coders. Asm / Hardware 02 August 2021, 22:36
Replies: 18
Views: 1,499
Posted By a/b
No difference on opcode level, each movea variant...

No difference on opcode level, each movea variant is using a unique opcode (there is no opcode duplication with move). Basically, it's all move $2xxx/$3xxx but if destination is an areg, move is...
Showing results 1 to 40 of 518

 
Forum Jump

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


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