English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 3095
Search took 0.23 seconds.
Search: Posts Made By: meynaf
Forum: project.EAB Today, 09:38
Replies: 23
Views: 1,087
Posted By meynaf
There might be some valuable information in...

There might be some valuable information in OT-Technical.
But for others, I don't see the point in keeping them.
Forum: Coders. Asm / Hardware Yesterday, 10:39
Replies: 9
Views: 399
Posted By meynaf
Because the programmer put it there to check what...

Because the programmer put it there to check what the assembler produced ?
Forum: Coders. Asm / Hardware 18 September 2018, 20:46
Replies: 3
Views: 136
Posted By meynaf
Are you doing that on 68000 ? If not, you can use...

Are you doing that on 68000 ? If not, you can use 68020+ long mul instructions.
Forum: Coders. Asm / Hardware 15 September 2018, 15:24
Replies: 498
Views: 13,741
Posted By meynaf
Yes, and you ? Wasn't that you, rather...

Yes, and you ?



Wasn't that you, rather ?
What I wrote is correct. The uses of SI, DI, DX i have written are correct and the fact i didn't mention DX as port number doesn't change that.


...
Forum: Coders. Asm / Hardware 15 September 2018, 13:56
Replies: 498
Views: 13,741
Posted By meynaf
Nope it's not wrong. Only SI can read with...

Nope it's not wrong.
Only SI can read with auto-increment.
Only DI can write with auto-increment.
Only BP can be used as frame pointer.
Only DX can be used as loop counter with the loop...
Forum: support.Hardware 15 September 2018, 09:58
Replies: 6
Views: 295
Posted By meynaf
I doubt. If you have fast cpu (68060) then...

I doubt.
If you have fast cpu (68060) then chunky or planar does not matter anymore as the c2p can be made to run at copymem speed. And, chunky or planar, you have to transfer your data to some...
Forum: support.Apps 14 September 2018, 13:27
Replies: 78
Views: 4,416
Posted By meynaf
Which quotes ? Do you mean command "param1"...

Which quotes ?
Do you mean command "param1" "param2" vs command param1 param2 for typing script name and parameters on the cli ?
If so, it's same as any other command, it does not matter unless...
Forum: support.Apps 14 September 2018, 12:41
Replies: 78
Views: 4,416
Posted By meynaf
Typing the script name on the CLI followed by...

