Search found 79 matches
- Wed Oct 07, 2020 4:29 pm
- Forum: Programming
- Topic: Lightweight cross-platform assembler library
- Replies: 11
- Views: 4286
Re: Lightweight cross-platform assembler library
I wrote a fairly simple assembler (no macros) as part of the C02 project. Right now it reads and writes to files, but it should be simple enough to adapt it to use text and binary blobs. The files are a02.c and a02.h at https://github.com/RevCurtisP/C02.
- Wed Oct 07, 2020 2:54 pm
- Forum: Emulation and Simulation
- Topic: Kowalski Simulator Updates
- Replies: 468
- Views: 688118
Re: Kowalski Simulator Updates
It doesn'y look like this has been mentioned. Windows 10 doesn't natively support .hlp files. It would be nice to have the docs recompiled to a .chm file.
- Thu Aug 30, 2018 8:32 pm
- Forum: Emulation and Simulation
- Topic: Memory map
- Replies: 12
- Views: 4754
Re: Memory map
I like the idea of emulating VIAs, since nearly every physiical 6502 based system used some variation of them.
- Thu Aug 30, 2018 8:30 pm
- Forum: Emulation and Simulation
- Topic: Memory map
- Replies: 12
- Views: 4754
Re: Memory map
For mine, I simply have "magic" addresses. For example, I have an address that returns 0 or 1 if a key is ready, and another that returns the key value. Similarly, if I write to an address, a character appears on the display.
I would have it return 0 or 255, that way it can be tested with the BIT ...
I would have it return 0 or 255, that way it can be tested with the BIT ...
- Thu Aug 30, 2018 8:21 pm
- Forum: Programming
- Topic: how can we define different org addresses on xa65?
- Replies: 2
- Views: 3381
Re: how can we define different org addresses on xa65?
Csn you please post some example code?
- Mon Aug 27, 2018 6:46 am
- Forum: Hardware
- Topic: Datasette Questions
- Replies: 3
- Views: 3174
Re: Datasette Questions
The PCB edge connector just duplicates all the signals coming from the cable. Perhaps it was originally intended for some sort of daisy chaining.
There are hacks online to using it for duplication.
There are hacks online to using it for duplication.
- Fri Jul 20, 2018 6:58 pm
- Forum: Programming
- Topic: C02 - An 8-bit optimized C syntax compiler for the 6502
- Replies: 36
- Views: 14450
Re: C02 - An 8-bit optimized C syntax compiler for the 6502
I fixed a bug in the parsing of escape sequences in strings (dumb mistake, but took me a while to find it).
But more importantly I made two changes to expression parsing and compilation: Expressions may be used as indexes in any subscripted array references within expressions, and function calls ...
But more importantly I made two changes to expression parsing and compilation: Expressions may be used as indexes in any subscripted array references within expressions, and function calls ...
- Thu Jul 19, 2018 4:40 am
- Forum: Programming
- Topic: C02 - An 8-bit optimized C syntax compiler for the 6502
- Replies: 36
- Views: 14450
Re: C02 - An 8-bit optimized C syntax compiler for the 6502
After a few months hiatus, I've started working on C02. I fixes a bug with break & continue in do/while loops, add a tag for strings to printf() in library stdiox.
I also added a new library memio, which mimics file i/o functions, but reads and writes directly to memory, for use with machines and ...
I also added a new library memio, which mimics file i/o functions, but reads and writes directly to memory, for use with machines and ...
- Tue May 29, 2018 3:27 am
- Forum: Emulation and Simulation
- Topic: Issues with Py65 Interactive Assembler on Windows Platforms
- Replies: 7
- Views: 4395
Re: Issues with Py65 Interactive Assembler on Windows Platfo
I've been running py65mon in a command window in Windows 10 and don't recall seeing any of these problems. Which version of Python are you running?
- Sun May 06, 2018 12:04 am
- Forum: Programming
- Topic: Mini fun quiz: return a boolean in Z
- Replies: 9
- Views: 6278
Re: Mini fun quiz: return a boolean in Z
PHA/PLA don't affect the status register at all flag, so maybe something like this:
for example
Code: Select all
;code to calculate byte value
PHA
;code to set C
;code to set Z
PLACode: Select all
LDA VALUE ;Byte to Return
PLA
LDA CARRY ;Set Carry if Not Zero
CLC
ADC #255
LDA ZERO ;Set Z if Zero
PHA- Sun Apr 15, 2018 3:14 pm
- Forum: General Discussions
- Topic: game machines
- Replies: 148
- Views: 32492
Re: game machines
BTW: This may be a dumb question, but why is the video always wider than tall? For example, 320x200 seems to be common. Why not 320x320? This would be a 25KW frame-buffer which is still reasonable, and you would get square pixels that would simplify the programming (moving up or down one pixel ...
- Mon Apr 02, 2018 1:14 pm
- Forum: Newbies
- Topic: Declaring array in assembly 6502 arquitecture
- Replies: 13
- Views: 5946
Re: Declaring array in assembly 6502 arquitecture
It always helps if you post all your code, as well.
- Mon Apr 02, 2018 12:56 pm
- Forum: Programming
- Topic: Atari Flashback portable BASIC Compiler
- Replies: 2
- Views: 2987
Re: Atari Flashback portable BASIC Compiler
This looks suspiciously similar to Batari Basic.
- Thu Mar 22, 2018 7:48 pm
- Forum: Nostalgia
- Topic: "The Mill" - a 6809 coprocessor for Apple II, circa 1980
- Replies: 5
- Views: 4129
Re: "The Mill" - a 6809 coprocessor for Apple II, circa 1980
Put that in a Mimic System's Spartan and you'll have three computers in one.
- Mon Mar 19, 2018 7:59 pm
- Forum: Programming
- Topic: C02 - An 8-bit optimized C syntax compiler for the 6502
- Replies: 36
- Views: 14450
Re: C02 - An 8-bit optimized C syntax compiler for the 6502
Is this one correct?
do (c = getchr(); putchr(c); while (c<>13)
It looks to the untrained eye like there's an unmatched parenthesis following `do` This should have been
do {c = getchr(); putchr(c);} while (c<>13) I'll fix it.
I see that:
i:+
..is a condition for "i is positive". It might be ...
do (c = getchr(); putchr(c); while (c<>13)
It looks to the untrained eye like there's an unmatched parenthesis following `do` This should have been
do {c = getchr(); putchr(c);} while (c<>13) I'll fix it.
I see that:
i:+
..is a condition for "i is positive". It might be ...