English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 479
Search took 0.06 seconds.
Search: Posts Made By: a/b
Forum: Coders. Asm / Hardware 02 August 2021, 22:36
Replies: 16
Views: 598
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...
Forum: Coders. Asm / Hardware 02 August 2021, 20:48
Replies: 16
Views: 598
Posted By a/b
Nope, that specific mode/reg combo of sub is used...

Nope, that specific mode/reg combo of sub is used to encode subx.
Forum: Coders. General 02 August 2021, 15:56
Replies: 6
Views: 362
Posted By a/b
Some info here...

Some info here http://eab.abime.net/showthread.php?t=63895 that leads to wiki: http://amiga-dev.wikidot.com/file-format:hunk#toc23
Forum: Coders. Asm / Hardware 01 August 2021, 17:22
Replies: 22
Views: 675
Posted By a/b
Delay can be (partially) eliminated but that...

Delay can be (partially) eliminated but that heavily depends on when, how and what your code is doing, and how exact the keyboard handler has to be. E.g. if you press 3 keys at the same time, is it...
Forum: Coders. Asm / Hardware 01 August 2021, 16:52
Replies: 18
Views: 414
Posted By a/b
Did you try triggering it at any other VPOS, or...

Did you try triggering it at any other VPOS, or maybe even in the second half of line $ff?
If the $dff180 test with 100% selfcontained (no regs, all absolute addressing) bare bones interrupt code...
Forum: Coders. Asm / Hardware 31 July 2021, 18:42
Replies: 22
Views: 675
Posted By a/b
Disable ($4000) or enable ($c000) all interrupts...

Disable ($4000) or enable ($c000) all interrupts via master enable bit.
http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node0036.html
Forum: Coders. Asm / Hardware 31 July 2021, 16:29
Replies: 22
Views: 675
Posted By a/b
http://eab.abime.net/showthread.php?t=107718 ...

http://eab.abime.net/showthread.php?t=107718

Higher level interrupt will trigger without waiting on lower level interrupt to finish.
Forum: Coders. General 30 July 2021, 05:22
Replies: 7
Views: 449
Posted By a/b
Regarding #1, I think so but I'm not 100% sure....

Regarding #1, I think so but I'm not 100% sure. Yeah, start = end (0 = 0, in which case the next fetched pair of words is control again), but I think that check is only performed after you pass the...
Forum: Coders. General 30 July 2021, 04:28
Replies: 7
Views: 449
Posted By a/b
No, they are re-read when sprite DMA has to fetch...

