I2c KERNAL routines

Chat about anything CX16 related that doesn't fit elsewhere
Post Reply
rje
Posts: 1263
Joined: Mon Apr 27, 2020 10:00 pm
Location: Dallas Area

I2c KERNAL routines

Post by rje »


I saw the two I2c KERNAL routines in the documentation last week. 

I think that would be fundamental to “solving” I/O in a generic way.

 

Roughnight
Posts: 22
Joined: Tue Mar 02, 2021 12:20 pm

I2c KERNAL routines

Post by Roughnight »


I have a completely different idea.

You could write a small program, possibly pack it into a rom bank, which enables remote development.

for example
send the program code from the PC to the X16 and read out the memory and registers as required.

TomXP411
Posts: 1760
Joined: Tue May 19, 2020 8:49 pm

I2c KERNAL routines

Post by TomXP411 »



14 minutes ago, Roughnight said:




I have a completely different idea.

You could write a small program, possibly pack it into a rom bank, which enables remote development.

for example
send the program code from the PC to the X16 and read out the memory and registers as required.



This is certainly a reasonable use of the User port. That's also one of the things I want to support with my Raspberry Pi I/O multiplexer. 

Roughnight
Posts: 22
Joined: Tue Mar 02, 2021 12:20 pm

I2c KERNAL routines

Post by Roughnight »



Just now, TomXP411 said:




This is certainly a reasonable use of the User port. That's also one of the things I want to support with my I/O multiplexer... 



Ah ok,

either way, it would be a really nice feature! ?

TomXP411
Posts: 1760
Joined: Tue May 19, 2020 8:49 pm

I2c KERNAL routines

Post by TomXP411 »



Just now, Roughnight said:




Ah ok,



either way, it would be a really nice feature! ?



It is a good idea, although I don't think we need to make it part of the kernel. Just loading it into RAM somewhere should be good enough, although you'd want to compile it to load into different areas. However, I really wish we had an additional RAM bank up in the ROM space, specifically for loading routines like this. In fact, I'm starting to wish the kernel was just a bootstrap loader, and the OS was completely RAM resident, like with CP/M... but that's another conversation entirely.

Post Reply