Jump to content


Jump out of the kernel

stack minikernel variables

1 reply to this topic

#1 bogax OFFLINE  



  • 793 posts

Posted Mon Apr 8, 2019 4:00 PM

I'm thinking it would be useful to have the facility to (optionally) jump out of the kernel.


So eg you might have a construct like this at the end of the kernel


  ifconst .kernel_exit
  jmp .kernel_exit


so you could jump to your minikernel and thence back to where you goto'd drawscreen

(or back to .nevermind if you were so minded)


and free up a couple of stack locations for those tricky text minikernels where you cant find enough pointers 


#2 Trip2018 OFFLINE  


    Star Raider

  • 94 posts
  • Fuzzy boi
  • Location:nebraska

Posted Thu Apr 11, 2019 6:43 PM

This seems like a good idea!

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users