No, they are re-read when sprite DMA has to fetch more data, and incremented afterwards, which happens when you manually modify CTL/POS registers and overwrite the 0/0 pair (otherwise it would never...
Forum: Coders. General 30 July 2021, 03:49
Replies: 7
Views: 449
Posted By a/b
Line 25 is the end of PAL vertical blanking,...

Line 25 is the end of PAL vertical blanking, that's where sprite DMA (if enabled) loads sprite pointers from SPRxPT regs, and then the first 2 words of sprite data (SPRCTL/POS) so it knows where the...
Forum: Coders. Asm / Hardware 27 July 2021, 22:46
Replies: 15
Views: 1,101
Posted By a/b
Assuming 68000... mulu.w #200,dx is:...

Assuming 68000... mulu.w #200,dx is: 200=c8=11001000, 38+4+6=48 cycles.
If you break it down into shifts and adds it should be around 40 cycles.
Your table approach is 12+4+14=30 cycles worst case...
Forum: Coders. Asm / Hardware 24 July 2021, 19:51
Replies: 39
Views: 1,435
Posted By a/b
"Cannot"... If you are doing the handshaking...

"Cannot"...
If you are doing the handshaking yourself then you must ensure that nothing is interfering (eg. OS must be shut down), otherwise you could end up not being able to read them (properly)....
Forum: Coders. Asm / Hardware 24 July 2021, 19:08
Replies: 39
Views: 1,435
Posted By a/b
No, it's not redundant, it tells you that there...

No, it's not redundant, it tells you that there is no new keycode.
You could also ditch the stateless approach and always remember the last code you read, and if it's the same then it means nothing...
Forum: Coders. Asm / Hardware 24 July 2021, 15:12
Replies: 39
Views: 1,435
Posted By a/b
In what state is the OS? Disabled or still...

In what state is the OS? Disabled or still running? Because...
The point of $4000->INTENA is to disable the OS so it doesn't "steal" the keycodes and you don't interfere with its regular operations....
Forum: Coders. Asm / Hardware 24 July 2021, 00:54
Replies: 39
Views: 1,435
Posted By a/b
At least 85 microsec. This works for me (1...

At least 85 microsec. This works for me (1 rasterline in PAL is ~64microsec, so waiting for at least 2 full lines):

lea $bfe001,a5
lea $dff000,a6
move.w #$4000,$09a(a6)

lea buffer(pc),a0...
Forum: Coders. Asm / Hardware 23 July 2021, 23:33
Replies: 39
Views: 1,435
Posted By a/b
You have to send a handshake before you can...

You have to send a handshake before you can receive further keycodes. Something like:

bset #6,$bfee01
; wait 85 microseconds
bclr #6,$bfee01
Forum: Coders. Asm / Hardware 18 July 2021, 19:14
Replies: 8
Views: 642
Posted By a/b
$dff01e is INTREQR (read only), to write a value...

$dff01e is INTREQR (read only), to write a value you have to use $dff09c.

This works for me (assumes VBR=0):

lea ($bfd000),a0
lea ($dff000),a6
move.l ($78).w,d0
...
Forum: Coders. Asm / Hardware 18 July 2021, 17:50
Replies: 8
Views: 642
Posted By a/b
1. set $dff09a to $2000 first (what if L6 int...

1. set $dff09a to $2000 first (what if L6 int occurs between $bfdd00/e00 and $dff09a? doesn't necessarily have to timer a), this way you also don't have to stop the timer
2. clear L6 bit in INTREQ...
Forum: support.Other 11 July 2021, 18:46
Replies: 12
Views: 837
Posted By a/b
crp/drp/srp is fine, you have to change pmove.d...

crp/drp/srp is fine, you have to change pmove.d to pmove.q if you are using asm-one&family.
Forum: Coders. Asm / Hardware 10 July 2021, 18:27
Replies: 18
Views: 831
Posted By a/b
Yeah, your largest chip mem chunk is not large...

Yeah, your largest chip mem chunk is not large enough (~1KB too short). Try addk21k (this one is the most harmless, compared to the rest of the addXk family) or reduce the size of disk buffers.
Forum: Coders. General 10 July 2021, 17:36
Replies: 495
Views: 39,507
Posted By a/b
I took another look from a fresh perspective...

I took another look from a fresh perspective after a few days. Slightly changed the input logic, small buffer size doesn't really work well with buffered I/O. It's the same thing but in practical...
Forum: Coders. Asm / Hardware 10 July 2021, 17:23
Replies: 18
Views: 831
Posted By a/b
Did you try avail to see how much of the 512KB...

Did you try avail to see how much of the 512KB base chip is available, and how large is the largest segment? If has to be at least 439KB (512KB minus wb screen, disk buffers, ...).
Forum: Coders. General 06 July 2021, 19:28
Replies: 495
Views: 39,507
Posted By a/b
I have to slow down, not even close to 1000...

I have to slow down, not even close to 1000 posts, so only -2 bytes (in print_time) this time. Code updated.
Forum: Coders. General 05 July 2021, 10:41
Replies: 495
Views: 39,507
Posted By a/b
I could always add another "I''ll shoot if you...

I could always add another "I''ll shoot if you ask for..." comment :bash.

:evilgrin
Forum: Coders. General 05 July 2021, 05:05
Replies: 495
Views: 39,507
Posted By a/b
Latest version (time calc&print reimplemented, -4...

Latest version (time calc&print reimplemented, -4 bytes), 456-500 bytes depending on settings.
edit: Slightly changed getnum, same byte size but shorter (-1 branch/label).
edit2: -2 bytes...
Forum: Coders. General 04 July 2021, 13:31
Replies: 495
Views: 39,507
Posted By a/b
Well, we have another -2 bytes. The trick is to...

Well, we have another -2 bytes.
The trick is to rearrange the registers in getnum and always do the 4th print call, but if there is no digit number adjustment that call is with a zero length (d3...
Forum: Coders. General 04 July 2021, 11:00
Replies: 495
Views: 39,507
Posted By a/b
1541 was crazy, I was like wtf is this guy doing...

1541 was crazy, I was like wtf is this guy doing when he started messing with the cables. Highlight for me however was Andromeda's new demo, always had a soft spot for their style.
Forum: Coders. General 04 July 2021, 10:57
Replies: 495
Views: 39,507
Posted By a/b
Done (renamed to CURSOR_OFF to use the same...

Done (renamed to CURSOR_OFF to use the same convention as the rest). Previous post edited.
Forum: Coders. General 04 July 2021, 10:44
Replies: 495
Views: 39,507
Posted By a/b
Yes, printing is breaking it. If you run with...

Yes, printing is breaking it. If you run with PRINT_DIGITS=0 it will work as expected, it will "freeze" WB and everything else.
Forum: Coders. General 03 July 2021, 23:17
Replies: 495
Views: 39,507
Posted By a/b
And here is the whole thing... Gonna spend the...

And here is the whole thing... Gonna spend the rest of the evening watching Gubbdata.
edit: Added cursor disabling option by alkis.
edit2: Further size reduction by 2 bytes (4th print in getnum)....
Forum: Coders. General 03 July 2021, 22:31
Replies: 495
Views: 39,507
Posted By a/b
So the range is now 468 (466 code) to 508 bytes...

So the range is now 468 (466 code) to 508 bytes depending on user settings (prompt, day timer, mt, doslib hack). The annoying part is most of the combinations could use another 2 byte reduction to...
Forum: Coders. General 03 July 2021, 20:27
Replies: 495
Views: 39,507
Posted By a/b
Ah, ok. Now you made me curious... vasm can...

Ah, ok. Now you made me curious... vasm can handle printt/printv as well, nice.

I guess I should clarify what I meant with 3x slower: "accidentally" (that's why the red dude emoticon) having a few...
Forum: Coders. General 03 July 2021, 19:56
Replies: 495
Views: 39,507
Posted By a/b
If you are using asm-one&co like myself (I...

If you are using asm-one&co like myself (I noticed you commented in the PRINTVs so I guess that's the case), they can't handle merged code+bss or data+bss, they always write the entire bss part at...
Forum: Coders. General 03 July 2021, 16:23
Replies: 495
Views: 39,507
Posted By a/b
Because it's shorter than exg a5,a6 + moveq...

Because it's shorter than exg a5,a6 + moveq #127,d0 + jsr SetTaskPri(a6) + exg a5,a6 and doesn't make your version potentially 3x slower under the same testing conditions :evilgrin.
Forum: Coders. General 03 July 2021, 12:57
Replies: 495
Views: 39,507
Posted By a/b
I actually just did what I was "arguing" about...

I actually just did what I was "arguing" about with Alkis ;P. Installing nuke detector as I type this...
Optionally merged the prompt stuff into a single message. It's 4 bytes shorter exe (6 bytes...
Forum: Coders. Releases 03 July 2021, 12:44
Replies: 55
Views: 20,335
Posted By a/b
If you load the player (not the module, just in...

If you load the player (not the module, just in case) to address X then, for example, the current row index is at address X+P61_Row. P61_Pattern is inverted, goes 63 to 0, P61_Position is pattern...
Forum: Coders. General 03 July 2021, 12:21
Replies: 29
Views: 4,608
Posted By a/b
That was ~25 years ago. Nowadays I just reuse a2...

That was ~25 years ago. Nowadays I just reuse a2 IO request with modified length of size of a track and let the system do the work.
And to be more precise, I checked the old code, I only did the MFM...
Forum: Coders. General 03 July 2021, 10:20
Replies: 29
Views: 4,608
Posted By a/b
I did something similar. Track0 was main loop,...

I did something similar.
Track0 was main loop, loader&support code, first effect and first part of the sample that was played immediately, and which was actually used in the module and was removed...
Forum: Coders. General 02 July 2021, 21:36
Replies: 495
Views: 39,507
Posted By a/b
Maybe something could still be done with the...

Maybe something could still be done with the printing... It looks "great" (mvq/mvq/bsr) but it's repeated 4 times, 26 bytes of the same.
The problem is that it's all borked up, with number printing...
Forum: Coders. General 02 July 2021, 06:45
Replies: 495
Views: 39,507
Posted By a/b
Here is the 500 bytes version, v2. Figured I...

Here is the 500 bytes version, v2. Figured I could copy the registers "for free" with movem in gettime. It's +2 and then -2, same size, but fill loop is now faster and I'm happy again.
edit:...
Showing results 1 to 40 of 479

 
Forum Jump

All times are GMT +2. The time now is 09:39.


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