English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 164
Search took 0.02 seconds.
Search: Posts Made By: litwr
Forum: Coders. Asm / Hardware 15 December 2018, 22:43
Replies: 1,000
Views: 43,476
Posted By litwr
I am really tired of some ppl petrified points. ...

I am really tired of some ppl petrified points. So I am going to leave this place for a while. I have to say again that the discussion has helped me much to understand better 68k. I have to say...
Forum: Coders. Asm / Hardware 15 December 2018, 17:30
Replies: 1,000
Views: 43,476
Posted By litwr
This allows to shift by 1. What a...

This allows to shift by 1.



What a point do you try to prove?! That adding 16 bytes means just nothing?! :sad What is the difference if we used those bytes as immediate values?



It is you...
Forum: Coders. Asm / Hardware 15 December 2018, 17:06
Replies: 1,000
Views: 43,476
Posted By litwr
I agree that unprivileged POPF is rather bad for...

I agree that unprivileged POPF is rather bad for the virtualization but we are talking about PUSHF.
Your reason about Shapeshifter sounds strong but I am sure that you are incapable to prove that it...
Forum: Coders. Asm / Hardware 15 December 2018, 16:44
Replies: 1,000
Views: 43,476
Posted By litwr
There are no modern CPU with such heavy...

There are no modern CPU with such heavy instructions which are impossible to support. It was an ancient VAX/PDP-11 legacy. Coldfire is useful because it was adjusted to obvious things.

My...
Forum: Coders. Asm / Hardware 15 December 2018, 15:18
Replies: 1,000
Views: 43,476
Posted By litwr
68030 was slower than 80386 ...

68030 was slower than 80386
http://www.netlib.org/performance/html/dhrystone.data.col1.html
https://tech-insider.org/unix/research/1986/0331.html

So I have to add to the article.
Forum: Coders. Asm / Hardware 14 December 2018, 22:18
Replies: 1,000
Views: 43,476
Posted By litwr
I like MOVEM too but ARM has its more powerful...

I like MOVEM too but ARM has its more powerful variant and x86 has PUSHA/POPA one byte length. Your code requires to keep 4 long words, it is an equivalent of 6-8 (!) instructions. So even with your...
Forum: Coders. Tutorials 14 December 2018, 21:50
Replies: 111
Views: 16,026
Posted By litwr
Thank you. I hoped that A1200 remains more...

Thank you. I hoped that A1200 remains more compatible with A500 and was surprised when my code failed to work with A1200. I am going to follow documentation more strictly.
Forum: Coders. Asm / Hardware 14 December 2018, 19:09
Replies: 1,000
Views: 43,476
Posted By litwr
I have made a 80386 variant of the code for the...

I have made a 80386 variant of the code for the pi-spigot, it has 136 bytes length. The version of Don_Adan has 176 bytes. It uses very strange tricks with the stack, however, they showed me that...
Forum: Coders. Tutorials 14 December 2018, 18:37
Replies: 111
Views: 16,026
Posted By litwr
I have found out that Text call preserves A1 with...

I have found out that Text call preserves A1 with A500 but corrupts it with A1200. :shocked
Forum: Coders. Asm / Hardware 10 December 2018, 12:15
Replies: 1,000
Views: 43,476
Posted By litwr
Thank you but this makes the code only two bytes...

Thank you but this makes the code only two bytes shorter - it is 42 bytes now.


None


Where? There is no such software for 68k.
Forum: Coders. Asm / Hardware 10 December 2018, 04:42
Replies: 1,000
Views: 43,476
Posted By litwr
Thank you very much. It was a strange typo, it...

Thank you very much. It was a strange typo, it should be

.l1: move.l d5,d2
move.l d5,d0

So I accidentally put w instead of l. :shocked Sorry. :sad I have just fixed the text. ...
Forum: Coders. Asm / Hardware 09 December 2018, 23:27
Replies: 1,000
Views: 43,476
Posted By litwr
I know IBM used to use up to 5 levels of...

I know IBM used to use up to 5 levels of virtualization with its mainframes even with IBM/370. Maybe with modern mainframes they can use virtualization even of level 10. However they have a big...
Forum: Coders. Tutorials 09 December 2018, 12:06
Replies: 111
Views: 16,026
Posted By litwr
I have the next sequence in my x86 code ...

I have the next sequence in my x86 code

test [data],3
jne label

...
data dw 0

How to do something similar with 68k? I could find out
Forum: Coders. Asm / Hardware 08 December 2018, 15:34
Replies: 1,000
Views: 43,476
Posted By litwr
What is a REAL problem if some program can detect...

