6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Sep 22, 2024 6:31 pm

All times are UTC




Post new topic Reply to topic  [ 81 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject: Re: Multiple interrupts?
PostPosted: Thu Aug 27, 2015 8:42 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8511
Location: Southern California
BigDumbDinosaur wrote:
GARTHWILSON wrote:
The nice thing about using the stack is that you don't need variables space. The "variables" are on the stack, and when they're no longer needed, they cease taking any memory. Having a separate data stack in ZP makes it a lot less fiddly.

That will work as long as the function being called doesn't have to be recursive/reentrant.

I've done it in recursive/reentrant ones too.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: Multiple interrupts?
PostPosted: Thu Aug 27, 2015 11:36 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8390
Location: Midwestern USA
GARTHWILSON wrote:
BigDumbDinosaur wrote:
GARTHWILSON wrote:
The nice thing about using the stack is that you don't need variables space. The "variables" are on the stack, and when they're no longer needed, they cease taking any memory. Having a separate data stack in ZP makes it a lot less fiddly.

That will work as long as the function being called doesn't have to be recursive/reentrant.

I've done it in recursive/reentrant ones too.

I was referring to using zero page as a pseudo-stack.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject: Re: Multiple interrupts?
PostPosted: Thu Aug 27, 2015 11:50 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8511
Location: Southern California
yeah, that too

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: Multiple interrupts?
PostPosted: Fri Aug 28, 2015 12:10 am 
Offline
User avatar

Joined: Sat Aug 22, 2015 8:54 pm
Posts: 31
Thanks all for your help. I should have a github repo up next weekend, maybe before that. I don't have much code yet, so the BIOS won't look like much. :D

_________________
It may look hard, but it won't take long if you take it one byte at a time.


Top
 Profile  
Reply with quote  
 Post subject: Re: Multiple interrupts?
PostPosted: Sat Sep 12, 2015 6:40 pm 
Offline
User avatar

Joined: Sat Aug 22, 2015 8:54 pm
Posts: 31
The GitHub page is up at https://github.com/nkeck720/6502-Machine-BIOS. Will be working on commits. Those who wish to send pull requests need to do so through GitHub. Commits will be going up soon! Also, does anyone happen to know where I can get a 6502 model for LTSpice IV?

_________________
It may look hard, but it won't take long if you take it one byte at a time.


Top
 Profile  
Reply with quote  
 Post subject: Re: Multiple interrupts?
PostPosted: Sun Sep 20, 2015 12:32 am 
Offline
User avatar

Joined: Sat Aug 22, 2015 8:54 pm
Posts: 31
NOTICE: the old repo just went down due to SSH issues. The new repo is at the following URL:
https://github.com/nkeck720/6502-Machine-BIOS

_________________
It may look hard, but it won't take long if you take it one byte at a time.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 81 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC


Who is online

Users browsing this forum: No registered users and 26 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: