English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 3586
Search took 0.27 seconds.
Search: Posts Made By: meynaf
Forum: Coders. Asm / Hardware 09 December 2019, 15:51
Replies: 18
Views: 570
Posted By meynaf
Another possibility is ye olde c2p merge trick...

Another possibility is ye olde c2p merge trick (unverified, but it gives the idea) :

move.w d0,d1
ror.w #1,d1
move.w d0,d2
eor.w d1,d2
andi.w #$5555,d2
eor.w d2,d0
eor.w d2,d1
ror.w...
Forum: Coders. Asm / Hardware 09 December 2019, 14:50
Replies: 18
Views: 570
Posted By meynaf
Indeed. :) This is a rather typical example of...

Indeed. :)
This is a rather typical example of code where we need to know what the program does and how badly it needs to be fast...
Forum: Coders. Asm / Hardware 09 December 2019, 13:30
Replies: 18
Views: 570
Posted By meynaf
Absolute shortest (in some way :D) : move.w...

Absolute shortest (in some way :D) :

move.w #%1010110011010101,d0

move.l (lut+32768*4,pc,d0.w*4),d0

lut ds.l 65536

Obviously needs 68020+.
Forum: support.Other 06 December 2019, 16:30
Replies: 31
Views: 1,293
Posted By meynaf
IIRC IPrefs appeared in OS 2.0 and loads prefs...

IIRC IPrefs appeared in OS 2.0 and loads prefs from env:. In previous system versions all prefs were stored in "system-configuration".
However, 2.0+ still load that file upon startup, i think even...
Forum: Coders. Asm / Hardware 28 November 2019, 11:26
Replies: 7
Views: 511
Posted By meynaf
If you don't know it's CTL or DAT you have to...

If you don't know it's CTL or DAT you have to clear, to be 100% sure you can clear them both ;)
Forum: Coders. Asm / Hardware 27 November 2019, 20:28
Replies: 21
Views: 963
Posted By meynaf
I'm not doing any particular code for now, just...

I'm not doing any particular code for now, just building the structure for future possible ports. Alignment is just one of many problems that came to my mind.
Forum: Coders. Asm / Hardware 26 November 2019, 10:48
Replies: 21
Views: 963
Posted By meynaf
Right, but as said, doing the alignment would...

Right, but as said, doing the alignment would force the code to do the same so it's not an option.



Because it's about (semi-)automatic port of code that doesn't care about alignment at all.
...
Forum: Coders. Asm / Hardware 25 November 2019, 11:55
Replies: 21
Views: 963
Posted By meynaf
Not if it is located in the middle of a longword....

Not if it is located in the middle of a longword. Actually, out of 4 possible alignment cases, only one will require two accesses.