Typing the script name on the CLI followed by parameters works with your script exactly like it is... :p
(If you don't want to have default values and have parameters being required, add /A after...
Forum: Coders. Asm / Hardware 13 September 2018, 20:20
Replies: 498
Views: 13,741
Posted By meynaf
Done it ! Executable rewritten for A1200,...

Done it !
Executable rewritten for A1200, contains all features of the original (even speed ; could be shorter if i remove the mulu optim).
Size = 596 bytes. x86 beaten :p

But the added bulk is...
Forum: Coders. Asm / Hardware 13 September 2018, 16:32
Replies: 498
Views: 13,741
Posted By meynaf
Ok. Let's see if i can still do a shorter...

Ok. Let's see if i can still do a shorter version.
Using different speed tricks for different cpus will lead to code size that's not relevant for code density comparison.
Forum: Coders. Asm / Hardware 13 September 2018, 13:18
Replies: 498
Views: 13,741
Posted By meynaf
Hey, wait. Now that i think about it, >600 bytes...

Hey, wait. Now that i think about it, >600 bytes seems large for just outputting 800 pi digits.
I had the algorithm noted somewhere so i tried recoding it for 68020 and got a 408 bytes executable...
Forum: Coders. Asm / Hardware 13 September 2018, 13:01
Replies: 498
Views: 13,741
Posted By meynaf
Isn't that due to big mul / div routines that are...

Isn't that due to big mul / div routines that are single instruction on 386 ?
Anyhow, of course 8086 isn't good at 32-bit stuff ;)



I doubt we ever will.
There are limits such as speed of...
Forum: Coders. System 12 September 2018, 13:43
Replies: 12
Views: 460
Posted By meynaf
Why not just use loadwb ? What's the constraint...

Why not just use loadwb ? What's the constraint that forces you to put your code in the bootblock rather than in the startup-sequence ?
Forum: Coders. System 12 September 2018, 13:17
Replies: 12
Views: 460
Posted By meynaf
Have you tried to detect the presence of the...

Have you tried to detect the presence of the initial CLI ?
Forum: Coders. System 12 September 2018, 12:48
Replies: 12
Views: 460
Posted By meynaf
What happens if you wait until a call to...

What happens if you wait until a call to OpenLibrary("dos.library") succeeds ?
Forum: Coders. Asm / Hardware 12 September 2018, 08:56
Replies: 17
Views: 515
Posted By meynaf
This is the key point. Compiled code is "naive"...

This is the key point. Compiled code is "naive" in some way and easier to handle.

My needs are different, and games are more difficult to get right because they can use all sorts of wicked tricks....
Forum: Coders. Asm / Hardware 11 September 2018, 19:16
Replies: 498
Views: 13,741
Posted By meynaf
The extra branch is for when data is out of...

The extra branch is for when data is out of range. If there is really only 4 possible cases then yes the last branch can be removed.
Forum: Coders. Asm / Hardware 11 September 2018, 17:47
Replies: 498
Views: 13,741
Posted By meynaf
Not a problem, we've got more Mhz :p ...

Not a problem, we've got more Mhz :p



Segment registers were not temporary. They are still supported today, even if it's just in compatibility modes.
During that time more features could be...
Forum: Coders. Asm / Hardware 11 September 2018, 17:13
Replies: 498
Views: 13,741
Posted By meynaf
Have you tried : subq.w #1,d0 bcs case_0...

Have you tried :

subq.w #1,d0
bcs case_0
beq case_1
subq.w #2,d0
bcs case_2
beq case_3

If you can use short branches, timing becomes something like 14/22/34/42 (28 on average).
Forum: Coders. Asm / Hardware 11 September 2018, 12:15
Replies: 17
Views: 515
Posted By meynaf
It's because i never released that program. I...

It's because i never released that program.
I needed it for my Atari ST / Mac 68k to Amiga game ports.
I also had to disassemble FTL's own executable format.
Forum: Coders. Asm / Hardware 11 September 2018, 09:37
Replies: 17
Views: 515
Posted By meynaf
I've just tried with PhxAss 4.44 which i'm using...

I've just tried with PhxAss 4.44 which i'm using and it's ok for ADD/ADDI.



Seen that many times. Usually it's $FF with negative values. You can guess the assembler was written in C and treated...
Forum: support.Other 10 September 2018, 13:19
Replies: 8
Views: 353
Posted By meynaf
I don't think the shell can check the cpu type...

I don't think the shell can check the cpu type directly.
But writing a cpu checking command whose return code can be tested, is technically peanuts.
It depends on what exactly is needed.
Forum: Coders. Blitz Basic 10 September 2018, 13:03
Replies: 3
Views: 185
Posted By meynaf
IT is multi-channel format (more than 4) so i...

IT is multi-channel format (more than 4) so i have doubts about conversion to ptk...
Playing these needs software channel mixing, this raises required configuration to 68030 and the replay routine...
Forum: Coders. Asm / Hardware 10 September 2018, 08:53
Replies: 498
Views: 13,741
Posted By meynaf
Defining the number of bits of a cpu really...

Defining the number of bits of a cpu really depends how you look at it.

If you consider the address space, then 8086 isn't "typical" 16 bits - but TMS9900 is. And no 8-bit will be typical 8-bit......
Forum: Coders. Asm / Hardware 09 September 2018, 19:31
Replies: 498
Views: 13,741
Posted By meynaf
And this accounts what i told about earlier - OS...

And this accounts what i told about earlier - OS calls on the Amiga aren't exactly economic (at least for small programs). This is what's called a bias.
Forum: Coders. Asm / Hardware 09 September 2018, 12:54
Replies: 498
Views: 13,741
Posted By meynaf
95 bytes for 8086, 100 bytes for 68000, but you...

95 bytes for 8086, 100 bytes for 68000, but you claimed in previous post 8086 was 50% shorter.
Forum: Coders. Asm / Hardware 09 September 2018, 11:02
Replies: 498
Views: 13,741
Posted By meynaf
Your miss, not mine. Sometimes they are reused,...

Your miss, not mine. Sometimes they are reused, with small changes.
Why not saving them anyway ? What would be the benefit, aside of a few microseconds that don't count ?
My reusable routines never...
Forum: Coders. Asm / Hardware 09 September 2018, 08:22
Replies: 498
Views: 13,741
Posted By meynaf
Isn't it better than posting code without any...

Isn't it better than posting code without any check ?
Forum: Coders. Asm / Hardware 09 September 2018, 07:57
Replies: 498
Views: 13,741
Posted By meynaf
My code has been tested and draws all lines i...

My code has been tested and draws all lines i feed it.



Why the heck would I allow D4-D5 to be trashed in my routine ?



Data coming out of ABS is necessarily a positive value. So this...
Forum: Coders. Asm / Hardware 08 September 2018, 17:09
Replies: 498
Views: 13,741
Posted By meynaf
The story of why IBM used 8088 : ...

The story of why IBM used 8088 :
https://spectrum.ieee.org/tech-history/heroic-failures/the-inside-story-of-texas-instruments-biggest-blunder-the-tms9900-microprocessor

In short, the only other...
Forum: Coders. Asm / Hardware 08 September 2018, 14:56
Replies: 498
Views: 13,741
Posted By meynaf
The problem was more about my time ;) I had to...

