The Julian Day is not the same as the Julian Calendar. It is the date expressed in days from 1st January 4713 BC at noon and mainly used for astronomical calculations where a continuous day numbering comes in handy.
https://en.wikipedia.org/wiki/Julian_day
Search found 632 matches
- Tue Sep 27, 2022 3:07 pm
- Forum: Software & Programming
- Topic: Rounding in QSpread
- Replies: 9
- Views: 1544
- Mon Sep 26, 2022 11:13 pm
- Forum: Software & Programming
- Topic: Rounding in QSpread
- Replies: 9
- Views: 1544
Re: Rounding in QSpread
I've used the method of converting between Gregorian Date and Julian Date from Jean Meeus. It is working fine with Abacus. I'm doing the same method with SuperBasic, but using "PRINT USING" to get the output to be what I need. Ah yes, I used the 'bible' from Meeus too (Astronomical Formul...
- Mon Sep 26, 2022 11:02 pm
- Forum: Software & Programming
- Topic: Rounding in QSpread
- Replies: 9
- Views: 1544
Re: Rounding in QSpread
I was not trying to balance my checkbook, but converting Gregorian data to Julian Day. The current Julian Day is 2459847.5, which will round up. The QL's FP system uses 31-bit mantissa so should be sufficient for about 9.5 digits accuracy. However when converting to ASCII it rounds to only 7 digits...
- Fri Aug 12, 2022 10:08 pm
- Forum: General QL Chat
- Topic: Andy Pennell's books.
- Replies: 96
- Views: 21506
Re: Andy Pennell's books.
Thanks Derek, I still have a hardcopy of this book but it's starting to fall apart now :( Unfortunately, some errors in the original book have been carried over to the digital version. These are from my annotations: Page 108: EXG mode bits 10001 are of course for Dx,Ay not Dx,Dy Page 112: LEA instru...
- Sat Jun 18, 2022 11:25 pm
- Forum: General QL Chat
- Topic: Advanced QL User Guide
- Replies: 45
- Views: 23449
Re: Advanced QL User Guide
Well, you only need io.serio/io.serq when writing a device driver. Not many people have taken up that challenge. And not straightforward to use, since it contains absolute long pointers to the actual handling routines. Which means you have to set up the code in RAM unless you're absolutely sure abo...
- Fri Jun 17, 2022 9:48 pm
- Forum: The Off-Topic Section
- Topic: Happy Birthday!
- Replies: 437
- Views: 216132
Re: Happy Birthday!
Oops, I missed that! Must have been too busy lately...
Thanks everyone!
Jan
Thanks everyone!
Jan
- Tue May 17, 2022 11:02 pm
- Forum: Software & Programming
- Topic: PAN command
- Replies: 4
- Views: 1240
Re: PAN command
Hi, Is it possible to use the PAN command in a overwrite mode, so that the foreground is PANned left or right leaving the background unchanged. Unlike the Spectrum, the QL display doesn't have such thing as an 'attribute file'. A pixel doesn't have a background or foreground colour, it just has a c...
- Mon May 16, 2022 11:05 pm
- Forum: General QL Chat
- Topic: Andy Pennell's books.
- Replies: 96
- Views: 21506
Re: Andy Pennell's books.
Some more corrections I have annotated: Page 19, MT.CJOB: On QDOS <1.1(AH,JM), when D2 = 0 then D1 may not be -1. Better avoid this by allocating a few bytes of code for a JMP instruction and $4AFB + job name. Also, if A1 <> 0 then on exit A0 = A1. Page 98: A polled list routine MUST preserve regist...
- Thu May 12, 2022 11:03 pm
- Forum: General QL Chat
- Topic: Andy Pennell's books.
- Replies: 96
- Views: 21506
Re: Andy Pennell's books.
Because of copyright reasons?RalfR wrote:What bothers me most about the official SMSQ book is that the original QDOS names are not mentioned.
- Wed May 11, 2022 11:24 pm
- Forum: General QL Chat
- Topic: Andy Pennell's books.
- Replies: 96
- Views: 21506
Re: Andy Pennell's books.
IIRC there was some confusion in that book about the RI stack. (Mine only lasted a few days before it split into numerous pieces, so I dont have it.) Perhaps others can confirm? IIRC the only confusion was about the order in which the CA.GTxxx vectors evaluate parameters - the book states that they...