What is a REAL problem if some program can detect virtualization? It is always possible basing, for example, on timings. I have been using virtual machines under x86-64 Linux much and have to say...
Forum: Coders. Asm / Hardware 08 December 2018, 14:40
Replies: 1,000
Views: 43,476
Posted By litwr
68040:80486 - 1.25:1 68040:68030 - 4:1 ...

68040:80486 - 1.25:1
68040:68030 - 4:1
80486:80386 - 2.5:1

Let's do the calculations and we get that 80386:68030 - 1.28:1 - 80386 is 28% faster. If we assume that 68030 can be 20% faster than...
Forum: Coders. Tutorials 08 December 2018, 13:04
Replies: 111
Views: 16,026
Posted By litwr
Don't hack! :D

Don't hack! :D
Forum: Coders. Asm / Hardware 08 December 2018, 12:59
Replies: 1,000
Views: 43,476
Posted By litwr
x86 uses virtualization quite fine and allows to...

x86 uses virtualization quite fine and allows to read MSW. Just blindly repeat some text doesn't mean that you understand it. It was a popular theory that Earth can't be round. Almost all ppl were...
Forum: Coders. Asm / Hardware 08 December 2018, 12:55
Replies: 1,000
Views: 43,476
Posted By litwr
The article at...

The article at https://en.wikipedia.org/wiki/Motorola_68040 has words While it delivered over four times the per-clock performance of the 68020 and 68030. It is well known that 80486 was about 2.5...
Forum: Coders. Asm / Hardware 08 December 2018, 11:55
Replies: 1,000
Views: 43,476
Posted By litwr
@meynaf Your point about MOVE from SR looks like...

@meynaf Your point about MOVE from SR looks like a very weak position because it looks like that you try to protect a beauty of a theory. But they say Beauty is in the eyes of the beholder. I can't...
Forum: Coders. Tutorials 08 December 2018, 11:25
Replies: 111
Views: 16,026
Posted By litwr
This approach has a disadvantage - you have to...

This approach has a disadvantage - you have to give a name for a string which is used only once. Possibly we need a macro which will be generate unique names.


Thank you. Your code is much...
Forum: Coders. Asm / Hardware 07 December 2018, 22:21
Replies: 1,000
Views: 43,476
Posted By litwr
@meynaf lodsw mov [off1+di],ax ...

@meynaf

lodsw
mov [off1+di],ax
lodsw
mov [off2+di],ax
lodsw
mov [off3+di],ax
movsw
Forum: Coders. Tutorials 07 December 2018, 22:10
Replies: 111
Views: 16,026
Posted By litwr
I like such tricks! Can it work with 68020? BTW...

I like such tricks! Can it work with 68020? BTW I have a routine to print the next text, for example,

bsr printstr
dc.b "Hello World!",0
even

printstr:
...
Forum: Coders. Tutorials 06 December 2018, 22:50
Replies: 111
Views: 16,026
Posted By litwr
Excuse me maybe a bit ignorant question but does...

Excuse me maybe a bit ignorant question but does Amiga 500 have a dos.library V36 or above?



Maybe. I have just done some coding in the plain Xlib, Fltk, OpenGL. IMHO AmigaOS gives more ...
Forum: Coders. Tutorials 06 December 2018, 19:50
Replies: 111
Views: 16,026
Posted By litwr
It is easy to open a console window just opening...

It is easy to open a console window just opening a file named "CON:" by Open call. Is it possible to adjust this console window? I would like to remove borders and a title.
IMHO AmigaOS gives too...
Forum: Coders. Tutorials 06 December 2018, 13:38
Replies: 111
Views: 16,026
Posted By litwr
I had to use MOVE before TEXT. Now the raster...

I had to use MOVE before TEXT. Now the raster port works well too. But this port doesn't allow to use control sequences. What is the best way to use them with a new window? Thanks.
Forum: Coders. Tutorials 06 December 2018, 12:54
Replies: 111
Views: 16,026
Posted By litwr
It's become my obsession. If I had known that...

It's become my obsession. If I had known that reading of a port can affect it I would have never used a direct access to hardware with Amiga. I have found that Amiga OS friendly programming is very...
Forum: Coders. Tutorials 02 December 2018, 18:27
Replies: 111
Views: 16,026
Posted By litwr
Thanks to everybody for attempts to help with the...

