It is currently Mon Dec 11, 2017 11:43 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sun Jun 26, 2016 5:50 am 
Offline
User avatar

Joined: Mon Nov 26, 2012 6:12 am
Posts: 22
I want to use neslib in my nesicide c program. What files do I need, where do I get them, and what do I do with them once I get them?

Thanks!


Top
 Profile  
 
PostPosted: Sun Jun 26, 2016 7:54 am 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1865
Location: DIGDUG
Quote:
neslib


I assume you mean Shiru's nes library. I think you can find a copy in the example code here...


https://shiru.untergrund.net/code.shtml

I haven't used nesicide, btw.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Sun Jun 26, 2016 8:04 am 
Offline
User avatar

Joined: Mon Nov 26, 2012 6:12 am
Posts: 22
Thanks for the link. I downloaded "CC65 NES examples" and followed the directions but it came up with a bunch of errors:
Code:
ld65: Error: nrom_128_horz.cfg(53): Attribute expected


Top
 Profile  
 
PostPosted: Sun Jun 26, 2016 8:14 am 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 1865
Location: DIGDUG
Welcome to programming with cc65 ;)

When I first started (with cc65), I saw dozens of similar error messages. I'm away from my computer, but I'm 99% sure that you are using a different version of cc65 than was used to write these examples.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Tue Jun 28, 2016 7:47 am 
Offline

Joined: Mon May 27, 2013 9:40 am
Posts: 362
Use the latest svn version of cc65 (it reports 2.15 and a funny number when running cc65 --version), and this neslib package (attached). You'll be fine.


Attachments:
neslib.zip [69.31 KiB]
Downloaded 61 times

_________________
http://www.mojontwins.com
Top
 Profile  
 
PostPosted: Mon Jul 11, 2016 5:19 am 
Offline
NESICIDE developer
User avatar

Joined: Mon Oct 13, 2008 7:55 pm
Posts: 1058
Location: Minneapolis, MN
pinkpuff wrote:
I want to use neslib in my nesicide c program. What files do I need, where do I get them, and what do I do with them once I get them?

Thanks!


Last I checked the installers for Windows came with everything you needed and the C template project compiled/ran. But that was over a year ago. I've been quite distracted with non-NES stuff lately.


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 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:  
cron
Powered by phpBB® Forum Software © phpBB Group