Search found 24 matches

by paulrsm
Fri Dec 11, 2009 6:08 am
Forum: Programming
Topic: desirable assembler features
Replies: 46
Views: 28184

I wrote SALP (Structured Assembly Language Preprocessor) for 6502 code. This let me leverage an existing assembler rather than writing my own. SALP was written in SALP; the first version was tranformed by hand and after that it was used to develop itself. The commands are:

*! IF <condition ...
by paulrsm
Tue Aug 25, 2009 3:41 am
Forum: Programming
Topic: Implementing Lisp for 6502/65C816
Replies: 27
Views: 17709

You can also look for Oric Lisp. Oric was a European 6502 computer.
by paulrsm
Tue Aug 25, 2009 3:39 am
Forum: EhBASIC
Topic: Floating point trouble
Replies: 13
Views: 12958

BCD does not eliminate floating point errors; it merely changes them to different ones. Both binary and BCD can represent 1/2 exactly, but neither can represent 1/3 exactly.
by paulrsm
Sat Sep 23, 2006 11:29 pm
Forum: General Discussions
Topic: Apple BASIC
Replies: 12
Views: 20061

I have an Apple II Integer BASIC disassembly at
http://linux.cis.monroeccc.edu/~paulrsm/6502/

One of the few bugs is the "TOO LONG" error message
instead of the "TOO MANY PAREN" error message.
This is caused by the byte at $E478 (or close) pointing
to the wrong error message.

The code at $E710 is ...
by paulrsm
Mon Sep 20, 2004 9:32 pm
Forum: Programming
Topic: Is (WDC)Western Design Center 6502 the sam Motorola 6502?
Replies: 5
Views: 4729

Excerpt from DTACK GROUNDED #27, January 1984

Chuck Peddle headed the CPU design team which designed the 6800 at Motorola. Motorola had DIFFERENT design teams working on the various peripheral chips such as the 6820, 6850 etc. After the 6800 design was completed and checked out, Motorola did NOT ...
by paulrsm
Thu Sep 16, 2004 11:20 pm
Forum: Hardware
Topic: What type of Removeable Flash Media to use?
Replies: 9
Views: 3860

A CF hard drive for the Apple II can be found at:

http://dreher.net/?s=projects/CFforAppl ... I/main.php

--
Paul
by paulrsm
Fri Aug 13, 2004 11:32 pm
Forum: Programming
Topic: How to convert an APPLE's floating-point number to ASCII?
Replies: 8
Views: 5656

One should first write the routines for floating point add, subtract,multiply and divide and then write input output routines as above. This has obviously already been done for APPLE and COMMODORE with their BASIC systems. But probably not for the IEEE floating point format that nowadays is ...
by paulrsm
Tue Jul 20, 2004 8:12 pm
Forum: Programming
Topic: Simple assembler replacement
Replies: 4
Views: 3690

"Machine Language for Beginners" can be found online at

http://www.atariarchives.org/

You may be able to copy and paste the BASIC code from that site.
by paulrsm
Tue Jul 13, 2004 3:56 am
Forum: Programming
Topic: I can't understand FLOATING POINT REPRESENTATION
Replies: 17
Views: 12656

For another version of the Woz FP routines with another explanation of the format, please see:

http://members.buckeye-express.com/mark ... FLOAT4.TXT

--
Paul
Monroe, Michigan USA
by paulrsm
Thu Jul 24, 2003 8:04 pm
Forum: Programming
Topic: Mike Kowalski's 6502 Assembler/Dissembler program,
Replies: 4
Views: 4265

If you want to send me your 8KB binary file I can try my hand at disassembling it.
by paulrsm
Sun Dec 23, 2001 10:22 am
Forum: DelphiForums: 6502
Topic: [141] A good assembler needed
Replies: 2
Views: 10739

[141.3] A good assembler needed

The Telemark Cross assembler (TASM) will output both Intel and Motorola hex formats.

See www.halcyon.com/squakvly/

Paul R. Santa-Maria
Monroe, Michigan USA
by paulrsm
Fri Oct 26, 2001 12:47 am
Forum: DelphiForums: 6502
Topic: [106] 6502 Macroassembler & Simulator
Replies: 15
Views: 18935

[106.14] 6502 Macroassembler & Simulator

http://members.nbci.com/mkowalski.1/6502.html is now a dead page.

Paul R. Santa-Maria
Monroe, Michigan USA
by paulrsm
Mon Aug 27, 2001 11:44 pm
Forum: DelphiForums: 6502
Topic: [124] Looking for good disassembler for 65C02
Replies: 5
Views: 8514

[124.4] Looking for good disassembler for 65C02

My disassembler follows the code. It tracks the destination address of all jumps, JSRs, and branches. I do have to give it one valid code address. With 6502 ROMs I use the three vectors at the top of memory (RESET, IRQ, NMI). After the first pass, I look at the output for jump tables and add those ...
by paulrsm
Mon Aug 27, 2001 11:23 pm
Forum: DelphiForums: 6502
Topic: [124] Looking for good disassembler for 65C02
Replies: 5
Views: 8514

[124.3] Looking for good disassembler for 65C02

I've written a 65C02 disassembler in Turbo Pascal. It is a personal tool, not a commercial product, and it helps to have Turbo Pascal 7 for the multiple text windows (one for the program, one for the disassembly script, and one for the disassembler output). E-mail me for the program (binary and code ...
by paulrsm
Tue Jun 19, 2001 4:45 pm
Forum: DelphiForums: 6502
Topic: [119] Vintage Hardware
Replies: 4
Views: 3352

[119.5] Vintage Hardware

The early 6502s [pre June 1976 if I remember correctly] did not have the ROR instruction.

All 6502s up to the 65C02 had a bug with the JMP ($xxFF) instruction. The second byte [high byte] of the address was fetched from the same page [$xx00] instead of the next page [$xx00+$0100] of memory.

Paul R ...