English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 34 of 34
Search took 0.01 seconds.
Search: Posts Made By: litwr
Forum: Coders. Tutorials 14 December 2018, 20:50
Replies: 111
Views: 29,659
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. Tutorials 14 December 2018, 17:37
Replies: 111
Views: 29,659
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. Tutorials 09 December 2018, 11:06
Replies: 111
Views: 29,659
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. Tutorials 08 December 2018, 12:04
Replies: 111
Views: 29,659
Posted By litwr
Don't hack! :D

Don't hack! :D
Forum: Coders. Tutorials 08 December 2018, 10:25
Replies: 111
Views: 29,659
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. Tutorials 07 December 2018, 21:10
Replies: 111
Views: 29,659
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, 21:50
Replies: 111
Views: 29,659
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, 18:50
Replies: 111
Views: 29,659
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, 12:38
Replies: 111
Views: 29,659
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, 11:54
Replies: 111
Views: 29,659
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, 17:27
Replies: 111
Views: 29,659
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, 13:34
Replies: 111
Views: 29,659
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, 11:47
Replies: 111
Views: 29,659
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. Tutorials 01 December 2018, 20:04
Replies: 111
Views: 29,659
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. Tutorials 01 December 2018, 16:57
Replies: 111
Views: 29,659
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, 14:55
Replies: 111
Views: 29,659
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, 13:14
Replies: 111
Views: 29,659
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, 12:04
Replies: 111
Views: 29,659
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. Tutorials 30 November 2018, 20:54
Replies: 111
Views: 29,659
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, 20:23
Replies: 111
Views: 29,659
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. :(...
Forum: Coders. Tutorials 30 November 2018, 18:36
Replies: 111
Views: 29,659
Posted By litwr
Thanks. It is now not actual. However it sounds...

Thanks. It is now not actual. However it sounds like another Moto's oddity for me. I needed to save C flag because every MOVE (it is yet another oddity) clears it! I could find a way to write my...
Forum: Coders. Tutorials 29 November 2018, 21:57
Replies: 111
Views: 29,659
Posted By litwr
I stuck in a problem. Please help me again. Is...

I stuck in a problem. Please help me again. Is there a way to save CPU arithmetic flags (C,Z,N,X,V)? MOVE SR,D0 doesn't work for applications with 68020 and later 68k CPU. Is there any other way?
Forum: Coders. Tutorials 25 November 2018, 15:18
Replies: 111
Views: 29,659
Posted By litwr
Thank you very much. :) I like the copper and I...

Thank you very much. :) I like the copper and I also would like to use blitter. However your code is about 1100 lines in size and it should be different for PAL and NTSC machines. I am also going...
Forum: Coders. Tutorials 25 November 2018, 11:45
Replies: 111
Views: 29,659
Posted By litwr
@roondar Thank you. But your idea takes one color...

@roondar Thank you. But your idea takes one color from the main screen. IMHO it is possible to use copper to change the value of color register 0 but it will require not very easy coding, we need to...
Forum: Coders. Tutorials 24 November 2018, 21:00
Replies: 111
Views: 29,659
Posted By litwr
I have a lot of tables in my Data section (tab,...

I have a lot of tables in my Data section (tab, tab1, tab121, ...). Thus I need to use a register as a section base(a6), I need also an offset to a particular table (tab, ...) and an index to it...
Forum: Coders. Tutorials 24 November 2018, 19:47
Replies: 111
Views: 29,659
Posted By litwr
Thank you but I need sections. It...

Thank you but I need sections.



It works! :) Thank you I really need to do much work studying 68k assembler options and features. Is there any good book or site for this?

EDIT. With basereg...
Forum: Coders. Tutorials 24 November 2018, 18:04
Replies: 111
Views: 29,659
Posted By litwr
Thanks for the help. IMHO it is better to have...

Thanks for the help. IMHO it is better to have separate colors for bg and borders like on the 8-bit Commodores.
And I got another problem. I have a code

lea tab,a3
moveq #0,d1
lea...
Forum: Coders. Tutorials 21 November 2018, 16:22
Replies: 111
Views: 29,659
Posted By litwr
I could get 248 pixel in horizontal line - it was...

I could get 248 pixel in horizontal line - it was rather easy. IMHO it is possible even with CGA card but I didn't try to get such effect with CGA or VGA...
I am very impressed by the Amiga's...
Forum: Coders. Tutorials 18 November 2018, 21:37
Replies: 111
Views: 29,659
Posted By litwr
I am definitely about horizontal. IMHO just...

I am definitely about horizontal. IMHO just copper setting is not enough to get less than 256 pixels.
Forum: Coders. Tutorials 18 November 2018, 21:13
Replies: 111
Views: 29,659
Posted By litwr
Thanks again but I am still in 1990 when I had to...

Thanks again but I am still in 1990 when I had to be parted with my Amiga. I have to learn much... I have yet another questions.

4) Why to save/restore registers at a program startup/exit? My...
Forum: Coders. Tutorials 18 November 2018, 20:24
Replies: 111
Views: 29,659
Posted By litwr
Thanks a lot for the help. :) I hope to continue...

Thanks a lot for the help. :) I hope to continue with my programming next week-end. BTW AMIGA HARDWARE REFERENCE MANUAL has examples which use code at $20000 without its proper allocation.
Forum: Coders. Tutorials 18 November 2018, 13:47
Replies: 111
Views: 29,659
Posted By litwr
I have three more question. Please help with...

I have three more question. Please help with them.

1) I can't understand why we could safely use memory starting at $20000? We don't allocate it. But I have found several demos, for example,...
Forum: Coders. Tutorials 17 November 2018, 20:44
Replies: 111
Views: 29,659
Posted By litwr
Thank you very much again! I missed...

Thank you very much again! I missed MOVE.W #$7FFF,DMACON(A5) before MOVE.W #(DMAF_SETCLR!DMAF_COPPER),DMACON(A5). :sad It was not easy to catch the logic of this register. However it is still odd...
Forum: Coders. Tutorials 17 November 2018, 20:15
Replies: 111
Views: 29,659
Posted By litwr
I am trying to make my first GFX assembler code

I have made the following code. It just draws static vertical stripes. However sometimes (I have to wait several seconds for it) image is distorted by a kind of flicker on its parts. Could anybody...
Showing results 1 to 34 of 34

 
Forum Jump

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


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