Search found 98 matches

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: 1498

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: 1498

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: 1498

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: 1498

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: 1498

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...
by 8bit-Dude
Wed May 20, 2020 10:06 am
Forum: 6502 assembly coding
Topic: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE
Replies: 25
Views: 1498

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

I found some information on RetroWiki... I tried modifying the protection attribute (0F), and that has no effect. Next, I tried modifying the type of file type from 0x41 (block, exec) to 0x80 (no block, no exec), and that also has no effect. The serial attribute must be somewhere else, but I can't f...
by 8bit-Dude
Wed May 20, 2020 8:52 am
Forum: 6502 assembly coding
Topic: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE
Replies: 25
Views: 1498

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

Symoon wrote:
Wed May 20, 2020 8:47 am
BTW files in Sedoric don't have a "header". There's a file catalog with 16-bytes entries for each file holding their name, type, and descriptor sector address.
AH! Then the file catalog is probably where I need to look!
by 8bit-Dude
Wed May 20, 2020 8:28 am
Forum: Painting tricks
Topic: Pictoric (was: New conversion algorithm)
Replies: 110
Views: 18273

Re: Pictoric (was: New conversion algorithm)

8-bit Dude - I hope you've got some plans to add MacOS/Linux support in the future - if so this is something I'd be happy to help with. I haven't used a Windows system in years and would much rather avoid Wine/VM's if possible .. but that said, I'm happy to help get things working on MacOS/Linux. A...
by 8bit-Dude
Wed May 20, 2020 8:16 am
Forum: Painting tricks
Topic: Pictoric (was: New conversion algorithm)
Replies: 110
Views: 18273

Re: Pictoric (was: New conversion algorithm)

Generally WHITE in AIC mode is just inverted BLACK paper so you still have full control on what PAPER and INK is on each line, or did I miss something? Firstly, in AIC the paper is always BLACK (or WHITE when inverted). So when drawing the sprite, background will be either BLACK or WHITE . It canno...
by 8bit-Dude
Wed May 20, 2020 7:34 am
Forum: 6502 assembly coding
Topic: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE
Replies: 25
Views: 1498

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

I've never used OPEN, so no idea how that works, the farther I've been in using Sedoric was to load and save files... Since Tap2Dsk was made by Fabrice Francès, may be you could poke him and ask him if he knows about the issue? I tried OPEN, PUT, CLOSE, and found that the files generated have no he...
by 8bit-Dude
Wed May 20, 2020 7:31 am
Forum: Painting tricks
Topic: Pictoric (was: New conversion algorithm)
Replies: 110
Views: 18273

Re: Pictoric (was: New conversion algorithm)

Question: Now that you have AIC running, do you still need to have your big bands of artefacts on the left and right of the character and mouse cursor, should it not be possible to just have a proper masking out that would allow moving the character and cursor without any visual glitch? In the case...
by 8bit-Dude
Wed May 20, 2020 4:57 am
Forum: 6502 assembly coding
Topic: Assembly functions for Sedoric OPEN, TAKE, PUT, CLOSE
Replies: 25
Views: 1498

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

I have been playing around with SEDORIC, but files processed with header.exe cannot be opened with OPEN S,filename,0. I suppose that SEDORIC detects them as TAP files, and don't want to touch them with OPEN. But the trouble is, tap2dsk only works with TAP files (even when adding extra files). I supp...
by 8bit-Dude
Wed May 20, 2020 3:00 am
Forum: Painting tricks
Topic: Pictoric (was: New conversion algorithm)
Replies: 110
Views: 18273

Re: Pictoric (was: New conversion algorithm)

If I can guess: he made a palette mixing 2 colors for the oric: 1+2, 1+3, 1+4, 1+5, 1+6, 1+7; 2+3, 2+4, 2+5, 2+6, 2+7; 3+4, 3+5, 3+6, 3+7; 4+5, 4+6, 4+7; 5+6, 5+7; 6+7 = 21 entries. He then map the original image to this palette by color proximity. He then converted the final picture which can be d...
by 8bit-Dude
Tue May 19, 2020 5:05 pm
Forum: Painting tricks
Topic: Pictoric (was: New conversion algorithm)
Replies: 110
Views: 18273

Re: Pictoric (was: New conversion algorithm)

As a thank you for the technical help, I am posting the Tech-Demo disk here first! :D It is not much, just a few actions around the game's first screen (and a few bugs here and there). More than anything, it is just meant as a learning tool for people interested in programming games. 8) The changes ...
by 8bit-Dude
Tue May 19, 2020 5:15 am
Forum: Painting tricks
Topic: Pictoric (was: New conversion algorithm)
Replies: 110
Views: 18273

Re: Pictoric (was: New conversion algorithm)

AH AH!!!! I found the ultimate trick!!!!

If I apply my AIC palette to the input image (21 colors that represent all possible combinations between AIC rows), then the result through Pictoric is much more vivid and colorful! I am really happy with the look of this! :D :D :D