home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   CBM      Commodore Computer Conference      4,328 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,371 of 4,328   
   rusure to Badco   
   Re: c128 bank1 ram with Kernel   
   10 Dec 15 15:54:05   
   
   On Thursday, December 10, 2015 at 12:49:30 PM UTC-7, Badco wrote:   
   > I'm trying to play around with the JRSFAR routines on the 128, I've coded   
   for the 128 many times over the years, but largely kept my work to bank0.   
   >    
   > So, am trying to place just a little print routine in bank1,   
   >    
   > lda #$40   
   > jsr $ffd2   
   > rts   
   >    
   > THe logic to call it seems simple enough in memory in bank 15, set the bank   
   I want to point to in $02, the location of the routine in $03,$04 and then   
   call $02CD.   
   >    
   > The problem I am having is I don't see any of the defacto 15 Banks in which   
   the KERNEL rom is mapped in, and bank 1 is the memory... so cutin the call to   
   FFD2 isn't going to do anything... or at least not the right thing since the   
   Kernel isn't there...    
   Is this correct? Is there truly none of the default 15 banks that have Ram1   
   and Kernel mapped in at the same time?   
      
   I once needed to print a L!A!R!G!E amount a printer graphics data stored in   
   BANK 1.  The program ran in BANK 15.  I could have used the KERNAL utility for   
   fetching BANK 1 data but I chose to fuss with the MMU.  I used a program to   
   select an MMU value    
   published in the GAZETTE section of a 1991 COMPUTE! magazine.  Find   
   instructions for using the KERNAL routines for fetching data stored in other   
   BANKs in the C128 PROGRAMMER's REFERENCE GUIDE.  JSFAR instructions are also   
   there.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca