Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Can not open Turbo Macro Pro
2021-11-13 06:18
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....
 
2021-11-15 14:49
Krill

Registered: Apr 2002
Posts: 2980
Quoting tlr
Yes, 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
2021-11-15 14:57
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 :)
2021-11-15 15:01
tlr

Registered: Sep 2003
Posts: 1790
Quoting Krill
Still 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? :)
2021-11-15 15:19
chatGPZ

Registered: Dec 2001
Posts: 11386
the second board/CPU is completely transparent, you cant run code on that
2021-11-15 15:29
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.
2021-11-15 15:36
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 :)
2021-11-15 15:40
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.
2021-11-15 16:06
chatGPZ

Registered: Dec 2001
Posts: 11386
so test it :) (you can use a .tap file if you want to run the test)
2021-11-15 16:11
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.
2021-11-15 16:28
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
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
Flashback
morphfrog
Knut Clausen/SHAPE/F..
Alakran_64
Broti/DT/KRN
Devia/Ancients
Paulko64
Guests online: 79
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.6)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

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