Search found 55 matches

by Badger
Sun Feb 23, 2020 11:53 am
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

AND ITS SOLVED!!!!!! :D Its always something silly. The terminal client (RealTerm) I was using to send over wifi was set to telnet mode which split bytes less than #10 into 2 bytes so a #0a would be sent as #0 and then #A. Setting this ro RAW mode solved this. So now the wifi transfer of a hires pic...
by Badger
Sat Feb 22, 2020 9:14 pm
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

Another quick update. I have finally managed to get reliable transfers from PC to Oric (although more on this below). Its all a matter of timings and how many bytes can reliably be transferred in one block (turns out 5 is a good number but will probably use 4 for multiplication reasons). Text transf...
by Badger
Fri Feb 21, 2020 10:34 pm
Forum: General Discussion
Topic: 65C02 computer from first principles.
Replies: 5
Views: 102

Re: 65C02 computer from first principles.

This is what my breadboard 65c02 computer is based on. A most excellent instructor and his tutorials on breadboard computers are excelent, his simple processor with 2 registers and an alu is a great set of videos to watch to understand the internal workings. Also his breadboard video card is amazing...
by Badger
Thu Feb 06, 2020 9:47 pm
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

There is some code at https://github.com/BadgeOric/OricI2C. Its pretty fluid as I come across bugs and things that need adding, but it does work fdor the real time clock module. I have recieved these https://smile.amazon.co.uk/gp/product/B07M8Q38LK/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 to...
by Badger
Tue Feb 04, 2020 9:52 pm
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

I now have 2 way comms between PC and Oric with the arduino in the middle. USB I2C PC<------->Arduino<------->Oric Nothing special, type on either PC keyboard or Oric and it appears on both (terminal emulator on PC). Its useless at the moment, just another step down the line. Other than the I2C code...
by Badger
Sat Feb 01, 2020 12:01 pm
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

Files for the above post. The arduino sketch is not an accepted file format so will post the code directly. Tap file is the oric assembly and basic for the comms. // Wire Slave Receiver // by Nicholas Zambetti <http://www.zambetti.com> // Demonstrates use of the Wire library // Receives data as an I...
by Badger
Sat Feb 01, 2020 11:59 am
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

Another Update :- Due to not getting the LCD module to work yet, I decided to rest that one and move on to the next stage. Here we have an Oric communicating over I2C to an Arduino and displaying the results on the arduino serial monitor on a PC. Very simple, but works. I used an arduino mega as it ...
by Badger
Wed Jan 29, 2020 7:25 pm
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

Wouldn't pass-through RTCs like Dallas DS1216E run in our machines ? They could work in an oric, but you'd still need some code to read the time. A couple of disadvantages I can think of are :- No longer manufactured (I dont know if there is a replacement) so would rely on Ebay etc for supplies and...
by Badger
Sun Jan 26, 2020 2:57 pm
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

Can this i2c thingamagic be somewhat used to add TCP/IP/Ethernet support to the Oric? In theory yes. If there is a module I2C to Ethernet then almost certainly. If an existing module doesnt exist already then one could possiblyt be made but that is probably beyond my skills. It would be rather slow...
by Badger
Sat Jan 25, 2020 11:12 pm
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

Major success. I now have an I2C real time clock module running on actual Oric Hardware :D oricrtc2.jpg Source files can be found at https://github.com/BadgeOric/OricI2C.git with the i2ccombi file being the assembly source which contains 2 routines. At $4000 the main get data from the I2C module and...
by Badger
Tue Jan 21, 2020 10:37 pm
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

Small update. Added a file to github that will display contents of clock buffer to the status line on the left hand side.

It does not auto update , would need to be called after getting the data from the RTC.

https://github.com/BadgeOric/OricI2C.git
by Badger
Tue Jan 21, 2020 7:44 am
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

Ok first pass attempt at some code that should work on a real oric. Using a DS1307 Real Time clock module. The code is specific for that module at the moment. Since I havent had a chance to make up a cable for the printer port yet, it is untested on a real Oric but does work on my breadboard 6502. I...
by Badger
Wed Jan 15, 2020 10:38 pm
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

Re: I2C for the Oric

Thanks for the input and interest. Yes, the oric would be an I2C master, and I was trying to avoid using a microcontroller if possible as for me its just experimentation and a proof of concept. Currently I'm working on getting a DS1307 real time clock module working with some kind of analogue clock ...
by Badger
Sun Jan 12, 2020 10:02 am
Forum: Hardware hacks and extensions
Topic: I2C for the Oric
Replies: 27
Views: 1063

I2C for the Oric

Having recently completed (if it can ever be said to be completed).....I'll start again :D Having recently got a working model of a 65C02 breadboard computer (picture attached) which contains an I2C interface on Port A of the 6522 via (bottom right chip). Port B is a PS/2 keyboard. The I2c is connec...
by Badger
Thu Oct 24, 2019 6:21 am
Forum: 6502 assembly coding
Topic: XA Output
Replies: 2
Views: 1846

Re: XA Output

Perfect.

Even creates the data staements too.

Many thanks

Ian :D