The problem was more about my time ;)
I had to do what you didn't do.



For me comparing asm with generated code isn't exactly fun - i've rewritten too much compiled code in my life to find...
Forum: Coders. Asm / Hardware 08 September 2018, 12:40
Replies: 498
Views: 13,741
Posted By meynaf
Considering the time it took for something...

Considering the time it took for something trivial, maybe i'll skip ;)
Forum: Coders. Asm / Hardware 08 September 2018, 10:59
Replies: 498
Views: 13,741
Posted By meynaf
Now it works (yes, really). But again, please,...

Now it works (yes, really).
But again, please, next time you submit code, debug it first. This would save us a lot of time.
Forum: Coders. Asm / Hardware 08 September 2018, 08:57
Replies: 498
Views: 13,741
Posted By meynaf
It appears to be working. EDIT: spoke too...

It appears to be working.

EDIT: spoke too fast. Messed up with my if/endc and was using my routine instead :o
It actually freezes if doing draw 120,100,7,1...



I prefer x,y,dx,dy over...
Forum: Coders. Asm / Hardware 07 September 2018, 10:36
Replies: 498
Views: 13,741
Posted By meynaf
Not seeing anything obvious i tried it directly....

Not seeing anything obvious i tried it directly. Got endless loop filling a large pixel area.
Please check your code ; hit-and-miss has its limits ;)
Forum: Coders. Asm / Hardware 07 September 2018, 09:35
Replies: 498
Views: 13,741
Posted By meynaf
I can do this for you. It doesn't work :D ...

I can do this for you. It doesn't work :D

More precisely, if you examine the C code you will notice it can draw a line only if dx,dy are positive values (IOW x,y positions can only increase).
But...
Forum: Coders. Asm / Hardware 07 September 2018, 07:40
Replies: 18
Views: 481
Posted By meynaf
It is "code_bss" and "data_bss", i.e. code or...

It is "code_bss" and "data_bss", i.e. code or data sections with empty region at the end, that require V37+.
Forum: Coders. Asm / Hardware 06 September 2018, 20:56
Replies: 498
Views: 13,741
Posted By meynaf
Typical ? Who defines what is "typical" ? ...

Typical ? Who defines what is "typical" ?



And for users to get speed and safety, assembly programmers and compilers need to do a good job. So the CPU really has to be designed for them.


...
Forum: Coders. Asm / Hardware 06 September 2018, 16:10
Replies: 498
Views: 13,741
Posted By meynaf
I'm not using the blitter, even for testing, so i...

I'm not using the blitter, even for testing, so i don't know.
This routine isn't meant to be extra fast, it's just short and simple.
Forum: Coders. Asm / Hardware 06 September 2018, 12:45
Replies: 498
Views: 13,741
Posted By meynaf
And will also read in reply to what i've written...

And will also read in reply to what i've written this.
So yes, i really want to draw mods attention here.
Showing results 1 to 40 of 3095

 
Forum Jump

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


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