6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon Apr 29, 2024 7:53 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: How to use lib65816
PostPosted: Thu Jul 02, 2020 6:51 pm 
Offline

Joined: Thu Feb 27, 2020 9:15 am
Posts: 18
Hello

I want to use lib65816 in my project, and i am a bit confused on how to use it correctly. Is there any guide or documentation written for it?


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use lib65816
PostPosted: Thu Jul 02, 2020 9:08 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10793
Location: England
Is that Sam Falvo's? He only rarely drops by these days.
https://github.com/sam-falvo/lib65816

I did something minimal with that, once - doesn't make me an expert! Looks like Daryl (8bit) tried it too:
viewtopic.php?f=8&t=4275&p=47961&hilit=run65816#p47961

Or maybe you've found this one
https://github.com/FrancescoRigoni/Lib65816
which is new to me... it's more recent but I'm not sure if it's still active.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use lib65816
PostPosted: Thu Jul 02, 2020 9:25 pm 
Offline

Joined: Thu Feb 27, 2020 9:15 am
Posts: 18
BigEd wrote:
Is that Sam Falvo's? He only rarely drops by these days.
https://github.com/sam-falvo/lib65816

I did something minimal with that, once - doesn't make me an expert! Looks like Daryl (8bit) tried it too:
viewtopic.php?f=8&t=4275&p=47961&hilit=run65816#p47961

Or maybe you've found this one
https://github.com/FrancescoRigoni/Lib65816
which is new to me... it's more recent but I'm not sure if it's still active.


Yes, it is Sam Falvo's one. I am just confused a bit about how to use it correctly. Like for example what does the mask parameter do in IRQ call and clear functions? Afaik 65816 has only one irq vector so idk what the mask means in this case. Also how do i provide it with data? Does it have its own internal memory or any events i can use to tie it up into my code?


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use lib65816
PostPosted: Thu Jul 02, 2020 9:37 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10793
Location: England
Did you find this post and the one after? Might be helpful. There's going to be some puzzling-out needed, I suspect. It's late for me, now, but I could look tomorrow, see if I can help at all.
viewtopic.php?p=23982#p23982


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use lib65816
PostPosted: Thu Jul 02, 2020 9:41 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10793
Location: England
Just had a quick look. It looks like Sam anticipated some sort of system-on-chip setup where there are up to a word's worth of IRQ sources. Looks like just using a mask of 1 would be the normal expected story.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to use lib65816
PostPosted: Thu Jul 02, 2020 9:43 pm 
Offline

Joined: Thu Feb 27, 2020 9:15 am
Posts: 18
BigEd wrote:
Did you find this post and the one after? Might be helpful. There's going to be some puzzling-out needed, I suspect. It's late for me, now, but I could look tomorrow, see if I can help at all.
viewtopic.php?p=23982#p23982


Thank you for help :) i will try to figure it out, i think ill be able to piece stuff together from the posts youve linked. Have a good night!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: