Login [Register]
Don't have an account? Register now to chat, post, use our tools, and much more.
I am currently working on some [semi-secret] projects that would highly benifit from becoming a library.
In this topic I hope to learn the ins and outs of making a C library in eZ80 Assembly.
My interpretations and reverse-engineering of how, and subsequently taught how they are ridiculous and I should do X instead of Y. This is all a part of the learning process.
Yes this means you, Mateo ;P

I understand for the most part how function arguments work, but how would one tell if the result should be in HL or A, or something else entirely?
Also does self-modifying-code work the same as in a program?

I will post more of my questions as I stumble upon them.

Code:
char = A
int = UHL
long = EUHL

SMC works fine in libraries.
How would I handle dependencies to other libraries in my library?
See how fontlibc does it. Essentially you just add a simple include_library macro.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are GMT - 5 Hours
 
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 vote in polls in this forum

 

Advertisement