Nп/п : 66 из 100
 От   : I am Rob                            2:5075/128        26 авг 23 20:55:10
 К    : Kent Dickey                                           26 авг 23 06:56:02
 Тема : Re: SmartPort Query
----------------------------------------------------------------------------------
                                                                                 
@MSGID:
<a07798c6-9dcb-451d-b6bd-3467431f5e0an@googlegroups.com> fb8712c2
@REPLY: 1@dont-email.me> 56aa66d2
@REPLYADDR I am Rob <gids.rs@sasktel.net>
@REPLYTO 2:5075/128 I am Rob
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<f90f1538-dd1f-4bfe-a035-d71f21fc971an@googlegroups.com> <3d788c73-abbf-40a4-930d-1a2e0830ef38n@googlegroups.com>
1@dont-email.me> <57208c2d-251c-439a-bede-e8d2ef6c0d45n@googlegroups.com>
1@dont-email.me>
@RFC-Message-ID:
<a07798c6-9dcb-451d-b6bd-3467431f5e0an@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
> It`s confusing if you post multiple messages. 

I apologize.  There is no "edit" button.  I am using google groups.


> Calling $C70D is the Smartport firmware entry point for a device in slot 
> 7 which supports Smartport calls. If you put a RamFAST SCSI in slot 7, 
> then that entry point will work and it will lost all the mountable 
> volumes on that SCSI card. 

 Don`t have a monitor for my real IIGS at the moment, so makes it
hard to cross-check the firmware routines with the emulators. So am using
Sweet16, GSPlus and Kegs.
 I am assuming that the SmartPort software Protocol is part of ROM.
We can ignore the external hardware Smartport connections. Bit even
without any cards in any slots, the SmartPort should still be available to
be called, correct? This should return a "No devices available" or an
error of some sort.


> Let`s back up. What card do you have in slot 7? 

 Right now, just using the emulators mentioned above. But if my
reall IIGS was up and running, it would have either the CFFA v2.0 or
CFFA3000 in slot #7.



> Emulators simply support this type of entry point to provide disk images 
> in an easy way that ProDOS fully understands. Unless you have a 
> particular interest in emulators and how they work, you can ignore 
> emulators. 

 No. I am more trying to understand the software from the Open
Apple magazine that accesses the SmartPort and displays each volumes
information.


> You keep mentioning COP $82, but that`s something only you are seeing, 
> so you`ll have to be more specific. COP $82 has nothing to do with 
> Smartport in general, nothing to do with the KEGS emulator in specific, 
> and I suspect it isn`t really there. 

 Again, I am using emulators, but the ROM`s (01 and 03) should have
been ripped from a real IIGS. If you follow the code starting at $C70D
in Kegs, just before the RTS there is a COP 81. This shows up in
all the emulators. I may have misinterpreted what was being pulled off
the stack and pushed back on to know where the RTS actually returns
to. But my understanding is that the return address is after the 3
bytes that follow the JSR $C70D.

 
> I`ve explained how ProDOS 2.0.1 and later automatically remap 
> devices--if a slot 7 smartport-compatible device has 7 volumes, ProDOS 
> 2.0.01 will remap devices 3-7 to appear to be in other slots, since it 
> knows which slots are really empty. But on ProDOS versions before that, 
> devices like RamFAST would peek into the $BF10-$BF2F ProDOS device table 
> and insert their extra volumes as other slots, say slot 4 or slot 1. 
> This was a bad idea since multiple cards had no good way to prevent from 
> stomping all over each other, so most cards which could do this had a 
> way to disable it (and you should disable it, and use ProDOS 2.0.1 and 
> later, ProDOS 2.0.3 was the last official release). 

 Right. I understand how Prodos works. I am trying to link how the
software from the Open Apple magazine ties into Prodos.
The software uses this calculation to find the SmartPort entry.

AD=49152+7*256   ; $C700
SM=AD+peek(AD+255)+3   ; $C7FF

SM then has a value of $C70D.

 At this point, the software is the same for both real IIGS and
emulators. I am unable though to confirm what is at $C7FF on a real IIGS. I
am assuming it is the value $0A, then when 3 is added to it, it
becomes $0D as well. This should mean that the SmartPort entry point on a
real IIGS is at $C70D, correct?

 But is $C70D only available when a SCSI/SD/CFFA card is installed?
I always thought the SmartPort was built into ROM on the IIGS. This
might be where my confusion is.

 But still. it nags me that the OpenApple software makes no
reference to calling Prodos in any way. If needed, I can post the software.
--- G2/1.0
 * Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх