Author |
Topic: Physical screen memory (Read 1614 times) |
|
ady
Junior Member
member is offline


Posts: 55
|
 |
Re: Physical screen memory
« Reply #15 on: Nov 5th, 2015, 09:47am » |
|
You can also chat to windows with BBC asm, it's amazingly flexible
50 LOMEM = LOMEM+20000 60 REMHIMEM = LOMEM+20000000 70 REMHIMEM = HIMEM-40 80 90 DIM FF$(5) 100 FF$(0)="hello" FF$(1)="world" 110 120 REM REM REM SEE CRITICAL POINTER!!!!! 130 REM *FLOAT 64 290 300 REM SYS "SetWindowPos", @hwnd%, 0, 152, 17, 0, 0, 5 REMSYS "GetDeviceCaps", @prthdc%, 88 TO 150 REMSYS "GetDeviceCaps", @prthdc%, 90 TO 150 310 320 330 DIM code% 4000 340 FOR opt=0 TO 2 STEP 2 350 P%=code% 360 [OPT opt .count mov dword [count],0 .word1 mov eax,^FF$(0) mov dword [word1],eax ret .stor mov ecx,[count] mov eax,^FF$(0) mov ebx,[eax] mov eax,^FF$(1) mov eax,[eax] .stor1 push ecx push ebx push eax push @hwnd% call "MessageBox" inc dword [count] cmp dword [count],&10 jb stor ret 4990 5000 ] 5010 NEXT 5020 CALL count 5030 CALL stor 5580 REMPRINT USR(stor) 5620 PRINT "Finished" 5630 END
Good luck in figuring it all out
|
|
Logged
|
|
|
|
KenDown
Full Member
member is offline


Posts: 181
|
 |
Re: Physical screen memory
« Reply #16 on: Dec 7th, 2015, 6:56pm » |
|
Don't forget that the simplest way to produce .ico files or .bmp files for conversion into sprites, is to download The Gimp (a free download) and use its graphics facilities.
Of course if you have a copy of Photoshop lying around you won't want The Gimp, but if you baulk at the cost of Photoshop, The Gimp is more than adequate.
|
|
Logged
|
|
|
|
|