Search found 123 matches

by 8bit-Dude
Sun Nov 15, 2020 1:20 pm
Forum: C programming
Topic: Need advice on VIA control (PORT A)
Replies: 6
Views: 511

Re: Need advice on VIA control (PORT A)

Thanks for the quick answer guyz!! After seeing Dbug's code, I had a feeling that manipulating just bits was the way forward. BTW, I got the sample code from the Oric User Manual, where they show POKING values to $300. Anyway, I will fix today and re-upload new DISC. Hopefully this will keep the VIA...
by 8bit-Dude
Sun Nov 15, 2020 9:58 am
Forum: C programming
Topic: Need advice on VIA control (PORT A)
Replies: 6
Views: 511

Need advice on VIA control (PORT A)

DBug suggested that I come here for some advice on the VIA. The Oric connects to the 8bit-Hub through the printer port. The trick consists of switching PORT A to input/output mode when receiving/sending data. The code does this 20 times per second, which gives a theoretical bandwidth of 5 KB/s (20*2...
by 8bit-Dude
Sun Nov 15, 2020 5:09 am
Forum: General Discussion
Topic: 8bit-Unity version 0.3.5
Replies: 64
Views: 2523

Re: 8bit-Unity version 0.3.5

Alright, update is ready!! I pushed Firmware 0.3 which fixes the Timeout Issue (make sure to update both Wifi and Core). I have also posted new Discs for the Demos, OS and Slicks, which fix the following issues: (1) Reduced the refresh rate of Hub to 20 FPS (giving theoretical max. of 5KB/s, e.g. 20...
by 8bit-Dude
Sat Nov 14, 2020 11:42 pm
Forum: General Discussion
Topic: 8bit-Unity version 0.3.5
Replies: 64
Views: 2523

Re: 8bit-Unity version 0.3.5

Timeout is a Hub related problem. I need to be careful in how I push this update though... If I break the COM between Wifi/Core, then the units already sent will become bricked. I am going to test extensively this morning. For the Chat issue, it is a Oric side fix (so new disk needed, to come up soo...
by 8bit-Dude
Sat Nov 14, 2020 9:43 am
Forum: General Discussion
Topic: 8bit-Unity version 0.3.5
Replies: 64
Views: 2523

Re: 8bit-Unity version 0.3.5

Quick update:
I found the reason for time-outs, the UART buffer between Wifi and Core is overflowing when too many bytes are sent at once, I should be able to figure out something quick. I *think* I also found the reason for resent CHAT messages.
by 8bit-Dude
Sat Nov 14, 2020 1:16 am
Forum: General Discussion
Topic: 8bit-Unity version 0.3.5
Replies: 64
Views: 2523

Re: 8bit-Unity version 0.3.5

Hey guys! Sorry for not participating in the discussion earlier, though it is nice to see that people are sharing feedback. The 8bit-Unity page for 8bit-OS has been updated with direct download for Lynx/Oric, so you can test the shoutbox. I have discussed with DBug the slicks problems. Although the ...
by 8bit-Dude
Tue Oct 20, 2020 12:55 pm
Forum: General Discussion
Topic: 8bit-Unity version 0.3.5
Replies: 64
Views: 2523

Re: 8bit-Unity version 0.3.5

Great. On the joystick interface: is there a reason you have chosen a PASE interface over an IJK interface? By no means into the technical details of both myself, but noted that the other new joystick solution that is in development goes the IJK route: https://forum.defence-force.org/viewtopic.php?...
by 8bit-Dude
Tue Oct 20, 2020 12:53 pm
Forum: General Discussion
Topic: 8bit-Unity version 0.3.5
Replies: 64
Views: 2523

Re: 8bit-Unity version 0.3.5

I guess, technically, since the hub is on the printer port, it can "emulate" anything that is based on the printer port, including possibly using it as a way to send actual "print outs" to a PC or maybe even a USB printer? Indeed! In fact, in Oricutron I use the print function to emulate sending co...
by 8bit-Dude
Tue Oct 20, 2020 2:10 am
Forum: General Discussion
Topic: 8bit-Unity version 0.3.5
Replies: 64
Views: 2523

Re: 8bit-Unity version 0.3.5

Regarding Joysticks, I have alread tested a mode in which the Hub works as a PASE interface. I will include it in future firmware update. The communication code is quite simple, and could easily be implemented in BASIC using a dataset. The sequence in C is as follows: // HUB Status Flags #define COM...
by 8bit-Dude
Mon Oct 19, 2020 2:06 pm
Forum: General Discussion
Topic: 8bit-Unity version 0.3.5
Replies: 64
Views: 2523

8bit-Unity version 0.3.5

It's been a while since I posted any info relating to 8bit-Unity on this forum, so with version 0.3.5 coming out in Novembre 2020 I wanted to give a recap of functionality added over the past 18 months. Since version 0.3.0, these 5 platforms are supported: Apple//, Atari 8bit, C64, Oric1/Atmos, and ...
by 8bit-Dude
Thu May 21, 2020 3:10 am
Forum: 6502 assembly coding
Topic: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE
Replies: 25
Views: 3539

Re: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE

Funnily, the Sequential file reading does not help me at all! (the file needs to be formatted accordingly). But now that I understand the directory, I can figure out how to use OPEN D,Track,Sector. I found the memory location of the buffer, so I think I can exploit this to implement proper fopen(), ...
by 8bit-Dude
Thu May 21, 2020 12:50 am
Forum: 6502 assembly coding
Topic: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE
Replies: 25
Views: 3539

Re: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE

I went to Sedoric manual here AH, Just what I needed! The version of the manual I found was incomplete and did not contain this annex. I tried it in tap2dsk and it worked by just modifying this line: descriptor[3]=(basic?0x80:0x00)+(block?0x40:0x00)+(seq?0x10:0x00)+(dir?0x08:0x00)+(exec?0x01:0x00);...
by 8bit-Dude
Wed May 20, 2020 4:36 pm
Forum: 6502 assembly coding
Topic: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE
Replies: 25
Views: 3539

Re: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE

From memory, these are "sequential files", which allow to save (PUT ?) user-defined recordings one after another. This doesn't exist on tape and has been specifically created with disk usage, so you can't have any of these file types in a TAP file. TAP files are basic or memory block (CSAVE), or ta...
by 8bit-Dude
Wed May 20, 2020 4:35 pm
Forum: 6502 assembly coding
Topic: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE
Replies: 25
Views: 3539

Re: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE

Dbug wrote:
Wed May 20, 2020 2:34 pm
Have you tried a binary diff between the two DSK files?
Of course. But there are large blocks being changed even when I generated a files with 1 or 2 bytes of data...
by 8bit-Dude
Wed May 20, 2020 1:58 pm
Forum: 6502 assembly coding
Topic: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE
Replies: 25
Views: 3539

Re: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE

https://github.com/teiram/oric-dsk-manager I already have this app. But it is not really useful for what I am trying to do (plus it is buggy). For now, I can generate files with OPEN in Oricutron, and save the Disk again. By I am having a hard time figuring out what exactly is different between tap...