Slor Posted February 17, 2006 Share Posted February 17, 2006 Eric has released version 2.0 of Dis6502 at http://sourceforge.net/project/showfiles.php?group_id=145747 New features: - DIS6502.exe can be run with a filename as a parameter. The type of file is guessed from its size and its header. - Dis6502 now supports read and write labels for memory locations - Dis6502 is now compatible with wine under Linux. You have to download the TrueType font file Atarcc__.ttf which contains a font called "Atari Classic Chunky". Copy this file in .wine/drive_c/windows/font. Download at http://www2.bitstream.net/~marksim/atarimac/acttfpc.zip Fixed bugs: - Merging contiguous segments could crash the application - After disassembling, the disassembly window is synchronized with the bytes selected in the dump window. - The small assembler does not accept illegal opcodes anymore to avoid generating $1A for NOP mnemonic - Opcode $54 in Display List is now correct in disassembly listing. - Dis6502.ini is now read from the installation directory, not from the current directory. Quote Link to comment Share on other sites More sharing options...
classics Posted February 17, 2006 Share Posted February 17, 2006 Huge DIS6502 fan. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted February 17, 2006 Share Posted February 17, 2006 it tells me that a dll is missing when starting under XP? Quote Link to comment Share on other sites More sharing options...
Slor Posted February 18, 2006 Author Share Posted February 18, 2006 it tells me that a dll is missing when starting under XP? 1020074[/snapback] Which DLL? I don't see that on my system, but perhaps it's looking for a DLL that a non-developer would not necessarily have. thanks James Quote Link to comment Share on other sites More sharing options...
Slor Posted February 19, 2006 Author Share Posted February 19, 2006 it tells me that a dll is missing when starting under XP? 1020074[/snapback] Which DLL? I don't see that on my system, but perhaps it's looking for a DLL that a non-developer would not necessarily have. thanks James 1020458[/snapback] Eric found the issue (debug build vs release). He will soon release 2.1 and take care of this at the same time. James Quote Link to comment Share on other sites More sharing options...
Slor Posted February 19, 2006 Author Share Posted February 19, 2006 Eric found the issue (debug build vs release). He will soon release 2.1 and take care of this at the same time. 1020581[/snapback] Version 2.1 has been released: - Build issue corrected. - Support for disassembly of CAS files. - Drag and drop from Windows Explorer James Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted February 19, 2006 Share Posted February 19, 2006 Eric found the issue (debug build vs release). He will soon release 2.1 and take care of this at the same time. 1020581[/snapback] Version 2.1 has been released: - Build issue corrected. - Support for disassembly of CAS files. - Drag and drop from Windows Explorer James 1020752[/snapback] Version 2.1 works great! I do have one question/request, though: Last night I used the VCS.H file that comes with DASM to create a 2600.EQU file for DIS6502, so I can disassemble Atari 2600 ROM images. It works great (you have to load the ROM as a raw file, then select the starting address), but I ran into an issue with the TIA addresses. Basically, the TIA read addresses-- which are used for collision detection and such-- start at the same addresses as the TIA write addresses, so I tried to define those addresses twice (once for writing, and again for reading). Unfortunately, that didn't work, DIS6502 just ignored all of the labels from the first duplicate onward. Is it possible, or could a feature be added, to define two labels that point to the same address? I realize this will present issues to the disassembler, since it won't know which label to use. But maybe if there was a way to let the user select which equate to use for a given line of code, or some way to tell DIS6502 to use equate1 for loads and equate2 for stores? I'd be a bit surprised if something like this hasn't been discussed before, since surely it's not that uncommon to reuse a (RAM) memory location for two or more things in the same program? Of course, there are other possible issues with 2600 disassemblies, such as the fact that the TIA and RIOT addresses get mirrored all over the place, and some games may use the mirrors; and then there are the bankswitching "hotspots," which vary depending on the bankswitching scheme. Anyway, I'm attaching my 2600.EQU file, with the "TIA READ ADDRESSES" remarked out for the time being. Michael Rideout 2600.zip Quote Link to comment Share on other sites More sharing options...
ebiguy Posted February 20, 2006 Share Posted February 20, 2006 (edited) Hi Michael Version 2.1 works great! I do have one question/request, though: Thank you ! Anyway, I'm attaching my 2600.EQU file, with the "TIA READ ADDRESSES" remarked out for the time being. Michael Rideout You can use DIS6502 with 2600 binaries. The new versions (v2.0 and v2.1) support separate read and write addresses in the system EQU file. Use '<' and '>' instead of '='. Here is an example: Instead of these 2 lines: VBLANK = $01 CXM1P = $01 Use '<' (for read) and '>' for write: VBLANK > $01 CXM1P < $01 But these definitions only work with the system equate file. I mean, you have to backup your atari.equ and rename your 2600.equ to atari.equ. One last point, DIS6502 does not support labels with address 0. Even if you define them, DIS6502 won't use them. Here is your 2600.equ modified. Eric. Author of DIS6502 and MakeMenu 2600.zip Edited February 20, 2006 by ebiguy Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted February 20, 2006 Share Posted February 20, 2006 You can use DIS6502 with 2600 binaries. The new versions (v2.0 and v2.1) support separate read and write addresses in the system EQU file. Use '<' and '>' instead of '='. Here is an example: Instead of these 2 lines: VBLANK = $01 CXM1P = $01 Use '<' (for read) and '>' for write: VBLANK > $01 CXM1P < $01 But these definitions only work with the system equate file. I mean, you have to backup your atari.equ and rename your 2600.equ to atari.equ. One last point, DIS6502 does not support labels with address 0. Even if you define them, DIS6502 won't use them. Here is your 2600.equ modified. Eric. Author of DIS6502 and MakeMenu 1021184[/snapback] That's great! Thank you! Too bad about $00 though. Michael Rideout Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.