Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > coding with C128
2004-11-06 14:44
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....
 
2004-11-10 10:44
Oswald

Registered: Apr 2002
Posts: 5017
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.
2004-11-10 17:49
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.
2004-11-10 18:39
JackAsser

Registered: Jun 2002
Posts: 1987
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?
2004-11-10 18:46
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.
2004-11-11 08:50
Oswald

Registered: Apr 2002
Posts: 5017
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.
2004-11-11 08:52
Oswald

Registered: Apr 2002
Posts: 5017
ok I was not precise enough, if c128 has an AR installed, it doesnt run the kernal init ofcourse.
2004-11-11 10:58
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.
2004-11-23 13:17
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?
2004-11-23 13:19
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?
2004-12-17 15:08
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Freeze/Blazon
Guests online: 61
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.057 sec.