Author Topic: Uncle Remus Tales  (Read 26351 times)

learn64bit

  • Regular Member
  • *
  • Posts: 3
Re: Uncle Remus Tales
« Reply #120 on: January 17, 2020, 02:00:20 PM »
Someone Help Me!
Code: [Select]
Microsoft Windows 7 Ultimate 64-bit us with Service Pack 1
 Microsoft Windows SDK v7.0
  CMD Shell
   #Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.0
   #.
   #Targeting Windows 7 x64 DEBUG
   #
   #
   #C:\Program Files\Microsoft SDKs\Windows\v7.0>Setenv /Release
    #Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.0
    #.
    #Targeting Windows 7 x64 RELEASE
    #
    #
    #C:\Program Files\Microsoft SDKs\Windows\v7.0>cd \learnASM
    #
    #C:\learnASM>ml64 08.asm /link /subsystem:console /defaultlib:kernel32.lib /defaul
    #tlib:user32.lib /entry:WinMain
    #Microsoft (R) Macro Assembler (x64) Version 9.00.30729.01
    #Copyright (C) Microsoft Corporation.  All rights reserved.
    #
    # Assembling: 08.asm
    #08.asm(2) : fatal error A1000:cannot open file : win64a.inc
    #
    #C:\learnASM>

after downloaded Mikl__'s include.zip
Code: [Select]
C:\learnASM>ml64 /Cp /c 08.asm
Microsoft (R) Macro Assembler (x64) Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

 Assembling: 08.asm
08.asm(14) : error A2006:undefined symbol : SMALL_RECT
08.asm(14) : error A2195:parameter or local cannot have void type
08.asm(15) : error A2006:undefined symbol : CONSOLE_CURSOR_INFO
08.asm(15) : error A2195:parameter or local cannot have void type
08.asm(16) : error A2006:undefined symbol : INPUT_RECORD
08.asm(16) : error A2195:parameter or local cannot have void type
08.asm(34) : error A2006:undefined symbol : SMALL_RECT
08.asm(40) : error A2006:undefined symbol : SMALL_RECT
08.asm(63) : error A2006:undefined symbol : INPUT_RECORD
08.asm(65) : error A2006:undefined symbol : INPUT_RECORD
08.asm(67) : error A2006:undefined symbol : INPUT_RECORD

C:\learnASM>

after downloaded Mikl__'s Win x64 Tutorial #38
Code: [Select]
Microsoft Windows 7 Ultimate 64-bit us with Service Pack 1
 Microsoft Windows SDK v7.0
  CMD Shell
   #Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.0
   #.
   #Targeting Windows 7 x64 DEBUG
   #
   #
   #C:\Program Files\Microsoft SDKs\Windows\v7.0>Setenv /Release
    #Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.0
    #.
    #Targeting Windows 7 x64 RELEASE
    #
    #
    #C:\Program Files\Microsoft SDKs\Windows\v7.0>cd \learnASM
    #
    #C:\learnASM>ml64 /Cp /c 08.asm
    #Microsoft (R) Macro Assembler (x64) Version 9.00.30729.01
    #Copyright (C) Microsoft Corporation.  All rights reserved.
    #
    # Assembling: 08.asm
    #
    #C:\learnASM>link /subsystem:console /largeaddressaware:no /align:16 /entry:WinMai
    #n 08.obj
    #Microsoft (R) Incremental Linker Version 9.00.30729.01
    #Copyright (C) Microsoft Corporation.  All rights reserved.
    #
    #LINK : warning LNK4108: /ALIGN specified without /DRIVER; image may not run
    #
    #C:\learnASM>
« Last Edit: January 17, 2020, 07:00:09 PM by learn64bit »

Mikl__

  • Member
  • ****
  • Posts: 794
Re: Uncle Remus Tales
« Reply #121 on: January 18, 2020, 02:48:39 AM »
Hi, learn64bit!
universal bat-file
Code: [Select]
cls
set masm64_path=\masm44\
set filename=%~n1
if exist errors.txt del errors.txt

