Search found 726 matches

by XorA
Wed Apr 14, 2021 10:06 pm
Forum: QL Emulation
Topic: sQLux Windows (mingw64)
Replies: 6
Views: 163

Re: sQLux Windows (mingw64)

mk79 wrote:Huh? How so?


I forgot (because I havent used win32 API for years), that when you open a file you must use O_BINARY to get normal behaviour, otherwise its puts a LF after every CR in the file. Which doesnt do binary files much good!
by XorA
Wed Apr 14, 2021 10:05 pm
Forum: QL Emulation
Topic: 68000 instruction test suite QL
Replies: 18
Views: 3065

Re: 68000 instruction test suite QL

And thanks to the guidance of Marcel the master.

Screenshot 2021-04-14 at 22.02.35.png
by XorA
Wed Apr 14, 2021 6:31 pm
Forum: QL Emulation
Topic: sQLux Windows (mingw64)
Replies: 6
Views: 163

Re: sQLux Windows (mingw64)

It no longer eats files, I forgot about windows and its bloomin CR/LF mangling in binary files!
by XorA
Wed Apr 14, 2021 10:54 am
Forum: Compatibles Corner
Topic: MKpart_exe for Q40 & Q60
Replies: 14
Views: 477

Re: MKpart_exe for Q40 & Q60

Derek, the parted tool in modern linux seems to support atari partition tables. So it should be possible to knock something together. Where would parted run? I could imagine you mean attaching an IDE devide to an Intel PC and do the partitioning there. In that case, endianess could become a problem...
by XorA
Wed Apr 14, 2021 12:04 am
Forum: QL Emulation
Topic: 68000 instruction test suite QL
Replies: 18
Views: 3065

Re: 68000 instruction test suite QL

And reading my own post noticed the mistake (using the intermediate result for zero not the final) w8 d, r; uw16 nbcd_lo, nbcd_hi, nbcd_res; int nbcd_carry; d = ModifyAtEA_b((code >> 3) & 7, code & 7); nbcd_lo = -(d & 0xF) - (xflag ? 1 : 0); nbcd_hi = -(d & 0xF0); if (nbcd_lo > 9) { ...
by XorA
Tue Apr 13, 2021 11:59 pm
Forum: QL Emulation
Topic: 68000 instruction test suite QL
Replies: 18
Views: 3065

Re: 68000 instruction test suite QL

Thanks for the hint about UAE, thats a lot more readable than Musashi I was trying to crib from. w8 d, r; w8 d2, r2; uw16 nbcd_lo, nbcd_hi, nbcd_res; int nbcd_carry; d = ModifyAtEA_b((code >> 3) & 7, code & 7); nbcd_lo = - (d & 0xF) - (xflag ? 1 : 0); nbcd_hi = - (d & 0xF0); if (nbcd...
by XorA
Tue Apr 13, 2021 4:59 pm
Forum: Software & Programming
Topic: Anyone for Object Oriented coding on the QL?
Replies: 20
Views: 802

Re: Anyone for Object Oriented coding on the QL?

Derek_Stewart wrote:I also have vonvert the SV book "Version Control with Subversion" to epub, to understand SVN...


The easiest way if your already a git user is git-svn :-D
by XorA
Tue Apr 13, 2021 4:54 pm
Forum: Compatibles Corner
Topic: MKpart_exe for Q40 & Q60
Replies: 14
Views: 477

Re: MKpart_exe for Q40 & Q60

Derek, the parted tool in modern linux seems to support atari partition tables. So it should be possible to knock something together.

I don't have a Q60 for testing though!
by XorA
Tue Apr 13, 2021 4:31 pm
Forum: QL Emulation
Topic: 68000 instruction test suite QL
Replies: 18
Views: 3065

Re: 68000 instruction test suite QL

And the result is it looks like all the BCD instructions are broken.

Ill need to double check all the results to see if anything else is, but mostly they seem ok.