English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 78
Search took 0.01 seconds.
Search: Posts Made By: paraj
Forum: Coders. Asm / Hardware 04 June 2017, 20:20
Replies: 66
Views: 4,328
Posted By paraj
A bit late to the party as I've been busy with...

A bit late to the party as I've been busy with other stuff, but I must say that's some pretty interesting solutions you guys came up with. I don't have much experience with 020+ instructions (and...
Forum: Coders. Asm / Hardware 27 May 2017, 15:49
Replies: 66
Views: 4,328
Posted By paraj
Final results is ok with me as well so we can...

Final results is ok with me as well so we can switch to "friendly mode". I briefly looked into getting the right results for all inputs, but it's too much work so I'm done.
Forum: Coders. Asm / Hardware 19 May 2017, 22:19
Replies: 23
Views: 2,288
Posted By paraj
No problem, it's been interesting for me so far...

No problem, it's been interesting for me so far :). BTW I just fixed some small problems in the code (e.g. $7ff instead of $7ffff). I also tried it with Bebbos GCC - unfortunately it seems some work...
Forum: Coders. Asm / Hardware 19 May 2017, 19:38
Replies: 66
Views: 4,328
Posted By paraj
Yeah, but I was prepared for that since Z is so...

Yeah, but I was prepared for that since Z is so volatile. There's probably a good reason why so many instructions clear the C flag, it was just annoying here since it destroyed many of my plans.
...
Forum: Coders. C/C++ 17 May 2017, 20:27
Replies: 874
Views: 71,344
Posted By paraj
EDIT: Got it built using latest version. ...

EDIT: Got it built using latest version.

Late to the party and trying to get it compiling on 32-bit cygwin on Windows 10 I'm getting an internal compiler error while compiling libstdc++. I can see...
Forum: Coders. Asm / Hardware 17 May 2017, 20:17
Replies: 66
Views: 4,328
Posted By paraj
Didn't imagine everyone was using so many...

Didn't imagine everyone was using so many instructions, now I may have to look into also handling the rest of the cases :)

@sacredbanana: Hang in there, you'll quickly get a hang of the basics...
Forum: Coders. Asm / Hardware 16 May 2017, 18:57
Replies: 76
Views: 7,626
Posted By paraj
I did look into using the same technique, but for...

I did look into using the same technique, but for the 'fast' version table lookup is king and for the short version it didn't save me anything.
...
Forum: Coders. Asm / Hardware 16 May 2017, 18:44
Replies: 76
Views: 7,626
Posted By paraj
My losing entries (44 bytes and 350 cycles(!)...

My losing entries (44 bytes and 350 cycles(!) including momem/rts):


movem.l d1-d6, -(a7)
moveq #$f, d3 ;d3=mask/scale
move.w d0, d6 ;d6=color1
bset d3, d6 ;make sure...
Forum: Coders. Asm / Hardware 15 May 2017, 21:59
Replies: 23
Views: 2,288
Posted By paraj
To be honest I've only focused on asm since...

To be honest I've only focused on asm since (re-)starting amiga development, so I don't have any recommendations regarding C(++) compilers. But vbcc is easy to get working, so that's what I've based...
Forum: Coders. Asm / Hardware 14 May 2017, 21:11
Replies: 66
Views: 4,328
Posted By paraj
Noted. I will try to finish an entry in the...

Noted. I will try to finish an entry in the coming week then even if I'll be losing again (even without full results of the last compo I'm already badly beaten :))

I'm very much looking forward to...
Forum: Coders. Asm / Hardware 14 May 2017, 21:00
Replies: 23
Views: 2,288
Posted By paraj
I can clean up my quick-and-dirty code and...

I can clean up my quick-and-dirty code and include the suggestions from the interesting discussion upthread if you want. What compiler/assembler/etc. are you using?
Forum: Coders. C/C++ 14 May 2017, 17:56
Replies: 37
Views: 2,841
Posted By paraj
There might be more problems, but you're writing...

There might be more problems, but you're writing one byte past the end of "PrefsFile":


PrefsFile = malloc(size);
}
printf("OK1\n");
fileread =...
Forum: Coders. Asm / Hardware 14 May 2017, 17:51
Replies: 66
Views: 4,328
Posted By paraj
Well it's probably just because I'm not as great...

Well it's probably just because I'm not as great a 68k-wizard as y'all (and I've done very little work with BCD before), but I have like 10 variants that work fine for legal inputs, but getting the...
Forum: Coders. Asm / Hardware 14 May 2017, 16:39
Replies: 66
Views: 4,328
Posted By paraj
So we don't have to handle invalid BCD inputs?...

So we don't have to handle invalid BCD inputs? The original post says "do the exact same work as ABCD D0,D1" however the 68k manual could be interpreted as saying that the instruction is only...
Forum: Coders. Asm / Hardware 11 May 2017, 20:31
Replies: 154
Views: 74,136
Posted By paraj
Sorry if the earlier MUL discussion ended up...

Sorry if the earlier MUL discussion ended up being too specific, that's the opposite of my intend, but I guess it's hard to be generic when tables are involved.

And nice little bitwise identity I...
Forum: Coders. Asm / Hardware 09 May 2017, 18:45
Replies: 23
Views: 2,288
Posted By paraj
I don't have the original code, but the following...

I don't have the original code, but the following should do the same:

; Assemble with vasm -phxass -x -Fbin -o rom.bin rom.s
; Supply rom.bin to Winuae with e.g. -s...
Forum: Coders. Asm / Hardware 07 May 2017, 22:13
Replies: 2
Views: 594
Posted By paraj
Continuing my consolidation of various small...

Continuing my consolidation of various small tools into one, I've added a very (very) basic assembler and cycle counter (probably lacking and buggy). I've also tried making the editor slightly less...
Forum: Coders. Asm / Hardware 06 May 2017, 18:30
Replies: 2
Views: 594
Posted By paraj
Interactive symbolic bitop calculator

I've converted a small tool I've been using (originally written in macro-ridden C++) to run on this newfangled interwebs-gizmo all the cool kids are talking about, and figured some of you might find...
Forum: Coders. Asm / Hardware 01 May 2017, 11:00
Replies: 154
Views: 74,136
Posted By paraj
Once again, massive thanks for the hints!...

Once again, massive thanks for the hints! :bowdown Too many years of self modifying code being verbotten has crippled my optimization skills I think :)

I have to admit I don't quite understand...
Forum: Coders. Asm / Hardware 26 April 2017, 20:16
Replies: 154
Views: 74,136
Posted By paraj
Hi Kalms, I was already considering re-using...

Hi Kalms,

I was already considering re-using the setup code for the matrix across many operations, but couldn't get the cycle down due to too many expensive uses of long words, but your input made...
Forum: Coders. C/C++ 24 April 2017, 21:48
Replies: 11
Views: 1,520
Posted By paraj
Looks like you're missing a call to FD_SET()...

Looks like you're missing a call to FD_SET() before select()
Forum: Coders. Asm / Hardware 24 April 2017, 12:43
Replies: 154
Views: 74,136
Posted By paraj
A yeah, that's a good point. For non-scaling...

A yeah, that's a good point. For non-scaling transformations the matrix elements will usually have a magnitude of <= 1 ($100 for 8.8 fixpoint), while the vectors also probably have a known range. So...
Forum: Coders. Asm / Hardware 24 April 2017, 10:24
Replies: 1
Views: 620
Posted By paraj
Hi, If you haven't seen it checkout Photons...

Hi,

If you haven't seen it checkout Photons short article which covers some of the basics: http://coppershade.org/articles/AMIGA/Agnus/Programming_the_Blitter/

He also has a video tutorial on...
Forum: Coders. Asm / Hardware 24 April 2017, 09:43
Replies: 154
Views: 74,136
Posted By paraj
Yeah, that could work, but if the input is...

Yeah, that could work, but if the input is limited to $100 won't the worst case for MULS.W be (38+8*2) 54 cycles (46 average), in which case we're back to muls being hard to beat?

I was thinking...
Forum: Coders. Asm / Hardware 24 April 2017, 01:11
Replies: 154
Views: 74,136
Posted By paraj
2 x add.w is 8(2/0), lsl is 6+2*2=10(1/0)...

2 x add.w is 8(2/0), lsl is 6+2*2=10(1/0) (according to the instruction references I'm currently looking at). So lsl is probably better when DMA is contended (and it's shorter), but it might be...
Forum: Coders. Asm / Hardware 23 April 2017, 23:35
Replies: 154
Views: 74,136
Posted By paraj
Ye olde amycoders website has a tutorial on...

Ye olde amycoders website has a tutorial on avoiding multiplications (https://amycoders.org/opt/avoidmuls.html). Looking at the "using squares" part, I'm having trouble finding an immediate use. All...
Forum: request.UAE Wishlist 23 April 2017, 00:27
Replies: 33
Views: 7,807
Posted By paraj
Low priority crash bug report: In latest...

Low priority crash bug report:

In latest beta (3410b7, commit 4009d994ca75b80baec0eff703e9396b54926dd1) and probably earlier it's possible to crash winuae by enabling the visual debugger before...
Forum: request.UAE Wishlist 17 April 2017, 19:59
Replies: 33
Views: 7,807
Posted By paraj
All changes work for me in the just posted...

All changes work for me in the just posted 3410b6.7z

Though every other vertical line is still black in mode 5 when all channels are masked. No big deal as the visual debugger can now be turned...
Forum: request.UAE Wishlist 17 April 2017, 17:14
Replies: 33
Views: 7,807
Posted By paraj
It shall never be mentioned again. If it isn't...

It shall never be mentioned again. If it isn't already perhaps it (= the console debugger) should be made the default for new configurations?

Anyway, I have no more issues to report. Great work...
Forum: request.UAE Wishlist 17 April 2017, 17:00
Replies: 33
Views: 7,807
Posted By paraj
I forgot to specify that I was talking about the...

I forgot to specify that I was talking about the GUI debugger - it works fine for the console debugger. But now that I think about it, the real solution is for me to always use the console version -...
Forum: request.UAE Wishlist 17 April 2017, 16:02
Replies: 33
Views: 7,807
Posted By paraj
After executing v -5 / vm 0 0 / vm 1 0 / ... /...

After executing v -5 / vm 0 0 / vm 1 0 / ... / vm 8 0, I expected the screen to look normal (only interrupt level overlay visible) instead every other vertical line is black, there also seems to be...
Forum: request.UAE Wishlist 17 April 2017, 15:14
Replies: 33
Views: 7,807
Posted By paraj
:banghead thanks, so obvious in retrospect... ...

:banghead thanks, so obvious in retrospect...

anyway "luckily" my observations still stand :)
Forum: support.WinUAE 17 April 2017, 14:33
Replies: 17
Views: 1,839
Posted By paraj
For my own future reference, here is an...

For my own future reference, here is an unofficial, unsupported guide to building winuae c1be5812d725905a82561dbea8efd77f18e31e3a:

1. Get Visual Studio 2017 Community edition (include at least...
Forum: request.UAE Wishlist 17 April 2017, 14:19
Replies: 33
Views: 7,807
Posted By paraj
I must be dense, because the latest build I could...

I must be dense, because the latest build I could find was was public beta 5?

Anyway, managed to build latest winuae from github (despite your warnings in this thread...
Forum: request.UAE Wishlist 16 April 2017, 21:31
Replies: 33
Views: 7,807
Posted By paraj
:great Looking forward to giving it a spin

:great Looking forward to giving it a spin
Forum: Coders. Asm / Hardware 16 April 2017, 21:21
Replies: 523
Views: 52,503
Posted By paraj
No, but I wanted my own creation :) And after...

No, but I wanted my own creation :) And after messing with different lz4 inspired variations I found that I while it was easy to beat your implementation in compression ratio, I just couldn't do it...
Forum: Coders. Asm / Hardware 16 April 2017, 12:27
Replies: 523
Views: 52,503
Posted By paraj
After spending way too much time on this silly...

After spending way too much time on this silly project, I think I'm finally done creating odd LZ-variants :) And this might actually be useful for situations where larger packers won't fit (I'm...
Forum: request.UAE Wishlist 12 April 2017, 21:16
Replies: 33
Views: 7,807
Posted By paraj
The spacebar keeps me warm!...

The spacebar keeps me warm! (https://xkcd.com/1172/) More seriously because I'm not too good friends with the debugger window (yet), maybe it's my inexperience, screen resolution or perhaps I should...
Forum: Coders. C/C++ 12 April 2017, 20:32
Replies: 22
Views: 2,751
Posted By paraj
I'm speculating, but since it seems like it'd be...

I'm speculating, but since it seems like it'd be very easy to warn about*, there's probably a reason (too much working code out there relying on the behavior) for it not to already be present in...
Forum: request.UAE Wishlist 12 April 2017, 20:15
Replies: 33
Views: 7,807
Posted By paraj
Regarding the number of shades, are you worried...

Regarding the number of shades, are you worried about them being hard to distinguish or are there other constraints? Because even with the current shades I have to use tools* to get anything other...
Showing results 1 to 40 of 78

 
Forum Jump

All times are GMT +2. The time now is 18:55.


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