Compare commits

...

8 Commits
0.4 ... master

Author SHA1 Message Date
nanochess
2299c06a0c Added link to Atari 2600 book 2023-06-07 21:13:55 -06:00
Oscar Toledo
277ff4f300
Merge pull request #5 from LLeny/ca65
65c02, ca65
2023-05-26 09:39:33 -06:00
LLeny
1aeeda4893 Fix README 2023-05-26 21:41:40 +09:00
LLeny
2a2554e7b2 65c02, ca65 2023-05-26 14:11:36 +09:00
nanochess
31d378e5f2 Added -p5 option for 8086+nasm 2021-04-12 21:07:24 -05:00
nanochess
f1fa133e06 Solved bug in comment location for TMS9900 mode 2018-04-18 12:36:47 -05:00
nanochess
e410f6f1cd Added support for TMS9900+xas99 (TI-99/4A) 2018-04-18 12:04:51 -05:00
nanochess
f6e0da6ba0 Clarified warning. 2018-04-17 20:16:13 -05:00
3 changed files with 1086 additions and 541 deletions

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
# Ultra simple makefile for pretty6502
# by Oscar Toledo G.
# https://github.com/nanochess/pretty6502
#
build:
@cc pretty6502.c -o pretty6502
clean:
@rm pretty6502
love:
@echo "...not war"

39
README
View File

@ -1,13 +1,14 @@
Pretty6502 v0.4 by Oscar Toledo G. http://nanochess.org/
Pretty6502 v0.7 by Oscar Toledo G. http://nanochess.org/
Executables provided for Mac OS X and Windows.
Usage:
pretty6502 [args] input.asm output.asm
DON'T USE SAME OUTPUT FILE AS INPUT, though it's possible,
you can DAMAGE YOUR SOURCE if Pretty6502 has undiscovered
bugs.
It's recommended to not use same output file as input,
even if possible because there is a chance (0.0000001%)
that you can DAMAGE YOUR SOURCE if Pretty6502 has
undiscovered bugs.
Arguments:
-s0 Code in four columns (default)
@ -19,6 +20,9 @@ Arguments:
-p1 Processor 6502 + DASM syntax (default)
-p2 Processor Z80 + tniASM syntax
-p3 Processor CP1610 + as1600 syntax (Intellivision)
-p4 Processor TMS9900 + xas99 syntax (TI-99/4A)
-p5 Processor 8086 + nasm syntax
-p6 Processor 65c02 + ca65 syntax
-m8 Start of mnemonic column (default)
-o16 Start of operand column (default)
@ -46,3 +50,30 @@ before mnemonic.
Accepts any assembler file where ; means comment
[label] mnemonic [operand] ; comment
>> ATTENTION <<
Do you would like to learn to program 6502 assembler and
creating Atari 2600 games? It is possible with my newest book
Programming Games for Atari 2600.
Now available from Lulu:
Paperback
https://www.lulu.com/shop/oscar-toledo-gutierrez/programming-games-for-atari-2600/paperback/product-pq9dg4.html
Hardcover
https://www.lulu.com/shop/oscar-toledo-gutierrez/programming-games-for-atari-2600/hardcover/product-n8z9r6.html
eBook
https://nanochess.org/store.html
These are some of the example programs documented profusely
in the book:
* Game of Ball.
* Wall Breaker.
* Invaders.
* The Lost Kingdom.
* Diamond Craze.

File diff suppressed because it is too large Load Diff