It is currently Tue Dec 18, 2018 10:32 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: VS2015 Language Support
PostPosted: Sat Aug 29, 2015 9:17 am 
Offline

Joined: Wed Mar 31, 2010 12:40 pm
Posts: 207
Hello,

I started creating a visual studio extension for 6502 syntax highlighting, and I was wondering how useful something like this could be. If it's something everyone wants, I could also try adding solution/project/debugger support. Here is an example showing the syntax highlighting in action:

Image

I'm thinking of making files with the ".s" extension be recognized, then use the Linux style shebang at the top of the file to dictate which syntax to highlight.


Top
 Profile  
 
PostPosted: Tue Sep 01, 2015 4:36 am 
Offline

Joined: Mon Aug 31, 2015 8:19 am
Posts: 3
great job!


Top
 Profile  
 
PostPosted: Tue Sep 01, 2015 5:05 am 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 3141
Location: Tampere, Finland
Debugger support would be cool, but how were you planning to do it?

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi


Top
 Profile  
 
PostPosted: Tue Sep 01, 2015 4:22 pm 
Offline

Joined: Wed Mar 31, 2010 12:40 pm
Posts: 207
chenyu wrote:
great job!


Thanks :)

thefox wrote:
Debugger support would be cool, but how were you planning to do it?


That all depends. If any existing compilers generate a line-to-code mapping file, then I can use one of those, if not then I'll have to make an assembler that can. That aside, I would probably do what is done currently for Android/iOS debugging; build the code and run it in an emulator that communicates with Visual Studio.


Top
 Profile  
 
PostPosted: Tue Sep 01, 2015 7:20 pm 
Offline
User avatar

Joined: Sat Jan 03, 2015 5:58 pm
Posts: 370
Location: ...
Awfully ambitious, but hey, I'd use this. Been looking for a change after over a year of using ConTEXT.


Top
 Profile  
 
PostPosted: Tue Sep 01, 2015 7:53 pm 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 7842
Location: Seattle
beannaich wrote:
If any existing compilers generate a line-to-code mapping file, then I can use one of those, if not then I'll have to make an assembler that can.
The cc65 suite can, if asked to (--dbgfile). It seems to be a little cryptic, though.


Top
 Profile  
 
PostPosted: Tue Sep 01, 2015 9:23 pm 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 3141
Location: Tampere, Finland
lidnariq wrote:
beannaich wrote:
If any existing compilers generate a line-to-code mapping file, then I can use one of those, if not then I'll have to make an assembler that can.
The cc65 suite can, if asked to (--dbgfile). It seems to be a little cryptic, though.

cc65 provides a C module that can be used to parse the generated debug information: https://github.com/cc65/cc65/tree/master/src/dbginfo

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi


Top
 Profile  
 
PostPosted: Wed Sep 02, 2015 4:17 pm 
Offline

Joined: Wed Mar 31, 2010 12:40 pm
Posts: 207
nicklausw wrote:
Awfully ambitious, but hey, I'd use this. Been looking for a change after over a year of using ConTEXT.


I was wondering how much use something like this would see if completed, so this is encouraging.

thefox wrote:
lidnariq wrote:
beannaich wrote:
If any existing compilers generate a line-to-code mapping file, then I can use one of those, if not then I'll have to make an assembler that can.
The cc65 suite can, if asked to (--dbgfile). It seems to be a little cryptic, though.

cc65 provides a C module that can be used to parse the generated debug information: https://github.com/cc65/cc65/tree/master/src/dbginfo


Thanks guys, I'll take a look when I get more free time. Hopefully this weekend. I'm thinking of throwing this project on Github and letting everyone contribute :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 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:  
Powered by phpBB® Forum Software © phpBB Group