English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: mc6809e
Forum: Coders. Asm / Hardware 19 November 2014, 03:45
Replies: 57
Views: 16,456
Posted By mc6809e
Oh, that's fast for sure, Thorham. What's...

Oh, that's fast for sure, Thorham.

What's cool is the code starts to look a bit like SIMD. And the obvious extension with longs to handle joy2dat too let's you process 4 pairs of bits at a time.
...
Forum: Coders. Asm / Hardware 18 November 2014, 23:13
Replies: 57
Views: 16,456
Posted By mc6809e
Possibly, so I'll just concede the point, then. ...

Possibly, so I'll just concede the point, then.

I just find it enjoyable to try and puzzle out faster and faster code.

I can't be the only one here that thinks that's fun.
Forum: Coders. Asm / Hardware 18 November 2014, 22:51
Replies: 57
Views: 16,456
Posted By mc6809e
Actually the jump table is the more flexible...

Actually the jump table is the more flexible technique.

There's nothing that says the addresses in the table have to point back directly into the game code.

The destination addresses for the...
Forum: Coders. Asm / Hardware 18 November 2014, 22:23
Replies: 57
Views: 16,456
Posted By mc6809e
joy.left=$0300 joy.right=$0003 joy.up=$0100 ...

joy.left=$0300
joy.right=$0003
joy.up=$0100
joy.down=$0001
joy.upLeft=$0200
joy.upRight=$0103
joy.downLeft=$0301
joy.downRight=$0002

move.w #0,joytest(a5) ;16c
Forum: Coders. Asm / Hardware 18 November 2014, 06:05
Replies: 57
Views: 16,456
Posted By mc6809e
How about a jump table? move.w...

How about a jump table?


move.w joy1dat(a5), d0 ;12c 0f
andi.w #$0303, d0 ;8c 0f
ror.b #2, d0 ;10c 6f
asr.w #4, d0 ;14c 10f
movea.l stick(pc,d0.w), a0 ;18c 2f
jmp (a0) ;8c 0f
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT +2. The time now is 17:56.

Top

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