User Activity

  • Modified a comment on discussion General Discussion on PC-BASIC - a GW-BASIC emulator

    Exact! Thank you to both! Yes I'm teaching F.P. at school, this days. IEEE754 is on the book and that's what we are studing, but i dont see any problem in observing some practical (storical?) application. Used bits are exactly the same, just in different position. Both formats use 8 bit for exponent, 1 for sign and 23 for the mantissa. The IEEE754 uses a 127 bias for the exponent while "basic" uses 128 (if i'm not wrong) The "bill gates" solution seems more smart because it alligns the exponent to...

  • Posted a comment on discussion Bug reports on PC-BASIC - a GW-BASIC emulator

    Hello, try: 10 A=1E20 20 B=1E20 30 C=A^B the last instruction brings to an immediate and unrecoverable jamming of the PCBASIC (15.08.12)

  • Posted a comment on discussion General Discussion on PC-BASIC - a GW-BASIC emulator

    Exact! Thank you to both! Yes I'm teaching FB at school, this days. IEEE754 is on the book and that's what we are studing, but i dont see any problem in observing some practical (storical?) application. Used bits are exactly the same, just in different position. Both formats use 8 bit for exponent, 1 for sign and 23 for the mantissa. The IEEE754 uses a 127 bias for the exponent while "basic" uses 128 (if i'm not wrong) The "bill gates" solution seems more smart because it alligns the exponent to...

  • Posted a comment on discussion General Discussion on PC-BASIC - a GW-BASIC emulator

    Hello, I made a small demo capable to show a fp variable in binary... 5 cls 10 V=10:P=VARPTR(V) 20 DEFSEG=&H13AD:Y=15 30 LOCATE 20,1:INPUT V 40 FOR XX=0 TO 3 50 X=55-(XX*18):N=PEEK(P+XX) 60 LOCATE Y-1,X+7: IF XX=3 THEN PRINT"e" ELSE PRINT"m" 65 IF XX=2 THEN LOCATE Y-1,X+1: PRINT "s" 70 GOSUB 500 80 NEXT XX 90 GOTO 30 500 LOCATE Y,X:PRINT CHR$(218);CHR$(196); 510 FOR I=1 TO 7: PRINT CHR$(194);CHR$(196); :NEXT I: PRINT CHR$(191) 520 LOCATE Y+1,X: FOR I=1 TO 9: PRINT CHR$(179);" "; : NEXT I 530 LOCATE...

  • Posted a comment on discussion General Discussion on PC-BASIC - a GW-BASIC emulator

    Ok, after all... the lesson was a success: I managed to download an old Paint program for PC, still having the "BSAVE" format option in the save menu. It came with various PCX examples, so it was easy to save a CGA image. Unfortunately it refuse to save multi plane modes, so no EGA. Anyway, here it is the image, if someone wants to try it for fun... Just copy it in your work directory (check with "files" command) and then type: SCREEN 1 BLOAD "home.bsv" a nice image will appair! : ) (Not bad, considering...

  • Posted a comment on discussion General Discussion on PC-BASIC - a GW-BASIC emulator

    Hello again, I'm keeping to use the PCBasic with my pupils at school. Now we have studied the Floating Point standard (single precision-4 bytes) on the book, and I would be interesting to verify it on PC basic. I managed to get the location where is stored a variable but I'm not sure to understand. For sure the 4 byte i'm reading are changing if I change the variable, but this internal representation seems not clear to me. What standard it follows? Is the same of original GWbasic (emulated) ...or...

  • Modified a comment on discussion General Discussion on PC-BASIC - a GW-BASIC emulator

    Many thanks. All your informations are interesting and usefull. But after many hours spent try to make them work, I must resign because there is no time left for me. I undestand, with a bit of surprise, that there is nothing of ready to use. BSAVEViewer, for example, would be great... if only had just one example image to load! So we return to my original problem: I cant locate any ready image to bload with basic... Even the frog is not ready, I was plannig to let it calculate, then BSAVE it and...

  • Posted a comment on discussion General Discussion on PC-BASIC - a GW-BASIC emulator

    Many thanks. All your informations are interesting and usefull. But after many hours spent try to make them work, I must resign because there is no time left for me. I undestand, with a bit of surprise, that there is nothing of ready to use. BSAVEViewer, for example, would be great... if only had just one example image to load! So we return to my original problem: I cant locate any ready image to bload with basic... Even the frog is not ready, I was plannig to let it calcualte, then BASVE it and...

View All

Personal Data

Username:
mipsyking
Joined:
2019-03-30 10:33:41

Projects

  • No projects to display.

Personal Tools