call :read_settings %filename%
@echo %kind_of_file%
goto %kind_of_file%
:CONSOLE
if exist %filename%.exe del %filename%.exe
if exist %filename%.obj del %filename%.obj
if exist errors.txt del errors.txt
%masm64_path%bin\ml64 /Cp /c /I"%masm64_path%Include" %filename%.asm >> errors.txt
if errorlevel 1 exit
if exist %1.rc (
%masm64_path%bin\RC /r /i"%masm64_path%\Include" %filename%.rc >> errors.txt
%masm64_path%bin\link /LIBPATH:"%masm64_path%Lib" ^
/LARGEADDRESSAWARE:NO /BASE:0x400000 /STUB:%masm64_path%bin\stubby.exe ^
/SECTION:.text,W /ALIGN:16 /entry:WinMain /MERGE:.rdata=.text ^
/fixed /nocoffgrpinfo %filename%.obj %filename%.res >> errors.txt
if exist %1.res del %1.res
) else (
%masm64_path%bin\link /SUBSYSTEM:CONSOLE /LIBPATH:"%masm64_path%Lib" ^
/entry:WinMain %filename%.obj /LARGEADDRESSAWARE:NO ^
/ALIGN:16 /SECTION:.text,W /BASE:0x400000 /STUB:%masm64_path%\bin\stubby.exe >> errors.txt
)
if errorlevel 1 exit
del %filename%.obj

goto exit1
:GUI
if exist %filename%.exe del %filename%.exe
if exist %filename%.obj del %filename%.obj
if exist errors.txt del errors.txt
%masm64_path%bin\ml64 /Cp /c /I"%masm64_path%Include" %filename%.asm >> errors.txt
if errorlevel 1 exit
if exist %1.rc (
%masm64_path%bin\RC /r /i"%masm64_path%\Include" %filename%.rc >> errors.txt
%masm64_path%bin\link /LIBPATH:"%masm64_path%Lib" ^
/LARGEADDRESSAWARE:NO /BASE:0x400000 /STUB:%masm64_path%bin\stubby.exe ^
/SECTION:.text,W /ALIGN:16 /entry:WinMain /MERGE:.rdata=.text ^
/fixed /nocoffgrpinfo %filename%.obj %filename%.res >> errors.txt
if exist %1.res del %1.res
) else (
%masm64_path%bin\link /SUBSYSTEM:WINDOWS /LIBPATH:"%masm64_path%Lib" ^
/LARGEADDRESSAWARE:NO /BASE:0x400000 /STUB:%masm64_path%bin\stubby.exe ^
/SECTION:.text,W /ALIGN:16 /entry:WinMain /MERGE:.rdata=.text ^
/fixed /nocoffgrpinfo %filename%.obj >> errors.txt
)
if errorlevel 1 exit
goto exit1
:DLL
if exist %filename%.dll del %filename%.dll
%masm64_path%bin\ml64 /c /Cp /I %masm64_path%include %filename%.asm >> errors.txt
if errorlevel 1 exit
if exist %1.rc (
%masm64_path%bin\RC /r  %filename%.rc >> errors.txt
if errorlevel 1 exit
%masm64_path%bin\link /SUBSYSTEM:WINDOWS /LIBPATH:%masm64_path%lib ^
/ENTRY:DllMain /DLL /DLL /section:.bss,S /stub:%masm64_path%bin\stubby.exe  ^
%filename%.obj %filename%.res /DEF:%filename%.def >> errors.txt
if exist %1.res del %1.res
) else (
%masm64_path%bin\link /SUBSYSTEM:WINDOWS /LIBPATH:%masm64_path%lib ^
/ENTRY:DllMain /DLL /DLL /section:.bss,S /stub:%masm64_path%bin\stubby.exe  ^
%filename%.obj /DEF:%filename%.def >> errors.txt
)
if errorlevel 1 exit
del %filename%.exp
:exit1
del %filename%.obj
del errors.txt
:: %filename%.exe
exit
:read_settings
for /f "eol=# tokens=2-3" %%A in (%filename%.asm) do (
set kind_of_file=%%A
if %%B == # exit /b )
exit /b
lib-files

Mikl__

  • Member
  • ****
  • Posts: 794
Re: Uncle Remus Tales
« Reply #122 on: January 18, 2020, 02:49:48 AM »
include-files

learn64bit

  • Regular Member
  • *
  • Posts: 3
Re: Uncle Remus Tales
« Reply #123 on: January 18, 2020, 06:13:44 PM »
I don't have the 'stubby.exe' file....
Sir, can you upload your 'masm64_path' folder.
Your masm64 examples are great. Which makes learning about and exploring masm64 programming very easy.

Mikl__

  • Member
  • ****
  • Posts: 794
Re: Uncle Remus Tales
« Reply #124 on: January 18, 2020, 10:36:04 PM »
part 1-st

Mikl__

  • Member
  • ****
  • Posts: 794
Re: Uncle Remus Tales
« Reply #125 on: January 18, 2020, 10:38:26 PM »
part 3-rd

Mikl__

  • Member
  • ****
  • Posts: 794
Re: Uncle Remus Tales
« Reply #126 on: January 18, 2020, 10:41:33 PM »
part 2-nd

Mikl__

  • Member
  • ****
  • Posts: 794
Re: Uncle Remus Tales
« Reply #127 on: January 18, 2020, 10:44:46 PM »
part 4-th
rename files to bin.zip.001, bin.zip.002, bin.zip.003, bin.zip.004  place in one directory and unzip
https://wasm.in/threads/skazki-djadjushki-rimusa.31832/

jj2007

  • Member
  • *****
  • Posts: 10026
  • Assembler is fun ;-)
    • MasmBasic
