| |
DubDee
Registered: Sep 2020 Posts: 6 |
Can not open Turbo Macro Pro
Well we still got problem to open this program.
https://style64.org/release/turbo-macro-pro-sep06-style
I try to LOAD"$",8,1
But I got just shredded letters all over the screen on both D64-files.
How do you open up this program on Vice or C64?
Is it working flawless for you?
Thanks
Cheers |
|
... 16 posts hidden. Click here to view all posts.... |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
Quoting tlrYes, but it was quite a hack when they reduced the multiple CPU implementation to one CPU, which they did for the 1540. Still boggles the mind that the disk drives of the time ran with twice the raw computing power of the actual computer. =D |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
the HD (dont recall the product code, the tank sized 7MB one) even has 3 boards in it - each with its own CPU :) |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Quoting KrillStill boggles the mind that the disk drives of the time ran with twice the raw computing power of the actual computer. =D
Yes, but I guess it makes sense given that the rest of the drive was very expensive. It surely reduced the development time splitting the problem in two (teams perhaps?).
I think it's possible to execute code on both CPUs of an older drive. IIRC they share a piece of the memory, e.g the block buffers, and you have a fast parallel interface so maybe realtime vector calc on a cluster of 4040's? :) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
the second board/CPU is completely transparent, you cant run code on that |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Quote: the second board/CPU is completely transparent, you cant run code on that
Are you sure? There are job codes for jump already in that implementation so it should execute code there. I seem to remember the actual formatting code is softloaded and executed, but I might be wrong.
EDIT:
******************************* Transfer format code to buffers 0,1 & 2
start controller formatting
E416 A0 00 LDY #$00
E418 B9 00 D0 LDA $D000,Y ;read format codes from ROM
E41B 99 00 11 STA $1100,Y ;transfer to RAM
E41E B9 00 D1 LDA $D100,Y ;read format codes from ROM
E421 99 00 12 STA $1200,Y ;transfer to RAM
E424 B9 00 D2 LDA $D200,Y ;read format codes from ROM
E427 99 00 13 STA $1300,Y ;transfer to RAM
E42A C8 INY ;all codes transferred ?
E42B D0 EB BNE $E418 ;no,
E42D A9 00 LDA #$00
E42F 20 92 EC JSR $EC92 ;transfer HEADER image to buffer
E432 A5 12 LDA $12 ;read current drive number
E434 09 E0 ORA #$E0
E436 8D 03 10 STA $1003 ;activate EXECUTE code in buffer (FORMAT)
E439 AD 03 10 LDA $1003 ;formatting of diskette finished ?
E43C 30 FB BMI $E439 ;no,
E43E C9 01 CMP #$01 ;disk formatted ok ?
E440 F0 07 BEQ $E449 ;yes,
E442 A9 03 LDA #$03
E444 A2 00 LDX #$00
E446 4C 1C D9 JMP $D91C ;jump to process encountered error type
E449 60 RTS
(from https://www.pagetable.com/docs/anatomy-4040.html#c9)
... so yes arbitrary code may be executed on the FDC 6504. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
that'd be news to me - the general consensus seems to be it cant be done. of course that can be wrong :) |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Quote: that'd be news to me - the general consensus seems to be it cant be done. of course that can be wrong :)
I can only note that it seems to be part of how the DOS is working itself (i.e the formatter). Assuming M-W and M-E is possible on the IEEE controller 6502, it must be possible to run code on the FDC 6504.
I the consensus disagrees, the consensus cannot run code on it, but others could possibly do. :)
I guess this could even be tested to some extent in vice.
EDIT: I was thinking where I might have read the formatting note first, and it's in Inside Commodore DOS, p425. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
so test it :) (you can use a .tap file if you want to run the test) |
| |
tlr
Registered: Sep 2003 Posts: 1790 |
Quote: so test it :) (you can use a .tap file if you want to run the test)
I might, but I can't seem to find how the switch to the 6504 context in the monitor. There seems only to be dev 8:
Anyway, there are several examples running code on the 6504 in that book on the pagetable link. Those all run it by writing in to the buffer at $1100 and m-w:ing the job code directly, no m-e. m-e seems to be in the ROM though so I'm positive it works, and was known since forever. Wasn't there disk copy protection on the PET?
This could be different for other PET drives of course, but I doubt it. Makes sense to be able to run code, if only for production test. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
VICE does "highlevel" emulate the FDC board i think, only the DOS cpu is TDE |
Previous - 1 | 2 | 3 - Next |