Page 1 of 1

I2c KERNAL routines

Posted: Sun Jul 25, 2021 6:49 am
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.

 


I2c KERNAL routines

Posted: Mon Aug 23, 2021 3:33 pm
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.


I2c KERNAL routines

Posted: Mon Aug 23, 2021 3:47 pm
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. 


I2c KERNAL routines

Posted: Mon Aug 23, 2021 3:48 pm
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! ?


I2c KERNAL routines

Posted: Mon Aug 23, 2021 3:52 pm
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.