Skip to main content

Questions tagged [6502]

For 6502 series of processors, including hardware and assembly language questions. Use with [hardware] for the hardware interface in particular.

2 votes
1 answer
444 views

I'm trying to write an OS for the W65C02 CPU but i'm stuck because I have no idea on how to implement concurrency on such old CPU.
Elia C.'s user avatar
  • 29
5 votes
1 answer
234 views

Could you please help me to address MEGA65 memory above 64 KB using VBCC compiler? Below example of changing color attribute of a character works just for memory below 16-bit address space: #define ...
KmsDev's user avatar
  • 81
6 votes
0 answers
223 views

An annoying hardware quirk of the 6502 is that while the READY line can be used to extend read operations, it cannot be used likewise for writes. As a result, systems which need to accommodate DMA ...
supercat's user avatar
  • 41.2k
8 votes
1 answer
551 views

In 6502 assembly programming, there's a common trick (usually called the RTS trick) for performing indirect jumps by pushing the target address minus one on the stack and executing a RTS instruction. ...
cyco130's user avatar
  • 331
2 votes
4 answers
418 views

I would like to write some interesting programs in assembler but I don't know where to start and how to do it. I would like a guide in simple language for dummies. Does anyone have a list of such ...
David Johnson's user avatar
2 votes
0 answers
173 views

The Atari OS, and I suspect other "major" programs from that era, was written using the Microtec cross-assembler. I have found manuals for the Intel version as well as their later 68k ...
Maury Markowitz's user avatar
4 votes
0 answers
335 views

The Apple 1 was designed to be able to use a 6800 as well as a 6502, with PCB circuits to add the required clock generator and jumpers to accommodate the slightly different pinout. (The design had ...
cjs's user avatar
  • 29.5k
10 votes
1 answer
2k views

I'm refurbing an old 1980 UK101 Computer. It has a monitor (CEGMON) programmed into a 2K EEPROM, which is unmarked. However looking at the wiring, and the other ROMS in the machine, it's a 2716. I ...
Greycon's user avatar
  • 201
8 votes
1 answer
1k views

I'm wondering if anyone has ever come across a cross-assembler that takes 6502 code, in machine or assembler form, and converts it to use the new instructions available in the 65C02, or even the ...
Maury Markowitz's user avatar
11 votes
3 answers
2k views

I disassembled Burger Time (Data East set 1) arcade game from MAME as I always do when I want to reverse engineer a game. This is a 6502 processor, which I know pretty well as I coded & reversed a ...
Jean-François Fabre's user avatar
6 votes
0 answers
561 views

I'm analyzing the disassembled code of Super Mario Bros. (NES) and came across some logic related to hidden 1UP mushrooms. While debugging the game alongside the code, I noticed something unexpected: ...
da_miao_zi's user avatar
7 votes
3 answers
1k views

I am hacking around with the Oric Atmos computer, and it has an interesting video display scheme, involving attribute values which change the behaviour (ink/paper colours, blinking, invert) according ...
ibisum's user avatar
  • 209
2 votes
1 answer
422 views

I am trying to remember that removing all graphic elements, but not sprites. The aim is to disable DMA and ease to open side borders etc... As I remember it was an option at $D011, but it seems it ...
Digerkam's user avatar
  • 379
5 votes
2 answers
910 views

I have a hobby project requiring adding some code to Super Mario Bros NES file. Specifically I want to display custom text (at least 22 letters and numbers, but more likely above 100 characters) after ...
PanJanek's user avatar
  • 181
5 votes
1 answer
411 views

I'm running the example code from Assembly Lines chapter 5 programs 2A and 2B which print the entire character map for the Apple II and then are supposed to break, however my code is looping ...
Eric Noble's user avatar

15 30 50 per page
1
2 3 4 5
14