Thanks to everybody for attempts to help with the keyboard polling. Sorry, but I got rather a lot of hazy hints that something that could help me. I want an OS friendly code for a fullscreen...
Forum: Coders. Tutorials 02 December 2018, 14:34
Replies: 111
Views: 16,026
Posted By litwr
It sounds like Amiga programming is a very tricky...

It sounds like Amiga programming is a very tricky thing because even in the end of 2018 there is still no clear answer for the question how to do keyboard polling. :shocked
Is it possible to do...
Forum: Coders. Tutorials 02 December 2018, 12:47
Replies: 111
Views: 16,026
Posted By litwr
@roondar Thank your very much for your very...

@roondar Thank your very much for your very useful information. Reading of $bfed01 actually disables Read. :( Thus I need to preserve the content of this register and restore it after the reading. ...
Forum: Coders. Asm / Hardware 01 December 2018, 22:49
Replies: 1,000
Views: 43,476
Posted By litwr
FPU were a very profitable business for Intel... ...

FPU were a very profitable business for Intel...



I have read that ppl were very disappointed when they found out that the same software works much (!) slower with 68040 than with 68030+68882....
Forum: Coders. Asm / Hardware 01 December 2018, 21:57
Replies: 1,000
Views: 43,476
Posted By litwr
Thank you. Your explanation gives some sense for...

Thank you. Your explanation gives some sense for the MOVE behaviors with flags. However they are unique and look really strange. IMHO it prevents compiler to mix instructions to get code executing...
Forum: Coders. Tutorials 01 December 2018, 21:04
Replies: 111
Views: 16,026
Posted By litwr
Please could you get some explanations? How my...

Please could you get some explanations? How my interrupt handler can affect anything? It doesn't interfere with OS at all.

EDIT. As I know Read does input with echo. I need to suppress the...
Forum: Coders. Asm / Hardware 01 December 2018, 21:00
Replies: 1,000
Views: 43,476
Posted By litwr
The code can be made much more elegant and even...

The code can be made much more elegant and even for 8088.

lodsw
mov [off1+di],ax
lodsw
mov [off2+di],ax
lodsw
mov [off3+di],ax
movsw
add di,6
Forum: Coders. Tutorials 01 December 2018, 17:57
Replies: 111
Views: 16,026
Posted By litwr
Thank you very much. :) Such things are very...

Thank you very much. :) Such things are very difficult to find and require too much time to study. I don't still understand some tricks around relocation. :(

I have just made my code for the kbd...
Forum: Coders. Tutorials 01 December 2018, 15:55
Replies: 111
Views: 16,026
Posted By litwr
If it was so then the interrupt effect can be...

If it was so then the interrupt effect can be noted when there was no Forbid call but without call to Forbid your code work. So it is a kind of a mystery. However you are right it works with...
Forum: Coders. Tutorials 01 December 2018, 14:14
Replies: 111
Views: 16,026
Posted By litwr
Thank you very much! But, yes, I have trouble. ...

Thank you very much! But, yes, I have trouble. It just doesn't work. Because my program (like mentioned at reaktor.com) uses Forbid call. I can't understand how it can prevent the port at $bfec01...
Forum: Coders. Tutorials 01 December 2018, 13:04
Replies: 111
Views: 16,026
Posted By litwr
Thank you. But what is about games? I would...

Thank you. But what is about games? I would like to have a full screen program not a window, something like https://www.reaktor.com/blog/crash-course-to-amiga-assembly-programming/

There should...
Forum: Coders. Asm / Hardware 01 December 2018, 12:47
Replies: 1,000
Views: 43,476
Posted By litwr
I have added to the article the next text: ...

I have added to the article the next text:

The oddities with flags do not finish at this. For some unknown reason, many commands, including even MOVE, null the flags of carry (C) and overflow. ...
Forum: Coders. Tutorials 30 November 2018, 21:54
Replies: 111
Views: 16,026
Posted By litwr
I have just found an interesting thread -...

I have just found an interesting thread - http://eab.abime.net/showthread.php?t=62322 - I will try to work with it. IMHO It is also unusual that Amiga misses a so ordinal function.
Forum: Coders. Tutorials 30 November 2018, 21:23
Replies: 111
Views: 16,026
Posted By litwr
Thank you very much. :) I have just found...

Thank you very much. :)

I have just found out that WaitForChar is buggy. :( It doesn't allow to set a delay to zero, with a delay equals 1 us it becomes slow and crashes after repeated calls. :(...
Showing results 1 to 40 of 164

 
Forum Jump

All times are GMT +2. The time now is 07:19.


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