Jump to content

bged

Members
  • Content Count

    11
  • Joined

  • Last visited

Posts posted by bged


  1. I wrote a test app (attached) to check interference between IRQs and DLIs, and indeed there is exactly one cycle at which a IRQ will block an NMI.

    Hi! I'm pleased to say that I've recreated this situation on the visual6502 transistor-level simulator. We've recently made a few changes to make it possible to experiment with exact timings and instruction streams. The URL you need is something like this.

     

    It's not too hard to modify these URLs for experimentation, although I know they look ugly. We've got some online docs for how they work. I plan to write this NMI/IRQ collision up on our wiki in our collection of curiosities. (The crucial point about visual6502 being that we can see what the causes are because we have all the transistors: this might be helpful to emulator writers and to other people interested in cycle accurate behaviour. On the other hand, we are modelling a specific NMOS 6502, and we only simulate to switch level, so for example unassigned opcode 8B doesn't misbehave in the expected way - it misbehaves in its own way, but we know why.)

     

    Thanks to everyone for the various useful hints on this thread, and to Avery particularly for the Altirra documentation!

     

    Cheers

    Ed


  2. Updated to Firefox 3.6.10, still nothing loads. The Firefox error console says "console is not defined" in line 118 of the javascript.

     

    Michael

    Oops - fixed that! (I'm acting as a co-maintainer, recently joined the team and not taking credit for the past year of work...)

     

    It would be nice to verify/improve this diagram now that the simulation is available

    Agreed! The overall aim of the project is as an educational/investigative resource. Now we have all the activity on the busses and latches, we have the info we need to annotate such a diagram. In due course we hope to construct an accurate schematic, and then we can verify or fix the block diagram. With luck, we'll get lots of help from interested people - there will be a forum, and so on.

     

    Cheers

    Ed


  3. I think it's fantastic! Having deprocessed and photographed the CPU, they captured the layout, computed the netlist, and can simulate phase-by-phase. Including undocumented behaviour and some surprises. The test was to view Atari game graphics - see the big pdf file!

     

    Being a chip person, I really like exploring the layout and seeing how it ticks.

     

    Here's a screenshot:

    visual6502.gif

    • Like 1

  4. Anyone seen this? I'd love to get my hands on a real simulation model of the 6502.

    Thanks for the info, I want one of these too! (and also models for Pokey, Antic, Gtia, of course :-)

     

    so long,

     

    Hias

    That looks fantastic - a visual simulation of 6502 derived directly from photographing deprocessed chips. There's something like a bit like it for the 4004 by Lajos Kintli (Windows executable). See this screenshot:

    4004.th.png

×
×
  • Create New...