Recent Posts

Pages: [1] 2 3 ... 10
1
The Campus / Re: Win7 Uefi setup
« Last post by sinsi on Today at 03:09:06 PM »
Maybe try and convert it to MBR (at least temporarily) and see if setup gets any further. If it does, you're probably not booting from an EFI USB drive.
With most BIOSes if you press the "select boot device" key (F11, F12?) it should list the bootable drives, on my BIOS it explicitly shows UEFI-bootable drives e.g.

Kingston Data Traveller
UEFI Kingston Data Traveller <<<<<

2
The Soap Box / Re: I need a favour with a 48 second video clip.
« Last post by LordAdef on Today at 02:08:53 PM »
in Brazil: Smooth and clear with 1080.
3
MasmBasic & the RichMasm IDE / Re: my 100% Assembly game development
« Last post by LordAdef on Today at 01:55:36 PM »
version v8.141

Family away, weekend only for Masm!!!

A new version. Finally something to shoot and kill, and with explosions already in place and working. It´s actually happening quite nicely. You also now earn points for killing the flying bastards.

For testing purposes I disabled most of the collision detection codes. So you may try and have some fun shooting the moving things only (the others are still due to be coded, they belong to a different class)

JJ, would you give me a quick friendly help?
I do know I have something wrong (that´s why the first flying guy from the left looks drunk  :dazzled:)
There is a warning when I build it. It´s assuming something is a Byte. I cannot see what it is... Built with Richmasm, of course.

I´m getting there!
I hope it works for you guys
4
MasmBasic & the RichMasm IDE / Re: my 100% Assembly game development
« Last post by LordAdef on Today at 01:47:33 PM »
5
The Campus / Re: Download a file from the internet
« Last post by hutch-- on Today at 12:16:20 PM »
I wonder if anyone knows how to construct the callback for the last argument to get download progress. The API works fine in 64 bit but it has a COM interface for the callback that I have no data on at all. Other than that, is there any viable alternatives for win64 (win7 up) that can both do the download AND have progress information ?

This in 64 bit works fine.

invoke URLDownloadToFile,0,url,targ,0,0       ; pCB
6
The Workshop / Re: unresolved external symbol
« Last post by clamicun on Today at 11:58:21 AM »
Fearless,
your "SQLiteTest.asm from Github does it.
But not easyly.

First time it gave me:

0 warnings 0 errors and this...
warning LNK4044: unreecognized option "alternatename:__isa_available=__usa_available_default"; ignored
LINK fatal error LNK:1104: can not open file "uuid.lib"

I found an uuid.lib on my computer somewhere and put it into the SQLiteTest folder.
It worked.   ??

7
Romper Room / Re: Sphere Flake with raytracing
« Last post by HSE on Today at 11:15:21 AM »
Glass have some problem, it's opaque for the opaque.  :t
8
A little exercise in deleting elements from a string array:

include \masm32\MasmBasic\MasmBasic.inc         ; download
  Init
  void NanoTimer()              ; start the timer
  Recall "TestFile.txt", b$()   ;
  PrintLine NanoTimer$(), " for loading the file into the b$() text array"
  void NanoTimer()              ; start the timer
  xor ecx, ecx
  .Repeat
        If_ Instr_(b$(ecx), "devil", 5) Then <mcs Delete b$(ecx) : dec ecx>
        inc ecx
  .Until ecx>=b$(?)
  Inkey NanoTimer$(), " for deleting the devil. Save the file (y)?"
  If_ eax=="y" Then Store "NoDevil.txt", b$()
EndOfCode


Result on an i5:
Code: [Select]
3458 µs for loading the file into the b$() text array
4954 µs for deleting the devil. Save the file (y)?


The required text file is here - unzip to the folder where the attached exe sits.
9
The Campus / Re: Download a file from the internet
« Last post by Vortex on Today at 06:55:05 AM »
Hi Matthias Merkel,

Here is a quick example :

Code: [Select]
.386
.model flat,stdcall
option casemap:none

include     \masm32\include\windows.inc
include     \masm32\include\kernel32.inc
include     \masm32\include\urlmon.inc

includelib  \masm32\lib\kernel32.lib
includelib  \masm32\lib\urlmon.lib

.data

szURL       db 'http://vortex.masmcode.com/files/Wcrt0_7.zip',0
FileName    db 'TinyCRT.zip',0

.code

start:

    invoke  URLDownloadToFile,0,ADDR szURL,\
            ADDR FileName,0,0

    invoke  ExitProcess,0

END start

The trick is to use the API function URLDownloadToFile.
10
Romper Room / Re: Sphere Flake with raytracing
« Last post by caballero on Today at 06:51:41 AM »
Keep on learning this subject, achieved three kind of spheres: opaque, glass and metal. Uniform and checkered texture. Plain c (not c++).



PD: very tiny jpg
Pages: [1] 2 3 ... 10