home *** CD-ROM | disk | FTP | other *** search
Unknown | 1995-06-20 | 1.9 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| TheDraw Pascal screen Image (image/theDrawPascalScreenImage)
| ext
| Unsupported |
100%
| file
| data
| default
| |
100%
| TrID
| Delphi Project source (with rem)
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 42 4d 53 44 |{.. | BMSD|
|00000010| 45 4d 4f 20 62 79 20 45 | 6e 72 69 71 75 65 20 53 |EMO by E|nrique S|
|00000020| 61 6e 63 68 65 7a 20 4d | 61 72 74 69 6e 65 7a 20 |anchez M|artinez |
|00000030| 4d 61 79 20 31 39 39 35 | 20 20 20 20 3c 2d 0d 0a |May 1995| <-..|
|00000040| 0d 0a 00 00 00 00 00 00 | 00 00 00 54 68 69 73 20 |........|...This |
|00000050| 50 72 6f 67 72 61 6d 61 | 20 69 73 20 61 6e 20 65 |Programa| is an e|
|00000060| 78 61 6d 70 6c 65 20 6f | 66 20 75 73 65 20 66 6f |xample o|f use fo|
|00000070| 72 20 74 68 65 20 66 69 | 6c 65 20 42 6d 73 2c 20 |r the fi|le Bms, |
|00000080| 54 68 65 0d 0a 00 00 00 | 00 00 00 00 00 00 66 69 |The.....|......fi|
|00000090| 6c 65 20 42 6d 73 20 75 | 73 65 64 20 66 6f 72 20 |le Bms u|sed for |
|000000a0| 74 68 69 73 20 64 65 6d | 6f 20 69 73 20 61 20 73 |this dem|o is a s|
|000000b0| 63 72 65 65 6e 20 6f 66 | 20 33 32 30 78 32 30 30 |creen of| 320x200|
|000000c0| 78 32 35 36 63 2c 0d 0a | 00 00 00 00 00 00 00 00 |x256c,..|........|
|000000d0| 00 77 69 74 68 6f 75 74 | 20 69 6e 69 74 69 61 6c |.without| initial|
|000000e0| 20 77 6f 72 64 73 20 6f | 66 20 58 20 61 6e 64 20 | words o|f X and |
|000000f0| 59 20 74 68 65 20 66 69 | 6c 65 20 42 6d 73 20 6d |Y the fi|le Bms m|
|00000100| 61 79 62 65 20 6c 6f 61 | 64 69 6e 67 0d 0a 00 00 |aybe loa|ding....|
|00000110| 00 00 00 00 00 00 00 64 | 69 72 65 63 74 6c 79 20 |.......d|irectly |
|00000120| 6f 6e 20 74 68 65 20 6d | 65 6d 6f 20 61 72 65 61 |on the m|emo area|
|00000130| 20 6f 66 20 74 68 65 20 | 76 67 61 20 41 30 30 30 | of the |vga A000|
|00000140| 20 77 69 74 68 20 74 68 | 65 20 63 6f 6d 6d 61 6e | with th|e comman|
|00000150| 64 6f 0d 0a 00 00 00 00 | 00 00 00 00 00 42 6c 6f |do......|.....Blo|
|00000160| 63 6b 72 65 61 64 2e 0d | 0a 00 00 00 00 00 00 00 |ckread..|........|
|00000170| 00 00 0d 0a 7d 0d 0a 7b | 24 47 2b 7d 0d 0a 7b 24 |....}..{|$G+}..{$|
|00000180| 41 2b 7d 0d 0a 7b 24 42 | 2d 7d 0d 0a 7b 24 4e 2d |A+}..{$B|-}..{$N-|
|00000190| 2c 45 2d 7d 0d 0a 7b 24 | 49 2d 7d 0d 0a 7b 24 52 |,E-}..{$|I-}..{$R|
|000001a0| 2d 7d 0d 0a 7b 24 53 2d | 7d 0d 0a 7b 24 56 2d 7d |-}..{$S-|}..{$V-}|
|000001b0| 0d 0a 7b 24 58 2b 7d 0d | 0a 50 72 6f 67 72 61 6d |..{$X+}.|.Program|
|000001c0| 20 42 6d 73 44 65 6d 6f | 3b 0d 0a 55 73 65 73 20 | BmsDemo|;..Uses |
|000001d0| 43 72 74 2c 44 6f 73 3b | 0d 0a 56 61 72 0d 0a 46 |Crt,Dos;|..Var..F|
|000001e0| 3a 66 69 6c 65 3b 0d 0a | 6e 6f 6d 62 72 65 70 61 |:file;..|nombrepa|
|000001f0| 6c 2c 6e 6f 6d 62 72 65 | 62 6d 73 3a 73 74 72 69 |l,nombre|bms:stri|
|00000200| 6e 67 5b 31 33 5d 3b 0d | 0a 73 69 7a 65 2c 52 45 |ng[13];.|.size,RE|
|00000210| 53 55 4c 54 3a 77 6f 72 | 64 3b 0d 0a 50 41 4c 4c |SULT:wor|d;..PALL|
|00000220| 3a 41 52 52 41 59 5b 30 | 2e 2e 37 36 37 5d 4f 46 |:ARRAY[0|..767]OF|
|00000230| 20 42 59 54 45 3b 0d 0a | 52 45 47 3a 52 45 47 49 | BYTE;..|REG:REGI|
|00000240| 53 54 45 52 53 3b 0d 0a | 0d 0a 0d 0a 0d 0a 50 72 |STERS;..|......Pr|
|00000250| 6f 63 65 64 75 72 65 20 | 50 6f 6e 6d 6f 64 6f 3b |ocedure |Ponmodo;|
|00000260| 0d 0a 62 65 67 69 6e 0d | 0a 41 73 6d 0d 0a 6d 6f |..begin.|.Asm..mo|
|00000270| 76 20 41 78 2c 31 33 68 | 0d 0a 49 6e 74 20 31 30 |v Ax,13h|..Int 10|
|00000280| 68 0d 0a 65 6e 64 3b 0d | 0a 65 6e 64 3b 0d 0a 0d |h..end;.|.end;...|
|00000290| 0a 0d 0a 50 72 6f 63 65 | 64 75 72 65 20 51 75 69 |...Proce|dure Qui|
|000002a0| 74 61 6d 6f 64 6f 3b 0d | 0a 62 65 67 69 6e 0d 0a |tamodo;.|.begin..|
|000002b0| 61 73 6d 0d 0a 6d 6f 76 | 20 41 78 2c 33 68 0d 0a |asm..mov| Ax,3h..|
|000002c0| 49 6e 74 20 31 30 68 0d | 0a 65 6e 64 3b 0d 0a 65 |Int 10h.|.end;..e|
|000002d0| 6e 64 3b 0d 0a 0d 0a 70 | 72 6f 63 65 64 75 72 65 |nd;....p|rocedure|
|000002e0| 20 70 6f 6e 70 61 6c 6c | 3b 0d 0a 62 65 67 69 6e | ponpall|;..begin|
|000002f0| 0d 0a 52 45 47 2e 41 58 | 3a 3d 24 31 30 31 32 3b |..REG.AX|:=$1012;|
|00000300| 0d 0a 52 45 47 2e 42 58 | 3a 3d 24 30 30 3b 0d 0a |..REG.BX|:=$00;..|
|00000310| 52 45 47 2e 43 58 3a 3d | 24 31 30 30 3b 0d 0a 52 |REG.CX:=|$100;..R|
|00000320| 45 47 2e 45 53 3a 3d 53 | 45 47 28 50 41 4c 4c 29 |EG.ES:=S|EG(PALL)|
|00000330| 3b 0d 0a 52 45 47 2e 44 | 58 3a 3d 4f 46 53 28 50 |;..REG.D|X:=OFS(P|
|00000340| 41 4c 4c 29 3b 0d 0a 49 | 4e 54 52 28 24 31 30 2c |ALL);..I|NTR($10,|
|00000350| 52 45 47 29 3b 0d 0a 65 | 6e 64 3b 0d 0a 0d 0a 0d |REG);..e|nd;.....|
|00000360| 0a 70 72 6f 63 65 64 75 | 72 65 20 6c 65 65 72 70 |.procedu|re leerp|
|00000370| 61 6c 6c 3b 0d 0a 62 65 | 67 69 6e 0d 0a 49 46 20 |all;..be|gin..IF |
|00000380| 50 4f 53 28 27 2e 27 2c | 6e 6f 6d 62 72 65 70 61 |POS('.',|nombrepa|
|00000390| 6c 29 3c 31 20 54 48 45 | 4e 0d 0a 6e 6f 6d 62 72 |l)<1 THE|N..nombr|
|000003a0| 65 70 61 6c 3a 3d 6e 6f | 6d 62 72 65 70 61 6c 2b |epal:=no|mbrepal+|
|000003b0| 27 2e 50 41 4c 27 3b 0d | 0a 61 73 73 69 67 6e 28 |'.PAL';.|.assign(|
|000003c0| 46 2c 6e 6f 6d 62 72 65 | 70 61 6c 29 3b 0d 0a 72 |F,nombre|pal);..r|
|000003d0| 65 73 65 74 28 66 2c 31 | 29 3b 0d 0a 52 45 53 55 |eset(f,1|);..RESU|
|000003e0| 4c 54 3a 3d 49 4f 52 45 | 53 55 4c 54 3b 0d 0a 69 |LT:=IORE|SULT;..i|
|000003f0| 66 20 52 45 53 55 4c 54 | 20 3c 3e 20 30 20 74 68 |f RESULT| <> 0 th|
|00000400| 65 6e 0d 0a 20 20 20 62 | 65 67 69 6e 0d 0a 20 20 |en.. b|egin.. |
|00000410| 20 71 75 69 74 61 6d 6f | 64 6f 3b 0d 0a 20 20 20 | quitamo|do;.. |
|00000420| 57 72 69 74 65 6c 6e 28 | 27 fe 20 46 69 6c 65 20 |Writeln(|'. File |
|00000430| 27 2b 6e 6f 6d 62 72 65 | 70 61 6c 2b 27 20 6e 6f |'+nombre|pal+' no|
|00000440| 74 20 66 6f 75 6e 64 20 | 27 29 3b 0d 0a 20 20 20 |t found |');.. |
|00000450| 68 61 6c 74 28 31 29 3b | 0d 0a 20 20 20 65 6e 64 |halt(1);|.. end|
|00000460| 3b 0d 0a 53 49 5a 45 3a | 3d 37 36 38 3b 0d 0a 42 |;..SIZE:|=768;..B|
|00000470| 4c 4f 43 4b 52 45 41 44 | 28 46 2c 70 61 6c 6c 2c |LOCKREAD|(F,pall,|
|00000480| 53 49 5a 45 2c 53 49 5a | 45 29 3b 0d 0a 63 6c 6f |SIZE,SIZ|E);..clo|
|00000490| 73 65 28 66 29 3b 0d 0a | 65 6e 64 3b 0d 0a 0d 0a |se(f);..|end;....|
|000004a0| 0d 0a 0d 0a 70 72 6f 63 | 65 64 75 72 65 20 6c 65 |....proc|edure le|
|000004b0| 65 72 62 6d 73 3b 0d 0a | 76 61 72 0d 0a 56 67 61 |erbms;..|var..Vga|
|000004c0| 53 63 72 65 65 6e 3a 61 | 72 72 61 79 5b 30 2e 2e |Screen:a|rray[0..|
|000004d0| 36 33 39 39 39 5d 20 6f | 66 20 62 79 74 65 20 61 |63999] o|f byte a|
|000004e0| 62 73 6f 6c 75 74 65 20 | 24 41 30 30 30 3a 30 30 |bsolute |$A000:00|
|000004f0| 30 30 3b 0d 0a 62 65 67 | 69 6e 0d 0a 49 46 20 50 |00;..beg|in..IF P|
|00000500| 4f 53 28 27 2e 27 2c 6e | 6f 6d 62 72 65 62 6d 73 |OS('.',n|ombrebms|
|00000510| 29 3c 31 20 54 48 45 4e | 0d 0a 6e 6f 6d 62 72 65 |)<1 THEN|..nombre|
|00000520| 62 6d 73 3a 3d 6e 6f 6d | 62 72 65 62 6d 73 2b 27 |bms:=nom|brebms+'|
|00000530| 2e 42 4d 53 27 3b 0d 0a | 61 73 73 69 67 6e 28 46 |.BMS';..|assign(F|
|00000540| 2c 6e 6f 6d 62 72 65 62 | 6d 73 29 3b 0d 0a 72 65 |,nombreb|ms);..re|
|00000550| 73 65 74 28 66 2c 31 29 | 3b 0d 0a 52 45 53 55 4c |set(f,1)|;..RESUL|
|00000560| 54 3a 3d 49 4f 52 45 53 | 55 4c 54 3b 0d 0a 69 66 |T:=IORES|ULT;..if|
|00000570| 20 52 45 53 55 4c 54 20 | 3c 3e 20 30 20 74 68 65 | RESULT |<> 0 the|
|00000580| 6e 0d 0a 20 20 20 62 65 | 67 69 6e 0d 0a 20 20 20 |n.. be|gin.. |
|00000590| 71 75 69 74 61 6d 6f 64 | 6f 3b 0d 0a 20 20 20 57 |quitamod|o;.. W|
|000005a0| 72 69 74 65 6c 6e 28 27 | fe 20 46 69 6c 65 20 27 |riteln('|. File '|
|000005b0| 2b 6e 6f 6d 62 72 65 62 | 6d 73 2b 27 20 6e 6f 74 |+nombreb|ms+' not|
|000005c0| 20 66 6f 75 6e 64 20 27 | 29 3b 0d 0a 20 20 20 68 | found '|);.. h|
|000005d0| 61 6c 74 28 31 29 3b 0d | 0a 20 20 20 65 6e 64 3b |alt(1);.|. end;|
|000005e0| 0d 0a 53 49 5a 45 3a 3d | 66 69 6c 65 73 69 7a 65 |..SIZE:=|filesize|
|000005f0| 28 66 29 3b 0d 0a 42 4c | 4f 43 4b 52 45 41 44 28 |(f);..BL|OCKREAD(|
|00000600| 46 2c 56 47 41 53 63 72 | 65 65 6e 2c 53 49 5a 45 |F,VGAScr|een,SIZE|
|00000610| 2c 53 49 5a 45 29 3b 0d | 0a 63 6c 6f 73 65 28 66 |,SIZE);.|.close(f|
|00000620| 29 3b 0d 0a 65 6e 64 3b | 0d 0a 0d 0a 0d 0a 62 65 |);..end;|......be|
|00000630| 67 69 6e 0d 0a 6e 6f 6d | 62 72 65 70 61 6c 3a 3d |gin..nom|brepal:=|
|00000640| 27 72 61 6e 61 27 3b 20 | 7b 20 74 68 69 73 20 69 |'rana'; |{ this i|
|00000650| 73 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 50 61 |s the na|me of Pa|
|00000660| 6c 65 74 74 65 20 7d 0d | 0a 6e 6f 6d 62 72 65 62 |lette }.|.nombreb|
|00000670| 6d 73 3a 3d 27 72 61 6e | 61 27 3b 20 7b 20 61 6e |ms:='ran|a'; { an|
|00000680| 64 20 74 68 69 73 20 69 | 73 20 74 68 65 20 6e 61 |d this i|s the na|
|00000690| 6d 65 20 6f 66 20 42 6d | 73 20 67 72 61 70 68 69 |me of Bm|s graphi|
|000006a0| 63 20 7d 0d 0a 50 6f 6e | 6d 6f 64 6f 3b 20 20 20 |c }..Pon|modo; |
|000006b0| 20 20 20 20 20 20 20 20 | 7b 20 45 6e 61 62 6c 65 | |{ Enable|
|000006c0| 20 74 68 65 20 47 72 61 | 70 68 69 63 20 4d 6f 64 | the Gra|phic Mod|
|000006d0| 65 20 33 32 30 78 32 30 | 30 78 32 35 36 63 7d 0d |e 320x20|0x256c}.|
|000006e0| 0a 6c 65 65 72 70 61 6c | 6c 3b 70 6f 6e 70 61 6c |.leerpal|l;ponpal|
|000006f0| 6c 3b 20 20 7b 20 6c 6f | 61 64 20 61 6e 64 20 65 |l; { lo|ad and e|
|00000700| 6e 61 62 6c 65 20 74 68 | 65 20 50 61 6c 65 74 74 |nable th|e Palett|
|00000710| 65 20 7d 0d 0a 6c 65 65 | 72 62 6d 73 3b 20 20 20 |e }..lee|rbms; |
|00000720| 20 20 20 20 20 20 20 20 | 7b 20 6c 6f 61 64 20 61 | |{ load a|
|00000730| 6e 64 20 77 72 69 74 65 | 20 69 6e 20 41 30 30 30 |nd write| in A000|
|00000740| 20 73 65 63 74 69 6f 6e | 20 74 68 65 20 42 6d 73 | section| the Bms|
|00000750| 20 66 69 6c 65 7d 0d 0a | 72 65 70 65 61 74 20 75 | file}..|repeat u|
|00000760| 6e 74 69 6c 20 4b 65 79 | 70 72 65 73 73 65 64 3b |ntil Key|pressed;|
|00000770| 0d 0a 71 75 69 74 61 6d | 6f 64 6f 3b 0d 0a 65 6e |..quitam|odo;..en|
|00000780| 64 2e | |d. | |
+--------+-------------------------+-------------------------+--------+--------+