| |
Stirf Account closed
Registered: May 2002 Posts: 26 |
coding with C128
I have a C128 (Not not the desktop version) now and want to use it for coding, preferably using Turbo-Assembler.
How can I use to use the advantages new in Commodore computer?
Are there any specially modded assembler versions for this machine?
|
|
... 7 posts hidden. Click here to view all posts.... |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
Graham:
dont think so, the vdc rams works without that, u just have to turn on the machine.
My fastest swap routine turned everything down to minimum (0 rows/0 columns/monochrome/ slowest ram refrsh rate/etc) and it didnt even need to wait for the vdc to signal wether it had finished to read/write a byte. But this is heavily ram type dependent. After succesfully burning the VDC ram, and having it replaced the new rams did not work with the slowest refresh rate, I had to go back and use an older, slower swap routine. |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
@Oswald: i wouldnt trust that. the ram used for the vdc is standard DRAM which absolutely needs a constant refreshing to safely keep its data. to ensure the presence of a useable ram refresh you must set a screenmode and also set a refresh rate which applies to the specs of the drams. this would be 5 refresh cycles per rasterline if you use 15khz horizontal frequency. |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Speaking of memory refresh. At work I started to code my own BIOS for our hardware. When I got the memory to work and the setup a gfx mode I drew a stipple pattern into the framebuffer (which resides in the RAM). Then I removed the so-dimm module and waited 30 seconds. Reprogrammed the BIOS so that it doesn't generate a new pattern, but uses what's in memory. When I reinserted the so-dimm module all data was OK, it took about 3 minutes before the data slowly got corrupted.
Quite cool actually. So, what about those old memories in the VDC, how strong are the static charges in those and for how long can it keep it's memory without power? |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
you can test this... disable refresh cycles (best is also to disable rasterline generation, i dont know if the vdc really does 0 refresh cycles per line if its set to 0...) and wait. dont access the vdc ram during that time and make sure also the vdc doesnt do that. |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
Graham: I couldnt find on the net info about the c128's startup, but IIRC it absolutely does not touch the VDC regs before entering 64 mode. The computer starts up with the z80, checks for c= button pressed, and for a cartridge, if cart found it enters 6510 and c64 mode, and the normal 64 kernal startup initalizes the computer which does not set any vdc regs either. (all the z80 code is about 30 lines, its a very-very early startup code, I dont think it touches VDC)
Setting VDC's ram refresh rate to 0 doesnt means you disable it. Thats just the slowest rate of a few selectable time periods.
I *think* VDC resets its inner registers by itself. I had no problems swapping the rams without using vdc tasm, thats also a proof that it works.
Jackasser: my 5 cents to that story, once back in around 93 we were playing on a c64 at one of my friends. We had no cart, so had to turn on/off the machine to reset it, When we wanted to play another game, turning the machine on/off did not help, more and more bugged, but always the prvs game's screen came back after turning the machine back on :D. Finally we waited 1-2 minutes while the machine was off, to get the blue screen.
|
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
ok I was not precise enough, if c128 has an AR installed, it doesnt run the kernal init ofcourse. |
| |
Graham Account closed
Registered: Dec 2002 Posts: 990 |
maybe the vdc reset init values do some bitmap or character display on a wicked mode. anyway, it's still the best idea to set a valid screenmode and not to rely on someone else doing something that could keep the memory contents intact. |
| |
Stirf Account closed
Registered: May 2002 Posts: 26 |
I have the VDC expansion installed!
I even have the C128 mainboard 100% clean using a special PCB washer, I think I have the most clean C128 mainboard of Holland ;-)
I am now testing the method, and new possibilities.
Anyone still wanting the RAMs that a dealer still has and offered me?
They are HY53C464LS-80 RAMs I can order 4 from a Dutch dealer, which I can sent for 10,- per 2 pieces.
Where is the fast swap routine available, Oswald?
|
| |
Stirf Account closed
Registered: May 2002 Posts: 26 |
By the way, Graham, did you know the Tasm that you modded for the Eprom socket of the C128 doesn't work very good on C128 with external drive? |
| |
Stirf Account closed
Registered: May 2002 Posts: 26 |
I found this list on internet, these DRAMs should be compatible for anyone interested...
IC function:
256 kbit (64k?4) DRAM
150 ns(-15), 120 ns(-12), 100 ns(-10), 80 ns(-80)
18-pin DIP
Hitachi HM50464P-15,
Fujitsu MB81464-15,
NEC D41464C-15, D41464C-10
Texas Instruments TMS4464JL-15, TMS4464NL-15, TMS4464-10NL
Sharp LH2464-12,
Oki M41464-12, MN41464A-80
Will a C128 be damaged with no VDCram when shut on?
I wanna try one spare C128 with VDCsockets installed but I have no RAMs yet for that one.
The RAMs are quite hard to get, I heared that old VGAadapters of 80486 PC's have the RAMs we need often.
The VDCasm is quite great, I had troubles with V1.0 (C128 Hanged a lot) but V2.0 doesn't seem to have that problem.
That guy Lynchbit is quite good.
I reckon he could adapt the TurboAssembler for RetroReplay better, last post of that project was in 2002 if I'm correct.
|
Previous - 1 | 2 - Next |