Re: Uncle Remus Tales
« Reply #128 on: January 18, 2020, 11:00:05 PM »
Hi Mikl,
Google translated your Russian thread for me, with some glitches but still with remarkable quality. Compliments for your great work :thumbsup:

Mikl__

  • Member
  • ****
  • Posts: 794
Re: Uncle Remus Tales
« Reply #129 on: January 18, 2020, 11:04:44 PM »
grazie mille signore jj2007

AW

  • Member
  • *****
  • Posts: 2550
  • Let's Make ASM Great Again!
Re: Uncle Remus Tales
« Reply #130 on: January 18, 2020, 11:09:45 PM »

Mikl__

  • Member
  • ****
  • Posts: 794
Re: Uncle Remus Tales
« Reply #131 on: January 18, 2020, 11:25:54 PM »
Hi, AW!
"Famous Russian writer" is Joel Chandler Harris (December 9, 1848 - July 3, 1908). He was an American journalist, fiction writer, and folklorist best known for his collection of Uncle Remus stories.

Walt Disney's "Song of the South" (1946), a combination of live action and animation with James Baskett as Remus

Splash Mountain is a long flume at Disneyland, Tokyo Disneyland, and the Magic Kingdom at the Walt Disney World Resort, based on the characters, stories, and songs from the film "Song of the South". Each installation begins with a peaceful outdoor float-through that leads to indoor dark ride segments, with a climactic steep drop into a "briar patch" followed by an indoor finale. The drop is 50 feet.

The plot behind Splash Mountain is a composite of several Uncle Remus stories. Each ride presents scenes taken from the animated segments of "Song of the South", telling the story of Br'er Rabbit.
« Last Edit: January 19, 2020, 02:22:55 AM by Mikl__ »

learn64bit

  • Regular Member
  • *
  • Posts: 3
Re: Uncle Remus Tales
« Reply #132 on: January 18, 2020, 11:36:01 PM »
Great! I use 7-Zip to get bin.zip.

Mikl__

  • Member
  • ****
  • Posts: 794
Re: Uncle Remus Tales
« Reply #133 on: January 19, 2020, 12:08:09 AM »
Hi, learn64bit!

AW

  • Member
  • *****
  • Posts: 2550
  • Let's Make ASM Great Again!
Re: Uncle Remus Tales
« Reply #134 on: January 19, 2020, 05:53:15 AM »
Thank you for the explanation! I had never heard about those stories and I am not aware of the American culture in general. I always though Americans have no culture at all, but this is a stereotype.