Qbasicnews.com
June 02, 2020, 07:26:46 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Converting numbers into roman numerals..  (Read 17591 times)
Neo
Na_th_an
*****
Posts: 2150



« Reply #15 on: September 17, 2003, 07:44:08 AM »

Yes ok, I see your calculating only numbers till 3999.

-hrrrm- I don't even know what 31755031 is in roman numericals. Cheesy What comes after M?
Logged
Antoni Gual
Na_th_an
*****
Posts: 1434



WWW
« Reply #16 on: September 17, 2003, 08:00:19 AM »

After M, you have V, X,L,C,D and M, after that, I don't know.

The program could be easily extended, but I would need a new font to display these chars in DOS...
Logged

Antoni
Neo
Na_th_an
*****
Posts: 2150



« Reply #17 on: September 17, 2003, 08:39:18 AM »

Perhaps you can do something with:

Interrupt 10h
AX = 1100h

Take a look at one of these sites:
http://www.ctyme.com/intr/rb-0136.htm
http://www.ctyme.com/intr/rb-0137.htm
http://www.ctyme.com/intr/rb-0138.htm
http://www.ctyme.com/intr/rb-0139.htm
http://www.ctyme.com/intr/rb-0140.htm
They all have to do with the same subject:
AX = 1100h : VIDEO - TEXT-MODE CHARGEN - LOAD USER-SPECIFIED PATTERNS (PS,EGA,VGA)
AX = 1101h : VIDEO - TEXT-MODE CHARGEN - LOAD ROM MONOCHROME PATTERNS (PS,EGA,VGA)
AX = 1102h : VIDEO - TEXT-MODE CHARGEN - LOAD ROM 8x8 DBL-DOT PATTERNS (PS,EGA,VGA)
AX = 1103h : VIDEO - TEXT-MODE CHARGEN - SET BLOCK SPECIFIER (PS,EGA,VGA)
AX = 1104h : VIDEO - TEXT-MODE CHARGEN - LOAD ROM 8x16 CHARACTER SET (VGA)

I didn't look at them carefully, but these look like they do something with the text mode font Tongue
Logged
Agamemnus
x/ \z
*****
Posts: 3491



« Reply #18 on: September 17, 2003, 09:07:58 AM »

Q is 500,000 so Q with a bar OVER (not UNDER!) it is 500,000,000...

Unfortunately since M with a bar over it is 1,000,000 there seem to be a few letters missing...
Logged

Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Antoni Gual
Na_th_an
*****
Posts: 1434



WWW
« Reply #19 on: September 17, 2003, 02:58:52 PM »

Yes, you're right. The thousands bar  is over the letter .Excuse me , Neo!

But it's the first time I hear about Q....
Logged

Antoni
Agamemnus
x/ \z
*****
Posts: 3491



« Reply #20 on: September 17, 2003, 08:32:33 PM »

Neo? :|
Logged

Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Antoni Gual
Na_th_an
*****
Posts: 1434



WWW
« Reply #21 on: September 18, 2003, 05:09:49 AM »

Aga, I'm not meaning you're wrong. Roman Numerals have gone thru different "standards" thru the ages.
For exemple the bar on top is a Middle Age invention. Romans used "parentheses" to indicate X1000. As they did'nt know the parenth. symbol they used a C and a reversed C!. Q is not in the present "standard" but may have been in use in some date.
Logged

Antoni
Neo
Na_th_an
*****
Posts: 2150



« Reply #22 on: September 18, 2003, 08:07:48 AM »

Check this out: http://home.att.net/~numericana/answer/roman.htm

It says large roman numerals are things like (((I))) or I)). Furthermore, putting a bar over them multiplies by 1000, and there can also be placed boxes over them etc Smiley
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!