Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore 8-bit » C128 Banking via Kernal
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
C128 Banking via Kernal [message #274604] Mon, 01 December 2014 08:25 Go to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
Hi! I'm wondering: how do I handle RAM banking using the C128's kernal? I can do it directly (via the MMU) but not through the kernal. It's probably easier and faster through the MMU, though. Anyway, I'm just wondering.
Re: C128 Banking via Kernal [message #274731 is a reply to message #274604] Tue, 02 December 2014 16:32 Go to previous messageGo to next message
rusure is currently offline  rusure
Messages: 1030
Registered: March 2012
Karma: 0
Senior Member
On Monday, December 1, 2014 6:25:36 AM UTC-7, Harry Potter wrote:
> Hi! I'm wondering: how do I handle RAM banking using the C128's kernal? I can do it directly (via the MMU) but not through the kernal. It's probably easier and faster through the MMU, though. Anyway, I'm just wondering.

The C128 Programmers Reference Guide found here :

http://www.devili.iki.fi/pub/Commodore/docs/books/
storage
has a complete list of C128 kernal calls beginning on page 442.

Included are some utilities for data storage and retrieval from banks differing from that of an executing program. In addition, there are routines for JMPing and JSRing to code in banks differing from that of the calling programm. I don't think kernal routine usage would slow down programs significantly. However, usage of memory configurations other than C128 bank configurations require the use of the MMU directly. I had to use a memory configuration utility from COMPUTE GAZETTE when I stored a T!O!N of printer graphics data in bank 1 and used IO devices (accessible in bank 15?). I don't think this could have been done with the C128 kernal.
Re: C128 Banking via Kernal [message #274737 is a reply to message #274731] Tue, 02 December 2014 19:20 Go to previous message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Tuesday, December 2, 2014 4:32:35 PM UTC-5, rusure wrote:
> The C128 Programmers Reference Guide found here :
>
> http://www.devili.iki.fi/pub/Commodore/docs/books/
> storage
> has a complete list of C128 kernal calls beginning on page 442.
>
Thank you.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Some (maybe?) useful CBM batch files for Win2k+
Next Topic: Problems porting CBMSimpleIO to MemBank128
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Mar 29 09:47:26 EDT 2024

Total time taken to generate the page: 0.05941 seconds