And as the exact same code has to handle both cases (it can't...
Forum: Coders. Asm / Hardware 24 November 2019, 20:08
Replies: 21
Views: 963
Posted By meynaf
Guess what, i knew this. But here this is...

Guess what, i knew this.
But here this is precisely what i'm trying to avoid. Why the heck should i add wasteful padding where the cpu doesn't need it.




Such a mechanism doesn't look very...
Forum: Coders. Asm / Hardware 24 November 2019, 10:45
Replies: 21
Views: 963
Posted By meynaf
It seems intentional because blk/dcb directives...

It seems intentional because blk/dcb directives are accepted if no value is specified or if the value is 0.
Else all unaligned data is rejected, regardless of what it is.
Forum: Coders. Asm / Hardware 23 November 2019, 17:18
Replies: 21
Views: 963
Posted By meynaf
I know and this is what i am currently using, but...

I know and this is what i am currently using, but this sometimes fails. It works fine with literals, but it's dubious with offsets (adr1-adr2), and it's just impossible with direct 32-bit addresses...
Forum: Coders. Asm / Hardware 23 November 2019, 14:37
Replies: 21
Views: 963
Posted By meynaf
This is the case. Bare 68000 wouldn't be able to...

This is the case. Bare 68000 wouldn't be able to access this data anyway, would it ? ;)

Now the problem is to find an assembler that will generate them...
Forum: Coders. Asm / Hardware 23 November 2019, 13:10
Replies: 21
Views: 963
Posted By meynaf
The above is rejected by phxass (-> error 40 :...

The above is rejected by phxass (-> error 40 : Word at odd address).
It may be that vasm does auto-align.
To see this, just do hex dump of the assembled file.
Forum: Coders. Asm / Hardware 23 November 2019, 11:58
Replies: 21
Views: 963
Posted By meynaf
With a value of 0 it is like ds directive, and...

With a value of 0 it is like ds directive, and ds.w / ds.l is accepted regardless of alignment (and would be easy to handle with ds.b anyway).
Forum: Coders. Asm / Hardware 23 November 2019, 11:41
Replies: 21
Views: 963
Posted By meynaf
dc.w / dc.l at odd address

As title says.
I wonder if there exists some assembler which can accept that. At least phxass doesn't.
Because even though 68000 has these alignment restrictions, 68020+ doesn't. And i sometimes...
Forum: support.Hardware 21 November 2019, 11:35
Replies: 4
Views: 351
Posted By meynaf
Nope. It just indicates it's not currently in use.

Nope. It just indicates it's not currently in use.
Forum: Coders. Asm / Hardware 21 November 2019, 10:20
Replies: 18
Views: 744
Posted By meynaf
Your routine would be better written this way : ...

Your routine would be better written this way :

move.l BITPLANE,a0
addq.w #2,a0
moveq #-1,d2
sub.b d0,d2
lsr.l #3,d0
mulu.w #4*44,d1
add.l d0,d1
add.l d1,a0
Forum: support.Other 16 November 2019, 14:33
Replies: 31
Views: 1,293
Posted By meynaf
There is no simple system call to hide the mouse,...

There is no simple system call to hide the mouse, sorry.
Forum: support.WinUAE 16 November 2019, 11:42
Replies: 4
Views: 542
Posted By meynaf
If you want super-fast cpu on winuae, just select...

If you want super-fast cpu on winuae, just select "Fastest possible" and activate JIT. The cpu type does not matter. Target cpu's caches are not emulated at all, but it will use the host cpu's caches...
Forum: support.Other 16 November 2019, 11:19
Replies: 31
Views: 1,293
Posted By meynaf
Me, I don't like having the mouse pointer annoy...

Me, I don't like having the mouse pointer annoy me when i type text, and found out a simple mouse blanker does the trick. The pointer disappears when you type, and reappears when you move the mouse....
Forum: support.Other 15 November 2019, 18:40
Replies: 31
Views: 1,293
Posted By meynaf
If you have a font that's usable by AmigaOS then...

If you have a font that's usable by AmigaOS then yes. But of course it must exist in the form of an Amiga font and no, i don't know how to convert these.



I guess you could setup some empty...
Forum: support.WinUAE 15 November 2019, 18:31
Replies: 7
Views: 402
Posted By meynaf
Most demos that run on 3.1 will also run on 3.0...

Most demos that run on 3.1 will also run on 3.0 so maybe you can try nevertheless. Who knows, the OS may still be messing up something...



I've seen several interlaced demo images not displayed...
Forum: support.Other 15 November 2019, 17:36
Replies: 31
Views: 1,293
Posted By meynaf
There is no font prefs in 1.3 then ? ...

There is no font prefs in 1.3 then ?




It does not need to change to Topaz font, as default font is topaz (actually topaz 8).

Anyway, in your startup-sequence you may try something like...
Forum: support.Other 15 November 2019, 16:08
Replies: 31
Views: 1,293
Posted By meynaf
In theory even 3.1 should respect original...

In theory even 3.1 should respect original system-configuration file from 1.3.
So look in devs: to find it and bring it into your 3.1 system (but keep original one somewhere, just in case).
Does it...
Forum: support.WinUAE 15 November 2019, 13:22
Replies: 7
Views: 402
Posted By meynaf
Buggy interlace setup : odd and even frames...

Buggy interlace setup : odd and even frames swapped.
I've seen this with a few demos, it can happen on real HW as well.
It looks like some race condition so maybe altering cpu configuration to...
Forum: Coders. General 14 November 2019, 10:53
Replies: 100
Views: 2,831
Posted By meynaf
If this ends up being a bug that's not in your...

If this ends up being a bug that's not in your code (e.g. Windows bug), there is an easy way to make a workaround. Simply keep the previous status of every key you use. When you reveive a key down,...
Forum: Retrogaming General Discussion 14 November 2019, 10:34
Replies: 50
Views: 3,227
Posted By meynaf
And after building such a fantastic machine they...

And after building such a fantastic machine they will discover that the output image is so bad that it's not usable due to the random nature of quantum mechanics :p
Forum: Coders. Asm / Hardware 13 November 2019, 12:01
Replies: 12
Views: 626
Posted By meynaf
Here is precisely the problem : it is ambiguous...

Here is precisely the problem : it is ambiguous and one can't answer for sure to these questions without testing every cpu model.

IIRC, on 020-030 it would be non-incremented new stack pointer...
Forum: Amiga scene 13 November 2019, 09:16
Replies: 99
Views: 6,289
Posted By meynaf
Right, try to behave like me, just for the fun....

Right, try to behave like me, just for the fun. Then - if you're successful in doing so, which i doubt - maybe you will discover what discussing really means.
But for now, it would be better if...
Forum: Coders. Asm / Hardware 12 November 2019, 19:14
Replies: 12
Views: 626
Posted By meynaf
UNLK A7 does not look very useful... In theory...

UNLK A7 does not look very useful...
In theory it should just pop A7 out of the stack, something regular MOVE can do.
Also it does not look safe to use accross different cpu models, like MOVE.L...
Forum: Retrogaming General Discussion 12 November 2019, 16:50
Replies: 50
Views: 3,227
Posted By meynaf
Technically there is nothing preventing building...

Technically there is nothing preventing building 68060 @1Ghz and more.
If using latest tech it maybe could even reach that speed nearly unmodified...
But the world isn't driven by technical...
Forum: Coders. General 12 November 2019, 16:02
Replies: 100
Views: 2,831
Posted By meynaf
When compiler, linker, optimizer, or whatever,...

When compiler, linker, optimizer, or whatever, detects that there will be a crash, the smallest of things should be to emit a warning about it...
Forum: Retrogaming General Discussion 12 November 2019, 10:34
Replies: 50
Views: 3,227
Posted By meynaf
How can 486 be chosen as successor to 68040 as...

How can 486 be chosen as successor to 68040 as they are comparable in speed (with even a slight advantage to 68040) ?
x86 by that time were a regression compared to 68k and it would still have been...
Forum: Retrogaming General Discussion 12 November 2019, 09:36
Replies: 50
Views: 3,227
Posted By meynaf
So you want what ? That A500 owners throwed their...

So you want what ? That A500 owners throwed their A500 in the bin for a machine that costs a lot more and isn't even more powerful ? Or that they bought an accelerator board that does not make their...
Forum: Coders. General 12 November 2019, 09:12
Replies: 100
Views: 2,831
Posted By meynaf
No it doesn't sound plausible. Crashing with a...

No it doesn't sound plausible. Crashing with a guru indicating trap #7 means the vector wasn't touched at all and still points to normal rom. In addition, the code doesn't look like if it was trying...
Forum: Retrogaming General Discussion 12 November 2019, 09:04
Replies: 50
Views: 3,227
Posted By meynaf
Most do not have a 68000 anymore either. Many...

Most do not have a 68000 anymore either.
Many have A1200 and this is 68020, whose emulation would have required JIT which did not exist in 1994.
Forum: Retrogaming General Discussion 12 November 2019, 08:53
Replies: 50
Views: 3,227
Posted By meynaf
Old 68000 maybe (i'm not sure). But in 1994 the...

Old 68000 maybe (i'm not sure). But in 1994 the speed to achieve was that of 68040.
Forum: Coders. General 11 November 2019, 22:47
Replies: 100
Views: 2,831
Posted By meynaf
It's located in first code section.

It's located in first code section.
Forum: Coders. General 11 November 2019, 21:40
Replies: 100
Views: 2,831
Posted By meynaf
In theory yes. In practice optimisation can...

In theory yes. In practice optimisation can sometimes fail bad. Does it still crash if you turn it off ?
Forum: Coders. General 11 November 2019, 21:27
Replies: 100
Views: 2,831
Posted By meynaf
I confirm there is no overwrite of code. Also it...

I confirm there is no overwrite of code. Also it does not look like data at all.

Comparing with keyboard.c the generated asm code is hard to follow and even sometimes looks incorrect.
Seems the...
Showing results 1 to 40 of 3586

 
Forum Jump

All times are GMT +2. The time now is 14:52.


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