You are not logged in -
nap
CSDb User Forums
Forums
>
C64 Coding
>
Tool for indentation of 6502/6510 code
2010-03-04
09:48
Frantic
Registered: Mar 2003
Posts: 1648
Tool for indentation of 6502/6510 code
Hello!
I was thinking about smashing together a small perl script or something like that for automatic indentation of 6502/6510 asm code. I was thinking about having parameters such as tabsize to use (default 4 spaces), number of tabs to use (default 2 or 3 or so), and optional conversion of tab characters to spaces instead. That would be useful for me (and perhaps others) for pre-preparation of code to be put up at codebase64, since tabs are translated to something like 6 spaces or so, and people often mix tab chars and spaces, which produces quite messy results when posting the code on codebase.
But... Before doing this, I though I should just check if someone already wrote such a tool. No need to reinvent the...
//FTC
... 10 posts hidden. Click
here
to view all posts....
2010-03-06
09:47
Frantic
Registered: Mar 2003
Posts: 1648
Okay.. I wrote a relatively simple script for code indentation now. Among other things, it can be used with tools such as petcom (by Craig Bruce) to convert turbo assembler sources to indented ascii sources for use with cross assemblers or for display on codebase. I wrote some info on source conversion on the following Codebase page, and you'll find the indentation script there too if you want it:
http://codebase64.org/doku.php?id=source_conversion
Please take care when using the indentation script (do not overwrite your original source files) since I cannot guarantee that it doesn't fuck your sources up, slightly, or in worst case even a whole lot. :)
Please also give me bug reports...
Previous
-
1
| 2 - Next
Refresh
Subscribe to this thread:
You need to be logged in to post in the forum.
Search the forum:
Search
All forums
C64 Coding
C64 Composing
C64 Pixeling
C64 Productions
CSDb Bug Reports
CSDb Development
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
Messages to moderators
Requests
for
in
Writer & text
Text
Writer
All times are CET.
Search CSDb
All
Releases
Groups
Sceners
Events
BBS
SIDs
-------
Forum
Comments
Advanced
Users Online
rexbeng
celticdesign/G★P/M..
kbs/Pht/Lxt
Dave/SIDNIFY
Mythus/Delysid
Zoolon/Fairlight
Da Snake
Guests online: 156
Top Demos
1
Next Level
(9.7)
2
13:37
(9.7)
3
Mojo
(9.7)
4
Coma Light 13
(9.6)
5
Edge of Disgrace
(9.6)
6
What Is The Matrix 2
(9.6)
7
The Demo Coder
(9.6)
8
Uncensored
(9.6)
9
Comaland 100%
(9.6)
10
Wonderland XIV
(9.6)
Top onefile Demos
1
No Listen
(9.6)
2
Layers
(9.6)
3
Cubic Dream
(9.6)
4
Party Elk 2
(9.6)
5
Copper Booze
(9.6)
6
Dawnfall V1.1
(9.5)
7
Rainbow Connection
(9.5)
8
Onscreen 5k
(9.5)
9
Morph
(9.5)
10
Libertongo
(9.5)
Top Groups
1
Performers
(9.3)
2
Booze Design
(9.3)
3
Oxyron
(9.3)
4
Censor Design
(9.3)
5
Triad
(9.3)
Top NTSC-Fixers
1
Pudwerx
(10)
2
Booze
(9.7)
3
Stormbringer
(9.7)
4
Fungus
(9.6)
5
Grim Reaper
(9.3)
Home
-
Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.033 sec.