English Amiga Board


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

 
 
Thread Tools
Old 16 February 2019, 19:41   #181
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Quote:
Originally Posted by Gorf View Post
Hi!

Did you hear about Michal Schulz' approach to bring AROS to the RasPI (big endian) und his new 68K-JIT?

The new (alpha) JIT is now reaching over 600MIPS on a RasPI3B+ and he was thinking of some kind of baremetal emulation layer himself:
"I need to complete this JIT ASAP and try to integrate it with AROS. Or maybe run the m68k JIT without any operating system directly on RasPi, as a bare metal kernel. What do you think?"

So maybe you both should talk?

https://www.patreon.com/posts/always-remember-24683131
I know Michal quite well from our AROS days! I have been watching his Emu68 project, with an eye to perhaps using it, if I can get my part working suffiently, hence my choice of MPL licence
bloodline is offline  
Old 16 February 2019, 20:42   #182
Gorf
Registered User
 
Gorf's Avatar
 
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
Gorf is offline  
Old 17 February 2019, 00:51   #183
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Quote:
Originally Posted by deimos View Post
What would someone need if they wanted to compile and run this themselves?
On Linux I use clang, I cd into the directory with the source files and then my command line is this:

Code:
clang *.c -o omega -Iinclude -Lib -lsdl2 -LSDL2main
you can then run "omega"

On MacOS, create a new “command line” project in xCode, drag and drop the source files in, add in the libSDL2 framework in the project settings... hit run!

On Windows, I have no idea, I never managed to get this to compile.

Simple!

Last edited by bloodline; 17 February 2019 at 01:22.
bloodline is offline  
Old 19 February 2019, 14:31   #184
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Managed to get to the boot CLI today!

I don't have keyboard input worked out yet (more fiddling with CIAs...)

Slow progress, but I'm still pretty stoked...

Booting is working quite well now, I found the problem with my floppy loader was that 0s were entering the data stream, which obviously was throwing off AmigaOS.

There are still read write errors but I can get quite far from the startup sequence now... The read/write errors are probably blitter related.
Attached Thumbnails
Click image for larger version

Name:	bootscreen17.png
Views:	226
Size:	30.3 KB
ID:	62097   Click image for larger version

Name:	bootscreen18.png
Views:	212
Size:	31.0 KB
ID:	62098   Click image for larger version

Name:	bootscreen19.png
Views:	240
Size:	34.4 KB
ID:	62099  

Last edited by bloodline; 19 February 2019 at 14:47.
bloodline is offline  
Old 19 February 2019, 14:43   #185
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Re:word addressable registers
Some games stop the Copper by writing an odd numbered address instead of multiple waits at the end of a custom copper list. This triggers an illegal bus operation and works. Also, on SAGA core on the Vampire, the least significant bit has been remapped to a bank select to double the number of possible registers. I'd rethink your idea of having byte addressable copper lists.
Samurai_Crow is offline  
Old 19 February 2019, 14:54   #186
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
After a few tries to boot the disk, Omega booted to Workbench 1.3. Notice my Blitter is missing Fill Mode and H-Line mode.

Wow. I'm feeling really happy.
Attached Thumbnails
Click image for larger version

Name:	bootscreen20.png
Views:	311
Size:	41.1 KB
ID:	62100  
bloodline is offline  
Old 19 February 2019, 19:27   #187
alpine9000
Registered User
 
Join Date: Mar 2016
Location: Australia
Posts: 881
Quote:
Originally Posted by bloodline View Post
After a few tries to boot the disk, Omega booted to Workbench 1.3. Notice my Blitter is missing Fill Mode and H-Line mode.

Wow. I'm feeling really happy.
Congrats!! Quite the achievement!!
alpine9000 is offline  
Old 19 February 2019, 20:26   #188
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,510
Quote:
Originally Posted by Samurai_Crow View Post
Re:word addressable registers
Some games stop the Copper by writing an odd numbered address instead of multiple waits at the end of a custom copper list. This triggers an illegal bus operation and works.
What? Bit 0 set in first copper word means WAIT (or SKIP). Bit 0 cleared = MOVE. MOVE to odd register does not exist.
Toni Wilen is offline  
Old 19 February 2019, 20:28   #189
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Quote:
Originally Posted by Samurai_Crow View Post
Re:word addressable registers
Some games stop the Copper by writing an odd numbered address instead of multiple waits at the end of a custom copper list. This triggers an illegal bus operation and works. Also, on SAGA core on the Vampire, the least significant bit has been remapped to a bank select to double the number of possible registers. I'd rethink your idea of having byte addressable copper lists.
If you look at DMA.c, where the copper instructions are executed, it does read from the word addressed memory. No chance of odd addresses for copper lists. :-)
bloodline is offline  
Old 19 February 2019, 21:55   #190
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
A video for those who like that sort of thing

[ Show youtube player ]
bloodline is offline  
Old 19 February 2019, 22:26   #191
yesplease
Registered User
 
yesplease's Avatar
 
Join Date: May 2012
Location: moon
Posts: 208
[QUOTE=bloodline;1305817]A video for those who like that sort of thing

Yeah we like that !

yesplease is offline  
Old 19 February 2019, 22:37   #192
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,860
Quote:
Originally Posted by bloodline View Post
A video for those who like that sort of thing
So you got it Excellent !!!
malko is offline  
Old 19 February 2019, 22:42   #193
demoniac
Registered User
 
Join Date: Jul 2005
Location: -
Posts: 1,689
Quote:
Originally Posted by bloodline View Post
After a few tries to boot the disk, Omega booted to Workbench 1.3.

Great milestone!
demoniac is offline  
Old 19 February 2019, 23:13   #194
TEG
Registered User
 
TEG's Avatar
 
Join Date: Apr 2017
Location: France
Posts: 567
TEG is offline  
Old 20 February 2019, 01:26   #195
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Quote:
Originally Posted by Toni Wilen View Post
What? Bit 0 set in first copper word means WAIT (or SKIP). Bit 0 cleared = MOVE. MOVE to odd register does not exist.
I must be getting a bit mixed up from a bit in DMA control or copper control registers mixed in with my incorrect assumptions about how the Copper works. I do know that the Apollo SAGA core has a second bank of control registers for all the chunky modes and the 16-bit audio voices though. That bank of registers is copper addressable by design also.
Samurai_Crow is offline  
Old 20 February 2019, 12:12   #196
Pyromania
Moderator
 
Pyromania's Avatar
 
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,375
Great job bloodline!
Pyromania is offline  
Old 20 February 2019, 14:46   #197
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
Quote:
Originally Posted by bloodline View Post
A video for those who like that sort of thing

Great.. Love that floppy action visualization :-)


It looks slower than real hardware (starting WB), or am I just spoiled by only using an A4000 for the last 25 years?
hooverphonique is offline  
Old 20 February 2019, 17:06   #198
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Thanks guys! I appreciate the support!


Quote:
Originally Posted by hooverphonique View Post
Great.. Love that floppy action visualization :-)


It looks slower than real hardware (starting WB), or am I just spoiled by only using an A4000 for the last 25 years?
I would say this is running around about the speed a normal A500, The CPU emulation is running in lockstep with the display DMA, which is tied to the the vsync of the laptop (60Hz).
bloodline is offline  
Old 20 February 2019, 23:05   #199
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Quote:
Originally Posted by hooverphonique View Post
Great.. Love that floppy action visualization :-)


It looks slower than real hardware (starting WB), or am I just spoiled by only using an A4000 for the last 25 years?
I have uploaded a few MFM ADFs to the GitHub, one has SYSInfo on it.
Attached Thumbnails
Click image for larger version

Name:	sysinfo.png
Views:	245
Size:	56.6 KB
ID:	62120  
bloodline is offline  
Old 21 February 2019, 07:48   #200
bloodline
Registered User
 
bloodline's Avatar
 
Join Date: Jan 2017
Location: London, UK
Posts: 433
Blitter Glitches

Running DPaint seems to give a clear reproducible blitter error. My guess is there is a "Last Word Mask" error in the code, someone more knowledgeable about this stuff (Toni?) might recognise what's going on here?

[ Show youtube player ]
bloodline 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
Amiga emulator for iOS steviebwoy support.OtherUAE 35 15 November 2014 10:14
Amiga emulator for a PSP? Vars191 support.OtherUAE 1 09 May 2010 02:08
Frederic's Emulator inside and Emulator thread Fred the Fop Retrogaming General Discussion 22 09 March 2006 07:31
ADF Files -> Amiga(amiga with dos Emulator) Schattenmeister support.Hardware 8 14 October 2003 00:10
Which Amiga emulator is best? Tim Janssen Amiga scene 45 15 February 2002 19:52

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 03:26.

Top

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