English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 25 November 2018, 00:21   #21
Steve
Truth seeker...
Steve's Avatar
 
Join Date: Jul 2001
Location: UK
Age: 40
Posts: 2,240
Cheers guys. It works now - albeit with a bit of a noise at bottom.

Cheers for all your help, been a fun evening.
Attached Thumbnails
Click image for larger version

Name:	fs-uae-crop-1811242219-01.png
Views:	61
Size:	68.5 KB
ID:	60948  
Steve is offline  
Old 25 November 2018, 00:28   #22
ross
Sum, ergo Cogito

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 48
Posts: 1,462
Quote:
Originally Posted by Steve View Post
Cheers guys. It works now - albeit with a bit of a noise at bottom.
Sure you inserted DIWSTOP,$F4C1 in copper list?
This is the effect of a wrong DIWSTOP.

EDIT.
To explain the reason: I see that you setup DIWSTOP in code and in copper list.
DIWSTOP is a static value so you can use CPU or copper, but with copper the value is refreshed every frame so the first CPU setup can be overwritten.

Last edited by ross; 25 November 2018 at 00:46.
ross is offline  
Old 25 November 2018, 00:39   #23
Steve
Truth seeker...
Steve's Avatar
 
Join Date: Jul 2001
Location: UK
Age: 40
Posts: 2,240
Quote:
Originally Posted by ross View Post
Sure you inserted DIWSTOP,$F4C1 in copper list?
This is the effect of a wrong DIWSTOP.
Ha, you're right again Ross!

I had removed it while switching between images. Added it back in and it looks correct.

Much appreciated!

Onwards to the next challenge. Maybe I'll look at the blitter next.

Thanks again.

Quote:
Originally Posted by ross View Post
To explain the reason: I see that you setup DIWSTOP in code and in copper list.
DIWSTOP is a static value so you can use CPU or copper, but with copper the value is refreshed every frame so the first CPU setup can be overwritten.
Thanks Ross, that's good to know. So really it only needs setting once. I'm learning plenty this evening!
Attached Thumbnails
Click image for larger version

Name:	fs-uae-crop-1811242237-01.png
Views:	56
Size:	49.6 KB
ID:	60949  

Last edited by Steve; 25 November 2018 at 00:59.
Steve is offline  
Old 25 November 2018, 23:26   #24
Steve
Truth seeker...
Steve's Avatar
 
Join Date: Jul 2001
Location: UK
Age: 40
Posts: 2,240
Floppy disk

Okay so here is my first little 'demo' (if you can call it that) which I am a bit chuffed with right now. Even if it doesn't do a lot, it's the first decent thing I have created with assembler.

It is a bootable ADF file that tests the machine it is running on. If it detects the AGA chipset then it loads the Tutankhamun image (256 colours) otherwise it loads a 32 colour image of a disk (done by Foul). Yeah pretty chuffed with that bit of work.

Running one program on different machines/chipsets with different results fascinates me for some reason.

EDIT: I made a small update to the code which now loads the 320x200 version with the correct aspect ratio (the 320x256 version was stretched vertically and didn't look like the real King Tut mask). I also fixed a problem with the floppy drive motor light staying on.
Attached Files
File Type: zip TutTest.zip (174.8 KB, 16 views)
File Type: zip TutTest2.zip (213.3 KB, 13 views)

Last edited by Steve; 27 November 2018 at 02:17.
Steve is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to implement joystick code in my stuff Akira Coders. General 26 04 June 2018 00:03
implement others 68000 machines ? turrican3 support.WinUAE 28 23 November 2017 01:54
Implement More Option For DirectDraw Mode. Zilog request.UAE Wishlist 4 01 August 2014 10:18
Any plans to implement JIT for PPC OSs? amigafreak68k support.FS-UAE 3 03 January 2014 11:36
Should I implement PM download now ? RCK project.EAB 12 08 January 2002 02:21

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:15.


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